summaryrefslogtreecommitdiffstats
path: root/ksysv/ksvconfigwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksysv/ksvconfigwizard.cpp')
-rw-r--r--ksysv/ksvconfigwizard.cpp22
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: