From aa3a1ca934bc541bddd3fa136a85f106f7da266e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:25:18 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksysv/ksvconfigwizard.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'ksysv/ksvconfigwizard.cpp') 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 +#include #include #include #include -#include +#include /* * 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 (which); - QString rlpath; QString spath; + TQString rlpath; TQString spath; switch (mChosenDistribution) { case Debian: -- cgit v1.2.1