summaryrefslogtreecommitdiffstats
path: root/styles/phase/config/phasestyleconfig.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
commitb5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch)
tree7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /styles/phase/config/phasestyleconfig.cpp
parent019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff)
downloadtdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.tar.gz
tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1157637 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'styles/phase/config/phasestyleconfig.cpp')
-rw-r--r--styles/phase/config/phasestyleconfig.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/styles/phase/config/phasestyleconfig.cpp b/styles/phase/config/phasestyleconfig.cpp
index 8543214c..4f7e200d 100644
--- a/styles/phase/config/phasestyleconfig.cpp
+++ b/styles/phase/config/phasestyleconfig.cpp
@@ -7,10 +7,10 @@
// Please see the header file for copyright and license information.
//////////////////////////////////////////////////////////////////////////////
-#include <qsettings.h>
-#include <qcheckbox.h>
-#include <qgroupbox.h>
-#include <qwhatsthis.h>
+#include <tqsettings.h>
+#include <tqcheckbox.h>
+#include <tqgroupbox.h>
+#include <tqwhatsthis.h>
#include <klocale.h>
#include <kglobal.h>
@@ -26,11 +26,11 @@
// ----------------
// Constructor
-PhaseStyleConfig::PhaseStyleConfig(QWidget* parent) : StyleDialog(parent)
+PhaseStyleConfig::PhaseStyleConfig(TQWidget* parent) : StyleDialog(parent)
{
KGlobal::locale()->insertCatalogue("kstyle_phase_config");
- QSettings settings;
+ TQSettings settings;
oldgradients =
settings.readBoolEntry("/phasestyle/Settings/gradients", true);
gradients->setChecked(oldgradients);
@@ -39,10 +39,10 @@ PhaseStyleConfig::PhaseStyleConfig(QWidget* parent) : StyleDialog(parent)
highlights->setChecked(oldhighlights);
// connections
- connect(gradients, SIGNAL(toggled(bool)),
- this, SLOT(updateChanged()));
- connect(highlights, SIGNAL(toggled(bool)),
- this, SLOT(updateChanged()));
+ connect(gradients, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SLOT(updateChanged()));
+ connect(highlights, TQT_SIGNAL(toggled(bool)),
+ this, TQT_SLOT(updateChanged()));
}
//////////////////////////////////////////////////////////////////////////////
@@ -79,7 +79,7 @@ void PhaseStyleConfig::updateChanged()
void PhaseStyleConfig::save()
{
- QSettings settings;
+ TQSettings settings;
settings.writeEntry("/phasestyle/Settings/gradients",
gradients->isChecked());
settings.writeEntry("/phasestyle/Settings/highlights",
@@ -103,7 +103,7 @@ void PhaseStyleConfig::defaults()
extern "C"
{
- KDE_EXPORT QObject* allocate_kstyle_config(QWidget* parent) {
+ KDE_EXPORT TQObject* allocate_kstyle_config(TQWidget* parent) {
return(new PhaseStyleConfig(parent));
}
}