From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/style/keramik/keramikconf.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kcontrol/style/keramik/keramikconf.cpp') 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 -#include -#include +#include +#include +#include #include #include #include @@ -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()); -- cgit v1.2.3