summaryrefslogtreecommitdiffstats
path: root/kcontrol/style/keramik/keramikconf.cpp
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 /kcontrol/style/keramik/keramikconf.cpp
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 'kcontrol/style/keramik/keramikconf.cpp')
-rw-r--r--kcontrol/style/keramik/keramikconf.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kcontrol/style/keramik/keramikconf.cpp b/kcontrol/style/keramik/keramikconf.cpp
index 28e0ce424..0350ab969 100644
--- a/kcontrol/style/keramik/keramikconf.cpp
+++ b/kcontrol/style/keramik/keramikconf.cpp
@@ -21,9 +21,9 @@ DEALINGS IN THE SOFTWARE.
*/
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qsettings.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqsettings.h>
#include <kdialog.h>
#include <kglobal.h>
#include <klocale.h>
@@ -32,28 +32,28 @@ DEALINGS IN THE SOFTWARE.
extern "C"
{
- KDE_EXPORT QWidget* allocate_kstyle_config(QWidget* parent)
+ KDE_EXPORT TQWidget* allocate_kstyle_config(TQWidget* parent)
{
return new KeramikStyleConfig(parent);
}
}
-KeramikStyleConfig::KeramikStyleConfig(QWidget* parent): QWidget(parent)
+KeramikStyleConfig::KeramikStyleConfig(TQWidget* parent): TQWidget(parent)
{
//Should have no margins here, the dialog provides them
- QVBoxLayout* layout = new QVBoxLayout(this, 0, 0);
+ TQVBoxLayout* layout = new TQVBoxLayout(this, 0, 0);
KGlobal::locale()->insertCatalogue("kstyle_keramik_config");
- //highlightLineEdits = new QCheckBox(i18n("Highlight active lineedits"), this);
- highlightScrollBar = new QCheckBox(i18n("Highlight scroll bar handles"), this);
- animateProgressBar = new QCheckBox(i18n("Animate progress bars"), this);
+ //highlightLineEdits = new TQCheckBox(i18n("Highlight active lineedits"), this);
+ highlightScrollBar = new TQCheckBox(i18n("Highlight scroll bar handles"), this);
+ animateProgressBar = new TQCheckBox(i18n("Animate progress bars"), this);
//layout->add(highlightLineEdits);
layout->add(highlightScrollBar);
layout->add(animateProgressBar);
layout->addStretch(1);
- QSettings s;
+ TQSettings s;
//origHlLineEdit = s.readBoolEntry("/keramik/Settings/highlightLineEdits", false);
//highlightLineEdits->setChecked(origHlLineEdit);
@@ -63,9 +63,9 @@ KeramikStyleConfig::KeramikStyleConfig(QWidget* parent): QWidget(parent)
origAnimProgressBar = s.readBoolEntry("/keramik/Settings/animateProgressBar", false);
animateProgressBar->setChecked(origAnimProgressBar);
- //connect(highlightLineEdits, SIGNAL( toggled(bool) ), SLOT( updateChanged() ) );
- connect(highlightScrollBar, SIGNAL( toggled(bool) ), SLOT( updateChanged() ) );
- connect(animateProgressBar, SIGNAL( toggled(bool) ), SLOT( updateChanged() ) );
+ //connect(highlightLineEdits, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) );
+ connect(highlightScrollBar, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) );
+ connect(animateProgressBar, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( updateChanged() ) );
}
KeramikStyleConfig::~KeramikStyleConfig()
@@ -76,7 +76,7 @@ KeramikStyleConfig::~KeramikStyleConfig()
void KeramikStyleConfig::save()
{
- QSettings s;
+ TQSettings s;
//s.writeEntry("/keramik/Settings/highlightLineEdits", highlightLineEdits->isChecked());
s.writeEntry("/keramik/Settings/highlightScrollBar", highlightScrollBar->isChecked());
s.writeEntry("/keramik/Settings/animateProgressBar", animateProgressBar->isChecked());