summaryrefslogtreecommitdiffstats
path: root/wizards/sloxwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'wizards/sloxwizard.cpp')
-rw-r--r--wizards/sloxwizard.cpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/wizards/sloxwizard.cpp b/wizards/sloxwizard.cpp
index 8ac821dbc..5cfdd2bbf 100644
--- a/wizards/sloxwizard.cpp
+++ b/wizards/sloxwizard.cpp
@@ -31,14 +31,14 @@
#include <klineedit.h>
#include <klocale.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
-QString sloxUrl()
+TQString sloxUrl()
{
- QString url;
+ TQString url;
if ( SloxConfig::self()->useHttps() ) url = "https://";
else url = "http://";
@@ -122,8 +122,8 @@ class CreateSloxKabcResource : public KConfigPropagator::Change
m.readConfig();
KURL url( sloxUrl() );
- QString user( SloxConfig::self()->user() );
- QString password( SloxConfig::self()->password() );
+ TQString user( SloxConfig::self()->user() );
+ TQString password( SloxConfig::self()->password() );
KABC::ResourceSlox *r = new KABC::ResourceSlox( url, user, password );
r->setResourceName( i18n("Openexchange Server") );
@@ -221,31 +221,31 @@ class SloxPropagator : public KConfigPropagator
SloxWizard::SloxWizard() : KConfigWizard( new SloxPropagator )
{
- QFrame *page = createWizardPage( i18n("SUSE LINUX OpenExchange Server") );
+ TQFrame *page = createWizardPage( i18n("SUSE LINUX OpenExchange Server") );
- QGridLayout *topLayout = new QGridLayout( page );
+ TQGridLayout *topLayout = new TQGridLayout( page );
topLayout->setSpacing( spacingHint() );
- QLabel *label = new QLabel( i18n("Server name:"), page );
+ TQLabel *label = new TQLabel( i18n("Server name:"), page );
topLayout->addWidget( label, 0, 0 );
mServerEdit = new KLineEdit( page );
topLayout->addWidget( mServerEdit, 0, 1 );
- label = new QLabel( i18n("User name:"), page );
+ label = new TQLabel( i18n("User name:"), page );
topLayout->addWidget( label, 1, 0 );
mUserEdit = new KLineEdit( page );
topLayout->addWidget( mUserEdit, 1, 1 );
- label = new QLabel( i18n("Password:"), page );
+ label = new TQLabel( i18n("Password:"), page );
topLayout->addWidget( label, 2, 0 );
mPasswordEdit = new KLineEdit( page );
mPasswordEdit->setEchoMode( KLineEdit::Password );
topLayout->addWidget( mPasswordEdit, 2, 1 );
- mSavePasswordCheck = new QCheckBox( i18n("Save password"), page );
+ mSavePasswordCheck = new TQCheckBox( i18n("Save password"), page );
topLayout->addMultiCellWidget( mSavePasswordCheck, 3, 3, 0, 1 );
- mSecureCheck = new QCheckBox( i18n("Encrypt communication with server"),
+ mSecureCheck = new TQCheckBox( i18n("Encrypt communication with server"),
page );
topLayout->addMultiCellWidget( mSecureCheck, 4, 4, 0, 1 );
@@ -261,7 +261,7 @@ SloxWizard::~SloxWizard()
{
}
-QString SloxWizard::validate()
+TQString SloxWizard::validate()
{
KURL server( mServerEdit->text() );
if ( !server.protocol().isEmpty() ||
@@ -269,7 +269,7 @@ QString SloxWizard::validate()
mUserEdit->text().isEmpty() ||
mPasswordEdit->text().isEmpty() )
return i18n( "Please fill in all fields." );
- return QString::null;
+ return TQString::null;
}
void SloxWizard::usrReadConfig()