summaryrefslogtreecommitdiffstats
path: root/kwin/clients/default/config
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kwin/clients/default/config
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/clients/default/config')
-rw-r--r--kwin/clients/default/config/config.cpp42
-rw-r--r--kwin/clients/default/config/config.h20
2 files changed, 31 insertions, 31 deletions
diff --git a/kwin/clients/default/config/config.cpp b/kwin/clients/default/config/config.cpp
index 2ad494fa9..c98fb1366 100644
--- a/kwin/clients/default/config/config.cpp
+++ b/kwin/clients/default/config/config.cpp
@@ -9,15 +9,15 @@
#include "config.h"
#include <kglobal.h>
-#include <qwhatsthis.h>
+#include <tqwhatsthis.h>
#include <kdialog.h>
#include <klocale.h>
-#include <qpixmap.h>
-#include <qvbox.h>
+#include <tqpixmap.h>
+#include <tqvbox.h>
extern "C"
{
- KDE_EXPORT QObject* allocate_config( KConfig* conf, QWidget* parent )
+ KDE_EXPORT TQObject* allocate_config( KConfig* conf, TQWidget* parent )
{
return(new KDEDefaultConfig(conf, parent));
}
@@ -26,33 +26,33 @@ extern "C"
// NOTE:
// 'conf' is a pointer to the kwindecoration modules open kwin config,
// and is by default set to the "Style" group.
-// 'parent' is the parent of the QObject, which is a VBox inside the
+// 'parent' is the parent of the TQObject, which is a VBox inside the
// Configure tab in kwindecoration
-KDEDefaultConfig::KDEDefaultConfig( KConfig* conf, QWidget* parent )
- : QObject( parent )
+KDEDefaultConfig::KDEDefaultConfig( KConfig* conf, TQWidget* parent )
+ : TQObject( parent )
{
KGlobal::locale()->insertCatalogue("kwin_clients");
- highcolor = QPixmap::defaultDepth() > 8;
- gb = new QVBox( parent );
+ highcolor = TQPixmap::defaultDepth() > 8;
+ gb = new TQVBox( parent );
gb->setSpacing( KDialog::spacingHint() );
- cbShowStipple = new QCheckBox( i18n("Draw titlebar &stipple effect"), gb );
- QWhatsThis::add( cbShowStipple,
+ cbShowStipple = new TQCheckBox( i18n("Draw titlebar &stipple effect"), gb );
+ TQWhatsThis::add( cbShowStipple,
i18n("When selected, active titlebars are drawn "
"with a stipple (dotted) effect; otherwise, they are "
"drawn without the stipple."));
- cbShowGrabBar = new QCheckBox( i18n("Draw g&rab bar below windows"), gb );
- QWhatsThis::add( cbShowGrabBar,
+ cbShowGrabBar = new TQCheckBox( i18n("Draw g&rab bar below windows"), gb );
+ TQWhatsThis::add( cbShowGrabBar,
i18n("When selected, decorations are drawn with a \"grab bar\" "
"below windows; otherwise, no grab bar is drawn."));
// Only show the gradient checkbox for highcolor displays
if (highcolor)
{
- cbUseGradients = new QCheckBox( i18n("Draw &gradients"), gb );
- QWhatsThis::add( cbUseGradients,
+ cbUseGradients = new TQCheckBox( i18n("Draw &gradients"), gb );
+ TQWhatsThis::add( cbUseGradients,
i18n("When selected, decorations are drawn with gradients "
"for high-color displays; otherwise, no gradients are drawn.") );
}
@@ -61,13 +61,13 @@ KDEDefaultConfig::KDEDefaultConfig( KConfig* conf, QWidget* parent )
load( conf );
// Ensure we track user changes properly
- connect( cbShowStipple, SIGNAL(clicked()),
- this, SLOT(slotSelectionChanged()) );
- connect( cbShowGrabBar, SIGNAL(clicked()),
- this, SLOT(slotSelectionChanged()) );
+ connect( cbShowStipple, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(slotSelectionChanged()) );
+ connect( cbShowGrabBar, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(slotSelectionChanged()) );
if (highcolor)
- connect( cbUseGradients, SIGNAL(clicked()),
- this, SLOT(slotSelectionChanged()) );
+ connect( cbUseGradients, TQT_SIGNAL(clicked()),
+ this, TQT_SLOT(slotSelectionChanged()) );
// Make the widgets visible in kwindecoration
gb->show();
diff --git a/kwin/clients/default/config/config.h b/kwin/clients/default/config/config.h
index 248d851df..5857910b1 100644
--- a/kwin/clients/default/config/config.h
+++ b/kwin/clients/default/config/config.h
@@ -10,19 +10,19 @@
#ifndef _KDE_DEFAULT_CONFIG_H
#define _KDE_DEFAULT_CONFIG_H
-#include <qcheckbox.h>
-#include <qgroupbox.h>
+#include <tqcheckbox.h>
+#include <tqgroupbox.h>
#include <kconfig.h>
-#include <qhbox.h>
-#include <qlabel.h>
-#include <qvbox.h>
+#include <tqhbox.h>
+#include <tqlabel.h>
+#include <tqvbox.h>
class KDEDefaultConfig: public QObject
{
Q_OBJECT
public:
- KDEDefaultConfig( KConfig* conf, QWidget* parent );
+ KDEDefaultConfig( KConfig* conf, TQWidget* parent );
~KDEDefaultConfig();
// These public signals/slots work similar to KCM modules
@@ -38,10 +38,10 @@ class KDEDefaultConfig: public QObject
void slotSelectionChanged(); // Internal use
private:
- QCheckBox* cbShowStipple;
- QCheckBox* cbShowGrabBar;
- QCheckBox* cbUseGradients;
- QVBox* gb;
+ TQCheckBox* cbShowStipple;
+ TQCheckBox* cbShowGrabBar;
+ TQCheckBox* cbUseGradients;
+ TQVBox* gb;
bool highcolor;
};