diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
commit | aa3a1ca934bc541bddd3fa136a85f106f7da266e (patch) | |
tree | 9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /ksysv/ksvconfigwizard.cpp | |
parent | b10cf7066791a2f362495890cd50c984e8025412 (diff) | |
download | tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksysv/ksvconfigwizard.cpp')
-rw-r--r-- | ksysv/ksvconfigwizard.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/ksysv/ksvconfigwizard.cpp b/ksysv/ksvconfigwizard.cpp index 6a197cb..acbdb04 100644 --- a/ksysv/ksvconfigwizard.cpp +++ b/ksysv/ksvconfigwizard.cpp @@ -25,12 +25,12 @@ */ #include "ksvconfigwizard.h" -#include <qlayout.h> +#include <tqlayout.h> #include <kdialog.h> #include <kfiledialog.h> #include <klineedit.h> -#include <qpushbutton.h> +#include <tqpushbutton.h> /* * Constructs a KSVConfigWizard which is a child of 'parent', with the @@ -39,7 +39,7 @@ * The wizard will by default be modeless, unless you set 'modal' to * TRUE to construct a modal wizard. */ -KSVConfigWizard::KSVConfigWizard (QWidget* parent, const char* name, bool modal, WFlags fl) +KSVConfigWizard::KSVConfigWizard (TQWidget* parent, const char* name, bool modal, WFlags fl) : ConfigWizard (parent, name, modal, fl), mChosenDistribution (Debian) { @@ -55,8 +55,8 @@ KSVConfigWizard::KSVConfigWizard (QWidget* parent, const char* name, bool modal, setFinishEnabled (mFinishedPage, true); // some connections - connect (this, SIGNAL (selected (const QString&)), - this, SLOT (selectedPage (const QString&))); + connect (this, TQT_SIGNAL (selected (const TQString&)), + this, TQT_SLOT (selectedPage (const TQString&))); // hide cancel-button cancelButton()->hide(); @@ -72,7 +72,7 @@ KSVConfigWizard::~KSVConfigWizard() void KSVConfigWizard::browseServices() { - QString path = KFileDialog::getExistingDirectory(mServicesPath->text(), this); + TQString path = KFileDialog::getExistingDirectory(mServicesPath->text(), this); if (!path.isEmpty()) mServicesPath->setText(path); @@ -82,7 +82,7 @@ void KSVConfigWizard::browseServices() void KSVConfigWizard::browseRunlevels() { - QString path = KFileDialog::getExistingDirectory(mRunlevelPath->text(), this); + TQString path = KFileDialog::getExistingDirectory(mRunlevelPath->text(), this); if (!path.isEmpty()) mRunlevelPath->setText(path); @@ -90,7 +90,7 @@ void KSVConfigWizard::browseRunlevels() mRunlevelPath->setFocus(); } -void KSVConfigWizard::selectedPage (const QString& title) +void KSVConfigWizard::selectedPage (const TQString& title) { if (title == "Configuration Complete") finishButton()->setDefault (true); @@ -98,12 +98,12 @@ void KSVConfigWizard::selectedPage (const QString& title) nextButton()->setDefault (true); } -QString KSVConfigWizard::runlevelPath () +TQString KSVConfigWizard::runlevelPath () { return mRunlevelPath->text(); } -QString KSVConfigWizard::servicesPath () +TQString KSVConfigWizard::servicesPath () { return mServicesPath->text(); } @@ -112,7 +112,7 @@ void KSVConfigWizard::chooseDistribution(int which) { mChosenDistribution = static_cast<Distribution> (which); - QString rlpath; QString spath; + TQString rlpath; TQString spath; switch (mChosenDistribution) { case Debian: |