diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kicker/advancedDialog.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-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/kicker/advancedDialog.cpp')
-rw-r--r-- | kcontrol/kicker/advancedDialog.cpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/kcontrol/kicker/advancedDialog.cpp b/kcontrol/kicker/advancedDialog.cpp index 4605cbb09..372104c4a 100644 --- a/kcontrol/kicker/advancedDialog.cpp +++ b/kcontrol/kicker/advancedDialog.cpp @@ -17,12 +17,12 @@ * along with this program; if not, write to the Free Software */ -#include <qbuttongroup.h> -#include <qcheckbox.h> -#include <qlayout.h> -#include <qpushbutton.h> -#include <qradiobutton.h> -#include <qslider.h> +#include <tqbuttongroup.h> +#include <tqcheckbox.h> +#include <tqlayout.h> +#include <tqpushbutton.h> +#include <tqradiobutton.h> +#include <tqslider.h> #include <kcolorbutton.h> #include <klocale.h> @@ -31,7 +31,7 @@ #include "advancedOptions.h" #include "main.h" -advancedDialog::advancedDialog(QWidget* parent, const char* name) +advancedDialog::advancedDialog(TQWidget* parent, const char* name) : KDialogBase(KDialogBase::Plain, i18n("Advanced Options"), Ok|Apply|Cancel, @@ -40,29 +40,29 @@ advancedDialog::advancedDialog(QWidget* parent, const char* name) name, false, false) { - connect(this, SIGNAL(applyClicked()), - this, SLOT(save())); - connect(this, SIGNAL(okClicked()), - this, SLOT(save())); + connect(this, TQT_SIGNAL(applyClicked()), + this, TQT_SLOT(save())); + connect(this, TQT_SIGNAL(okClicked()), + this, TQT_SLOT(save())); - QFrame* page = plainPage(); - QVBoxLayout* layout = new QVBoxLayout(page); + TQFrame* page = plainPage(); + TQVBoxLayout* layout = new TQVBoxLayout(page); m_advancedWidget = new advancedKickerOptions(page); layout->addWidget(m_advancedWidget); layout->addStretch(); setMinimumSize( sizeHint() ); - connect(m_advancedWidget->handles, SIGNAL(clicked(int)), - this, SLOT(changed())); - connect(m_advancedWidget->hideButtonSize, SIGNAL(valueChanged(int)), - this, SLOT(changed())); - connect(m_advancedWidget->tintColorB, SIGNAL(clicked()), - this, SLOT(changed())); - connect(m_advancedWidget->tintSlider, SIGNAL(valueChanged(int)), - this, SLOT(changed())); - connect(m_advancedWidget->menubarPanelTransparent, SIGNAL(clicked()), - this, SLOT(changed())); + connect(m_advancedWidget->handles, TQT_SIGNAL(clicked(int)), + this, TQT_SLOT(changed())); + connect(m_advancedWidget->hideButtonSize, TQT_SIGNAL(valueChanged(int)), + this, TQT_SLOT(changed())); + connect(m_advancedWidget->tintColorB, TQT_SIGNAL(clicked()), + this, TQT_SLOT(changed())); + connect(m_advancedWidget->tintSlider, TQT_SIGNAL(valueChanged(int)), + this, TQT_SLOT(changed())); + connect(m_advancedWidget->menubarPanelTransparent, TQT_SIGNAL(clicked()), + this, TQT_SLOT(changed())); load(); } @@ -86,7 +86,7 @@ void advancedDialog::load() int defaultHideButtonSize = c.readNumEntry("HideButtonSize", 14); m_advancedWidget->hideButtonSize->setValue(defaultHideButtonSize); - QColor color = c.readColorEntry( "TintColor", &colorGroup().mid() ); + TQColor color = c.readColorEntry( "TintColor", &colorGroup().mid() ); m_advancedWidget->tintColorB->setColor( color ); int tintValue = c.readNumEntry( "TintValue", 33 ); m_advancedWidget->tintSlider->setValue( tintValue ); @@ -115,11 +115,11 @@ void advancedDialog::save() c.writeEntry("MenubarPanelTransparent", m_advancedWidget->menubarPanelTransparent->isChecked()); - QStringList elist = c.readListEntry("Extensions2"); - for (QStringList::Iterator it = elist.begin(); it != elist.end(); ++it) + TQStringList elist = c.readListEntry("Extensions2"); + for (TQStringList::Iterator it = elist.begin(); it != elist.end(); ++it) { // extension id - QString group(*it); + TQString group(*it); // is there a config group for this extension? if(!c.hasGroup(group) || |