summaryrefslogtreecommitdiffstats
path: root/wizards
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /wizards
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'wizards')
-rw-r--r--wizards/egroupwarewizard.cpp48
-rw-r--r--wizards/egroupwarewizard.h4
-rw-r--r--wizards/exchangewizard.cpp30
-rw-r--r--wizards/exchangewizard.h6
-rw-r--r--wizards/groupwarewizard.cpp14
-rw-r--r--wizards/groupwarewizard.h4
-rw-r--r--wizards/groupwisewizard.cpp78
-rw-r--r--wizards/groupwisewizard.h16
-rw-r--r--wizards/kmailchanges.cpp42
-rw-r--r--wizards/kmailchanges.h38
-rw-r--r--wizards/kolabkmailchanges.cpp12
-rw-r--r--wizards/kolabwizard.cpp62
-rw-r--r--wizards/kolabwizard.h8
-rw-r--r--wizards/main.cpp2
-rw-r--r--wizards/overviewpage.cpp52
-rw-r--r--wizards/overviewpage.h4
-rw-r--r--wizards/scalixkmailchanges.cpp2
-rw-r--r--wizards/scalixwizard.cpp82
-rw-r--r--wizards/scalixwizard.h4
-rw-r--r--wizards/servertype.h26
-rw-r--r--wizards/servertypemanager.cpp12
-rw-r--r--wizards/servertypemanager.h14
-rw-r--r--wizards/sloxwizard.cpp32
-rw-r--r--wizards/sloxwizard.h6
24 files changed, 299 insertions, 299 deletions
diff --git a/wizards/egroupwarewizard.cpp b/wizards/egroupwarewizard.cpp
index 75898ead..dcf74944 100644
--- a/wizards/egroupwarewizard.cpp
+++ b/wizards/egroupwarewizard.cpp
@@ -34,13 +34,13 @@
#include <klocale.h>
#include <kmessagebox.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqwhatsthis.h>
-static QString createURL( const QString &server, bool useSSL, const QString &location )
+static TQString createURL( const TQString &server, bool useSSL, const TQString &location )
{
KURL url;
@@ -70,7 +70,7 @@ class CreateEGroupwareKabcResource : public KConfigPropagator::Change
KRES::Manager<KABC::Resource> manager( "contact" );
manager.readConfig();
- QString url = createURL( EGroupwareConfig::self()->server(), EGroupwareConfig::self()->useSSLConnection(), EGroupwareConfig::self()->xmlrpc_location() );
+ TQString url = createURL( EGroupwareConfig::self()->server(), EGroupwareConfig::self()->useSSLConnection(), EGroupwareConfig::self()->xmlrpc_location() );
KABC::ResourceXMLRPC *resource = new KABC::ResourceXMLRPC( url, EGroupwareConfig::self()->domain(),
EGroupwareConfig::self()->user(),
@@ -85,7 +85,7 @@ class CreateEGroupwareKabcResource : public KConfigPropagator::Change
class ChangeEGroupwareKabcResource : public KConfigPropagator::Change
{
public:
- ChangeEGroupwareKabcResource( const QString &identifier )
+ ChangeEGroupwareKabcResource( const TQString &identifier )
: KConfigPropagator::Change( i18n("Create eGroupware Addressbook Resource") ),
mIdentifier( identifier )
{
@@ -117,7 +117,7 @@ class ChangeEGroupwareKabcResource : public KConfigPropagator::Change
}
private:
- QString mIdentifier;
+ TQString mIdentifier;
};
class CreateEGroupwareKcalResource : public KConfigPropagator::Change
@@ -149,7 +149,7 @@ class CreateEGroupwareKcalResource : public KConfigPropagator::Change
class ChangeEGroupwareKcalResource : public KConfigPropagator::Change
{
public:
- ChangeEGroupwareKcalResource( const QString &identifier )
+ ChangeEGroupwareKcalResource( const TQString &identifier )
: KConfigPropagator::Change( i18n( "Create eGroupware Calendar Resource" ) ),
mIdentifier( identifier )
{
@@ -181,7 +181,7 @@ class ChangeEGroupwareKcalResource : public KConfigPropagator::Change
}
private:
- QString mIdentifier;
+ TQString mIdentifier;
};
class CreateEGroupwareKnotesResource : public KConfigPropagator::Change
@@ -199,7 +199,7 @@ class CreateEGroupwareKnotesResource : public KConfigPropagator::Change
KRES::Manager<ResourceNotes> manager( "notes" );
manager.readConfig();
- QString url = createURL( EGroupwareConfig::self()->server(), EGroupwareConfig::self()->useSSLConnection(), EGroupwareConfig::self()->xmlrpc_location() );
+ TQString url = createURL( EGroupwareConfig::self()->server(), EGroupwareConfig::self()->useSSLConnection(), EGroupwareConfig::self()->xmlrpc_location() );
KNotes::ResourceXMLRPC *resource = new KNotes::ResourceXMLRPC();
resource->setResourceName( i18n( "eGroupware" ) );
@@ -215,7 +215,7 @@ class CreateEGroupwareKnotesResource : public KConfigPropagator::Change
class ChangeEGroupwareKnotesResource : public KConfigPropagator::Change
{
public:
- ChangeEGroupwareKnotesResource( const QString &identifier )
+ ChangeEGroupwareKnotesResource( const TQString &identifier )
: KConfigPropagator::Change( i18n("Create eGroupware Notes Resource") ),
mIdentifier( identifier )
{
@@ -247,7 +247,7 @@ class ChangeEGroupwareKnotesResource : public KConfigPropagator::Change
}
private:
- QString mIdentifier;
+ TQString mIdentifier;
};
class EGroupwarePropagator : public KConfigPropagator
@@ -301,45 +301,45 @@ class EGroupwarePropagator : public KConfigPropagator
EGroupwareWizard::EGroupwareWizard() : KConfigWizard( new EGroupwarePropagator )
{
- QFrame *page = createWizardPage( i18n( "eGroupware Server" ) );
+ TQFrame *page = createWizardPage( i18n( "eGroupware 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 );
label->setBuddy( mServerEdit );
topLayout->addWidget( mServerEdit, 0, 1 );
- label = new QLabel( i18n( "&Domain name:" ), page );
+ label = new TQLabel( i18n( "&Domain name:" ), page );
topLayout->addWidget( label, 1, 0 );
mDomainEdit = new KLineEdit( page );
label->setBuddy( mDomainEdit );
topLayout->addWidget( mDomainEdit, 1, 1 );
- label = new QLabel( i18n( "&Username:" ), page );
+ label = new TQLabel( i18n( "&Username:" ), page );
topLayout->addWidget( label, 2, 0 );
mUserEdit = new KLineEdit( page );
label->setBuddy( mUserEdit );
topLayout->addWidget( mUserEdit, 2, 1 );
- label = new QLabel( i18n( "&Password:" ), page );
+ label = new TQLabel( i18n( "&Password:" ), page );
topLayout->addWidget( label, 3, 0 );
mPasswordEdit = new KLineEdit( page );
mPasswordEdit->setEchoMode( KLineEdit::Password );
label->setBuddy( mPasswordEdit );
topLayout->addWidget( mPasswordEdit, 3, 1 );
- label = new QLabel( i18n( "&Location xmlrpc.php on server:" ), page );
+ label = new TQLabel( i18n( "&Location xmlrpc.php on server:" ), page );
topLayout->addWidget( label, 4, 0 );
mXMLRPC = new KLineEdit( page );
mXMLRPC->setMinimumWidth( 175 );
label->setBuddy( mXMLRPC );
topLayout->addWidget( mXMLRPC, 4, 1 );
- QWhatsThis::add( label, i18n( "Some servers may not have the xmlrpc.php file in the 'egroupware' folder of the server. With this option it is possible to eventually change the path to that file. For most servers, the default value is OK." ) );
+ TQWhatsThis::add( label, i18n( "Some servers may not have the xmlrpc.php file in the 'egroupware' folder of the server. With this option it is possible to eventually change the path to that file. For most servers, the default value is OK." ) );
- mUseSSLConnectionCheck = new QCheckBox( i18n( "Use SS&L connection" ), page );
+ mUseSSLConnectionCheck = new TQCheckBox( i18n( "Use SS&L connection" ), page );
topLayout->addMultiCellWidget( mUseSSLConnectionCheck, 5, 5, 0, 1 );
topLayout->setRowStretch( 6, 1 );
@@ -354,7 +354,7 @@ EGroupwareWizard::~EGroupwareWizard()
{
}
-QString EGroupwareWizard::validate()
+TQString EGroupwareWizard::validate()
{
if( !mXMLRPC->text().endsWith( "xmlrpc.php" ) )
return i18n( "Invalid path to xmlrpc.php entered." );
@@ -366,7 +366,7 @@ QString EGroupwareWizard::validate()
mXMLRPC->text().isEmpty() )
return i18n( "Please fill in all fields." );
- return QString::null;
+ return TQString::null;
}
void EGroupwareWizard::usrReadConfig()
diff --git a/wizards/egroupwarewizard.h b/wizards/egroupwarewizard.h
index f2eee119..c6df0073 100644
--- a/wizards/egroupwarewizard.h
+++ b/wizards/egroupwarewizard.h
@@ -33,7 +33,7 @@ class KDE_EXPORT EGroupwareWizard : public KConfigWizard
EGroupwareWizard();
~EGroupwareWizard();
- QString validate();
+ TQString validate();
void usrReadConfig();
void usrWriteConfig();
@@ -44,7 +44,7 @@ class KDE_EXPORT EGroupwareWizard : public KConfigWizard
KLineEdit *mUserEdit;
KLineEdit *mPasswordEdit;
KLineEdit *mXMLRPC;
- QCheckBox *mUseSSLConnectionCheck;
+ TQCheckBox *mUseSSLConnectionCheck;
};
#endif
diff --git a/wizards/exchangewizard.cpp b/wizards/exchangewizard.cpp
index e95480c1..d4aae80a 100644
--- a/wizards/exchangewizard.cpp
+++ b/wizards/exchangewizard.cpp
@@ -30,10 +30,10 @@
#include <klineedit.h>
#include <klocale.h>
-#include <qlayout.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qspinbox.h>
+#include <tqlayout.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqspinbox.h>
#if 0
@@ -122,8 +122,8 @@ class CreateExchangeKabcResource : public KConfigPropagator::Change
m.readConfig();
KURL url( exchangeUrl() );
- QString user( ExchangeConfig::self()->user() );
- QString password( ExchangeConfig::self()->password() );
+ TQString user( ExchangeConfig::self()->user() );
+ TQString password( ExchangeConfig::self()->password() );
KABC::ResourceExchange *r = new KABC::ResourceExchange( url, user, password );
r->setResourceName( i18n("Exchange Server") );
@@ -225,35 +225,35 @@ class ExchangePropagator : public KConfigPropagator
ExchangeWizard::ExchangeWizard() : KConfigWizard( new ExchangePropagator )
{
- QFrame *page = createWizardPage( i18n("Microsoft Exchange Server") );
- QGridLayout *topLayout = new QGridLayout( page );
+ TQFrame *page = createWizardPage( i18n("Microsoft Exchange Server") );
+ 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("Port:"), page );
+ label = new TQLabel( i18n("Port:"), page );
topLayout->addWidget( label, 1, 0 );
- mPortEdit = new QSpinBox( 1, 65536, 1, page );
+ mPortEdit = new TQSpinBox( 1, 65536, 1, page );
topLayout->addWidget( mPortEdit, 1, 1 );
- label = new QLabel( i18n("User name:"), page );
+ label = new TQLabel( i18n("User name:"), page );
topLayout->addWidget( label, 2, 0 );
mUserEdit = new KLineEdit( page );
topLayout->addWidget( mUserEdit, 2, 1 );
- label = new QLabel( i18n("Password:"), page );
+ label = new TQLabel( i18n("Password:"), page );
topLayout->addWidget( label, 3, 0 );
mPasswordEdit = new KLineEdit( page );
mPasswordEdit->setEchoMode( KLineEdit::Password );
topLayout->addWidget( mPasswordEdit, 3, 1 );
- mSavePasswordCheck = new QCheckBox( i18n("Save password"), page );
+ mSavePasswordCheck = new TQCheckBox( i18n("Save password"), page );
topLayout->addMultiCellWidget( mSavePasswordCheck, 4, 4, 0, 1 );
- mSecureCheck = new QCheckBox( i18n("Encrypt communication with server"),
+ mSecureCheck = new TQCheckBox( i18n("Encrypt communication with server"),
page );
topLayout->addMultiCellWidget( mSecureCheck, 5, 5, 0, 1 );
diff --git a/wizards/exchangewizard.h b/wizards/exchangewizard.h
index 86dca9fc..7336b9e9 100644
--- a/wizards/exchangewizard.h
+++ b/wizards/exchangewizard.h
@@ -38,11 +38,11 @@ class KDE_EXPORT ExchangeWizard : public KConfigWizard
private:
KLineEdit *mServerEdit;
- QSpinBox *mPortEdit;
+ TQSpinBox *mPortEdit;
KLineEdit *mUserEdit;
KLineEdit *mPasswordEdit;
- QCheckBox *mSavePasswordCheck;
- QCheckBox *mSecureCheck;
+ TQCheckBox *mSavePasswordCheck;
+ TQCheckBox *mSecureCheck;
};
#endif
diff --git a/wizards/groupwarewizard.cpp b/wizards/groupwarewizard.cpp
index 80e32327..d023a8d7 100644
--- a/wizards/groupwarewizard.cpp
+++ b/wizards/groupwarewizard.cpp
@@ -19,8 +19,8 @@
Boston, MA 02110-1301, USA.
*/
-#include <qapplication.h>
-#include <qlayout.h>
+#include <tqapplication.h>
+#include <tqlayout.h>
#include <klocale.h>
@@ -28,19 +28,19 @@
#include "groupwarewizard.h"
-GroupwareWizard::GroupwareWizard( QWidget *parent, const char *name )
- : QWidget( parent, name )
+GroupwareWizard::GroupwareWizard( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
setCaption( i18n( "KDE Groupware Wizard" ) );
- QVBoxLayout *layout = new QVBoxLayout( this );
+ TQVBoxLayout *layout = new TQVBoxLayout( this );
mOverViewPage = new OverViewPage( this );
layout->addWidget( mOverViewPage );
- connect( mOverViewPage, SIGNAL( cancel() ),
- qApp, SLOT( quit() ) );
+ connect( mOverViewPage, TQT_SIGNAL( cancel() ),
+ qApp, TQT_SLOT( quit() ) );
resize( 400, 200 );
}
diff --git a/wizards/groupwarewizard.h b/wizards/groupwarewizard.h
index bb944537..9a6c2588 100644
--- a/wizards/groupwarewizard.h
+++ b/wizards/groupwarewizard.h
@@ -22,7 +22,7 @@
#ifndef GROUPWAREWIZARD_H
#define GROUPWAREWIZARD_H
-#include <qwidget.h>
+#include <tqwidget.h>
class OverViewPage;
@@ -31,7 +31,7 @@ class GroupwareWizard : public QWidget
Q_OBJECT
public:
- GroupwareWizard( QWidget *parent, const char *name = 0 );
+ GroupwareWizard( TQWidget *parent, const char *name = 0 );
~GroupwareWizard();
private:
diff --git a/wizards/groupwisewizard.cpp b/wizards/groupwisewizard.cpp
index 6ddee372..0bddf3da 100644
--- a/wizards/groupwisewizard.cpp
+++ b/wizards/groupwisewizard.cpp
@@ -34,19 +34,19 @@
#include <klineedit.h>
#include <klocale.h>
-#include <qcheckbox.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qspinbox.h>
-#include <qgroupbox.h>
+#include <tqcheckbox.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqspinbox.h>
+#include <tqgroupbox.h>
-QString serverUrl()
+TQString serverUrl()
{
- QString url;
+ TQString url;
if ( GroupwiseConfig::self()->useHttps() ) url = "https";
else url = "http";
url += "://" + GroupwiseConfig::self()->host() + ":" +
- QString::number( GroupwiseConfig::self()->port() ) + GroupwiseConfig::self()->path();
+ TQString::number( GroupwiseConfig::self()->port() ) + GroupwiseConfig::self()->path();
return url;
}
@@ -122,14 +122,14 @@ class CreateGroupwiseKabcResource : public KConfigPropagator::Change
KRES::Manager<KABC::Resource> m( "contact" );
m.readConfig();
- QString url = serverUrl();
- QString user( GroupwiseConfig::self()->user() );
- QString password( GroupwiseConfig::self()->password() );
+ TQString url = serverUrl();
+ TQString user( GroupwiseConfig::self()->user() );
+ TQString password( GroupwiseConfig::self()->password() );
KABC::ResourceGroupwise *r = new KABC::ResourceGroupwise( url, user,
password,
- QStringList(),
- QString::null );
+ TQStringList(),
+ TQString::null );
r->setResourceName( i18n("GroupWise") );
m.add( r );
m.writeConfig();
@@ -248,7 +248,7 @@ class GroupwisePropagator : public KConfigPropagator
ca->setUser( GroupwiseConfig::user() );
ca->setPassword( GroupwiseConfig::password() );
ca->setRealName( GroupwiseConfig::fullName() );
- QString email = GroupwiseConfig::email();
+ TQString email = GroupwiseConfig::email();
if ( !email.isEmpty() ) ca->setEmail( email );
ca->enableSavePassword( true );
ca->enableSieve( false );
@@ -268,41 +268,41 @@ class GroupwisePropagator : public KConfigPropagator
GroupwiseWizard::GroupwiseWizard() : KConfigWizard( new GroupwisePropagator )
{
- QFrame *page = createWizardPage( i18n("Novell GroupWise") );
+ TQFrame *page = createWizardPage( i18n("Novell GroupWise") );
- 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("Path to SOAP interface:"), page );
+ label = new TQLabel( i18n("Path to SOAP interface:"), page );
topLayout->addWidget( label, 1, 0 );
mPathEdit = new KLineEdit( page );
topLayout->addWidget( mPathEdit, 1, 1 );
- label = new QLabel( i18n("Port:"), page );
+ label = new TQLabel( i18n("Port:"), page );
topLayout->addWidget( label, 2, 0 );
- mPortEdit = new QSpinBox( 1, 65536, 1, page );
+ mPortEdit = new TQSpinBox( 1, 65536, 1, page );
topLayout->addWidget( mPortEdit, 2, 1 );
- label = new QLabel( i18n("User name:"), page );
+ label = new TQLabel( i18n("User name:"), page );
topLayout->addWidget( label, 3, 0 );
mUserEdit = new KLineEdit( page );
topLayout->addWidget( mUserEdit, 3, 1 );
- label = new QLabel( i18n("Password:"), page );
+ label = new TQLabel( i18n("Password:"), page );
topLayout->addWidget( label, 4, 0 );
mPasswordEdit = new KLineEdit( page );
mPasswordEdit->setEchoMode( KLineEdit::Password );
topLayout->addWidget( mPasswordEdit, 4, 1 );
- mSavePasswordCheck = new QCheckBox( i18n("Save password"), page );
+ mSavePasswordCheck = new TQCheckBox( i18n("Save password"), page );
topLayout->addMultiCellWidget( mSavePasswordCheck, 5, 5, 0, 1 );
- mSecureCheck = new QCheckBox( i18n("Encrypt communication with server"),
+ mSecureCheck = new TQCheckBox( i18n("Encrypt communication with server"),
page );
topLayout->addMultiCellWidget( mSecureCheck, 5, 5, 0, 1 );
@@ -311,28 +311,28 @@ GroupwiseWizard::GroupwiseWizard() : KConfigWizard( new GroupwisePropagator )
mEmailPage = createWizardPage( i18n("Mail") );
- topLayout = new QGridLayout( mEmailPage );
+ topLayout = new TQGridLayout( mEmailPage );
topLayout->setSpacing( spacingHint() );
- mEmailBox = new QGroupBox( 1, Horizontal,
+ mEmailBox = new TQGroupBox( 1, Horizontal,
i18n("Create Mail Account"), mEmailPage );
mEmailBox->setCheckable( true );
topLayout->addWidget( mEmailBox, 0, 0 );
- mEmailWidget = new QWidget( mEmailBox );
- connect( mEmailBox, SIGNAL( toggled( bool ) ), mEmailWidget,
- SLOT( setEnabled( bool ) ) );
+ mEmailWidget = new TQWidget( mEmailBox );
+ connect( mEmailBox, TQT_SIGNAL( toggled( bool ) ), mEmailWidget,
+ TQT_SLOT( setEnabled( bool ) ) );
- QGridLayout *accountLayout= new QGridLayout( mEmailWidget );
+ TQGridLayout *accountLayout= new TQGridLayout( mEmailWidget );
accountLayout->setSpacing( spacingHint() );
- label = new QLabel( i18n("Email address:"), mEmailWidget );
+ label = new TQLabel( i18n("Email address:"), mEmailWidget );
accountLayout->addWidget( label, 0, 0 );
mEmailEdit = new KLineEdit( mEmailWidget );
accountLayout->addWidget( mEmailEdit, 0, 1 );
- label = new QLabel( i18n("Full name:"), mEmailWidget );
+ label = new TQLabel( i18n("Full name:"), mEmailWidget );
accountLayout->addWidget( label, 1, 0 );
mFullNameEdit = new KLineEdit( mEmailWidget );
@@ -340,8 +340,8 @@ GroupwiseWizard::GroupwiseWizard() : KConfigWizard( new GroupwisePropagator )
accountLayout->setRowStretch( 2, 1 );
- connect( this, SIGNAL( aboutToShowPage( QWidget * ) ),
- SLOT( slotAboutToShowPage( QWidget * ) ) );
+ connect( this, TQT_SIGNAL( aboutToShowPage( TQWidget * ) ),
+ TQT_SLOT( slotAboutToShowPage( TQWidget * ) ) );
setupRulesPage();
@@ -354,7 +354,7 @@ GroupwiseWizard::~GroupwiseWizard()
{
}
-QString GroupwiseWizard::validate()
+TQString GroupwiseWizard::validate()
{
if( mServerEdit->text().isEmpty() ||
mPathEdit->text().isEmpty() ||
@@ -370,7 +370,7 @@ QString GroupwiseWizard::validate()
return i18n( "Please fill in all fields." );
}
- return QString::null;
+ return TQString::null;
}
void GroupwiseWizard::usrReadConfig()
@@ -401,15 +401,15 @@ void GroupwiseWizard::usrWriteConfig()
GroupwiseConfig::setCreateEmailAccount( mEmailBox->isChecked() );
}
-void GroupwiseWizard::slotAboutToShowPage( QWidget *page )
+void GroupwiseWizard::slotAboutToShowPage( TQWidget *page )
{
if ( page == mEmailPage ) {
if ( mEmailEdit->text().isEmpty() ) {
- QString host = GroupwiseConfig::host();
+ TQString host = GroupwiseConfig::host();
int pos = host.findRev( "." );
if ( pos > 0 ) pos = host.findRev( ".", pos - 1 );
if ( pos > 0 ) host = host.mid( pos + 1 );
- QString email = GroupwiseConfig::user() + "@" + host;
+ TQString email = GroupwiseConfig::user() + "@" + host;
mEmailEdit->setText( email );
}
}
diff --git a/wizards/groupwisewizard.h b/wizards/groupwisewizard.h
index 5cf09f64..3e6b03dd 100644
--- a/wizards/groupwisewizard.h
+++ b/wizards/groupwisewizard.h
@@ -35,25 +35,25 @@ class KDE_EXPORT GroupwiseWizard : public KConfigWizard
GroupwiseWizard();
~GroupwiseWizard();
- QString validate();
+ TQString validate();
void usrReadConfig();
void usrWriteConfig();
protected slots:
- void slotAboutToShowPage( QWidget * );
+ void slotAboutToShowPage( TQWidget * );
private:
KLineEdit *mServerEdit;
KLineEdit *mPathEdit;
- QSpinBox *mPortEdit;
+ TQSpinBox *mPortEdit;
KLineEdit *mUserEdit;
KLineEdit *mPasswordEdit;
- QCheckBox *mSavePasswordCheck;
- QCheckBox *mSecureCheck;
+ TQCheckBox *mSavePasswordCheck;
+ TQCheckBox *mSecureCheck;
- QFrame *mEmailPage;
- QGroupBox *mEmailBox;
- QWidget *mEmailWidget;
+ TQFrame *mEmailPage;
+ TQGroupBox *mEmailBox;
+ TQWidget *mEmailWidget;
KLineEdit *mEmailEdit;
KLineEdit *mFullNameEdit;
};
diff --git a/wizards/kmailchanges.cpp b/wizards/kmailchanges.cpp
index 93c11195..ca2969a5 100644
--- a/wizards/kmailchanges.cpp
+++ b/wizards/kmailchanges.cpp
@@ -42,7 +42,7 @@ static const char* s_folderContentsType[] = {
Wallet* CreateImapAccount::mWallet = 0;
-CreateImapAccount::CreateImapAccount( const QString &accountName, const QString &title )
+CreateImapAccount::CreateImapAccount( const TQString &accountName, const TQString &title )
: KConfigPropagator::Change( title ),
mAccountName( accountName ), mPort( 993 ), mEnableSieve( false ), mEnableSavePassword( true ),
mEncryption( None ), mAuthentication( NONE ), mAuthenticationSend( PLAIN ), mSmtpPort( 25 ),
@@ -56,22 +56,22 @@ CreateImapAccount::~CreateImapAccount()
delete mCustomWriter;
}
-void CreateImapAccount::setServer( const QString &s )
+void CreateImapAccount::setServer( const TQString &s )
{
mServer = s;
}
-void CreateImapAccount::setUser( const QString &s )
+void CreateImapAccount::setUser( const TQString &s )
{
mUser = s;
}
-void CreateImapAccount::setPassword( const QString &s )
+void CreateImapAccount::setPassword( const TQString &s )
{
mPassword = s;
}
-void CreateImapAccount::setRealName( const QString &s )
+void CreateImapAccount::setRealName( const TQString &s )
{
mRealName = s;
}
@@ -81,7 +81,7 @@ void CreateImapAccount::setPort( int port )
mPort = port;
}
-void CreateImapAccount::setEmail( const QString &s )
+void CreateImapAccount::setEmail( const TQString &s )
{
mEmail = s;
}
@@ -91,7 +91,7 @@ void CreateImapAccount::enableSieve( bool b )
mEnableSieve = b;
}
-void CreateImapAccount::setSieveVacationFileName( const QString& f )
+void CreateImapAccount::setSieveVacationFileName( const TQString& f )
{
mSieveVacationFileName = f;
}
@@ -113,7 +113,7 @@ void CreateImapAccount::setAuthentication(
mAuthentication = a;
}
-void CreateImapAccount::setDefaultDomain(const QString &d)
+void CreateImapAccount::setDefaultDomain(const TQString &d)
{
mDefaultDomain = d;
}
@@ -146,7 +146,7 @@ void CreateImapAccount::setCustomWriter(
}
-CreateDisconnectedImapAccount::CreateDisconnectedImapAccount(const QString & accountName) :
+CreateDisconnectedImapAccount::CreateDisconnectedImapAccount(const TQString & accountName) :
CreateImapAccount( accountName, i18n("Create Disconnected IMAP Account for KMail") ),
mLocalSubscription( false ), mGroupwareType( GroupwareKolab )
{
@@ -176,7 +176,7 @@ void CreateDisconnectedImapAccount::apply()
transportId = mExistingTransportId;
}
- c.setGroup( QString("Account %1").arg( accountId ) );
+ c.setGroup( TQString("Account %1").arg( accountId ) );
int uid;
if ( mExistingAccountId < 0 ) {
uid = kapp->random();
@@ -240,7 +240,7 @@ void CreateDisconnectedImapAccount::apply()
}
- c.setGroup( QString("Folder-%1").arg( uid ) );
+ c.setGroup( TQString("Folder-%1").arg( uid ) );
c.writeEntry( "isOpen", true );
if ( mEnableSavePassword ) {
@@ -248,7 +248,7 @@ void CreateDisconnectedImapAccount::apply()
c.writeEntry( "store-passwd", true );
}
- c.setGroup( QString("Transport %1").arg( transportId ) );
+ c.setGroup( TQString("Transport %1").arg( transportId ) );
c.writeEntry( "name", mAccountName );
c.writeEntry( "host", mServer );
c.writeEntry( "type", "smtp" );
@@ -282,14 +282,14 @@ void CreateDisconnectedImapAccount::apply()
if ( !identityManager.allEmails().contains( mEmail ) ) {
// Not sure how to name the identity. First one is "Default", next one mAccountName, but then...
// let's use the server name after that.
- QString accountName = mAccountName;
- const QStringList identities = identityManager.identities();
+ TQString accountName = mAccountName;
+ const TQStringList identities = identityManager.identities();
if ( identities.find( accountName ) != identities.end() ) {
accountName = mServer;
int i = 2;
// And if there's already one, number them
while ( identities.find( accountName ) != identities.end() ) {
- accountName = mServer + " " + QString::number( i++ );
+ accountName = mServer + " " + TQString::number( i++ );
}
}
@@ -305,7 +305,7 @@ void CreateDisconnectedImapAccount::apply()
}
}
-CreateOnlineImapAccount::CreateOnlineImapAccount(const QString & accountName) :
+CreateOnlineImapAccount::CreateOnlineImapAccount(const TQString & accountName) :
CreateImapAccount( accountName, i18n("Create Online IMAP Account for KMail") )
{
}
@@ -317,7 +317,7 @@ void CreateOnlineImapAccount::apply()
uint accCnt = c.readNumEntry( "accounts", 0 );
c.writeEntry( "accounts", accCnt+1 );
- c.setGroup( QString("Account %1").arg(accCnt+1) );
+ c.setGroup( TQString("Account %1").arg(accCnt+1) );
int uid = kapp->random();
c.writeEntry( "Folder", uid );
c.writeEntry( "Id", uid );
@@ -352,17 +352,17 @@ void CreateOnlineImapAccount::apply()
// locally unsubscribe the default folders
c.writeEntry( "locally-subscribed-folders", true );
- QString groupwareFolders = QString("/INBOX/%1/,/INBOX/%2/,/INBOX/%3/,/INBOX/%4/,/INBOX/%5/")
+ TQString groupwareFolders = TQString("/INBOX/%1/,/INBOX/%2/,/INBOX/%3/,/INBOX/%4/,/INBOX/%5/")
.arg( i18n(s_folderContentsType[0]) ).arg( i18n(s_folderContentsType[1]) )
.arg( i18n(s_folderContentsType[2]) ).arg( i18n(s_folderContentsType[3]) )
.arg( i18n(s_folderContentsType[4]) );
c.writeEntry( "locallyUnsubscribedFolders", groupwareFolders );
- c.setGroup( QString("Folder-%1").arg( uid ) );
+ c.setGroup( TQString("Folder-%1").arg( uid ) );
c.writeEntry( "isOpen", true );
}
-bool CreateImapAccount::writeToWallet(const QString & type, int id)
+bool CreateImapAccount::writeToWallet(const TQString & type, int id)
{
if ( !Wallet::isEnabled() )
return false;
@@ -378,5 +378,5 @@ bool CreateImapAccount::writeToWallet(const QString & type, int id)
mWallet->createFolder( "kmail" );
mWallet->setFolder( "kmail" );
}
- return mWallet->writePassword( type + "-" + QString::number( id ), mPassword );
+ return mWallet->writePassword( type + "-" + TQString::number( id ), mPassword );
}
diff --git a/wizards/kmailchanges.h b/wizards/kmailchanges.h
index b8ed477e..953f4a8f 100644
--- a/wizards/kmailchanges.h
+++ b/wizards/kmailchanges.h
@@ -39,23 +39,23 @@ class CreateImapAccount : public KConfigPropagator::Change
virtual void writeIds( int accountId, int transportId ) = 0;
};
- CreateImapAccount( const QString &accountName, const QString &title );
+ CreateImapAccount( const TQString &accountName, const TQString &title );
~CreateImapAccount();
- void setServer( const QString & );
- void setUser( const QString & );
- void setPassword( const QString & );
- void setRealName( const QString & );
+ void setServer( const TQString & );
+ void setUser( const TQString & );
+ void setPassword( const TQString & );
+ void setRealName( const TQString & );
void setPort( int );
/**
Set email. Default is "user@server".
*/
- void setEmail( const QString & );
+ void setEmail( const TQString & );
- void setDefaultDomain( const QString & );
+ void setDefaultDomain( const TQString & );
void enableSieve( bool );
- void setSieveVacationFileName( const QString& );
+ void setSieveVacationFileName( const TQString& );
void enableSavePassword( bool );
enum Encryption { None, SSL, TLS };
@@ -78,20 +78,20 @@ class CreateImapAccount : public KConfigPropagator::Change
void setCustomWriter( CustomWriter * );
protected:
- bool writeToWallet( const QString &type, int id );
+ bool writeToWallet( const TQString &type, int id );
protected:
- QString mAccountName;
+ TQString mAccountName;
- QString mServer;
- QString mUser;
- QString mPassword;
- QString mRealName;
+ TQString mServer;
+ TQString mUser;
+ TQString mPassword;
+ TQString mRealName;
int mPort;
- QString mEmail;
- QString mDefaultDomain;
+ TQString mEmail;
+ TQString mDefaultDomain;
- QString mSieveVacationFileName;
+ TQString mSieveVacationFileName;
bool mEnableSieve;
bool mEnableSavePassword;
@@ -120,7 +120,7 @@ class CreateDisconnectedImapAccount : public CreateImapAccount
GroupwareScalix
};
- CreateDisconnectedImapAccount( const QString &accountName );
+ CreateDisconnectedImapAccount( const TQString &accountName );
virtual void apply();
void enableLocalSubscription( bool b ) { mLocalSubscription = b; }
@@ -134,7 +134,7 @@ class CreateDisconnectedImapAccount : public CreateImapAccount
class CreateOnlineImapAccount : public CreateImapAccount
{
public:
- CreateOnlineImapAccount( const QString &accountName );
+ CreateOnlineImapAccount( const TQString &accountName );
virtual void apply();
};
diff --git a/wizards/kolabkmailchanges.cpp b/wizards/kolabkmailchanges.cpp
index cabbc7d7..97e3a83a 100644
--- a/wizards/kolabkmailchanges.cpp
+++ b/wizards/kolabkmailchanges.cpp
@@ -34,7 +34,7 @@ class KolabCustomWriter : public CreateDisconnectedImapAccount::CustomWriter
{
c.setGroup( "IMAP Resource" );
c.writeEntry( "TheIMAPResourceAccount", id );
- c.writeEntry( "TheIMAPResourceFolderParent", QString(".%1.directory/INBOX").arg( id ) );
+ c.writeEntry( "TheIMAPResourceFolderParent", TQString(".%1.directory/INBOX").arg( id ) );
}
void writeIds( int, int ) {}
};
@@ -104,16 +104,16 @@ void createKMailChanges( KConfigPropagator::Change::List& changes )
c->value = "0"; // TODO: Fix the language
changes.append( c );
- QString email;
- QString defaultDomain = KolabConfig::self()->server();
- const QString server = KolabConfig::self()->server();
- QString user = KolabConfig::self()->user();
+ TQString email;
+ TQString defaultDomain = KolabConfig::self()->server();
+ const TQString server = KolabConfig::self()->server();
+ TQString user = KolabConfig::self()->user();
int pos = user.find( "@" );
// with kolab the userid _is_ the full email
if ( pos > 0 ) {
// The user typed in a full email address. Assume it's correct
email = user;
- const QString h = user.mid( pos+1 );
+ const TQString h = user.mid( pos+1 );
if ( !h.isEmpty() )
// The user did type in a domain on the email address. Use that
defaultDomain = h;
diff --git a/wizards/kolabwizard.cpp b/wizards/kolabwizard.cpp
index 6dc72059..e8a452b1 100644
--- a/wizards/kolabwizard.cpp
+++ b/wizards/kolabwizard.cpp
@@ -35,12 +35,12 @@
#include <klineedit.h>
#include <klocale.h>
-#include <qcheckbox.h>
-#include <qhbuttongroup.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
-#include <qwhatsthis.h>
+#include <tqcheckbox.h>
+#include <tqhbuttongroup.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqradiobutton.h>
+#include <tqwhatsthis.h>
class SetupLDAPSearchAccount : public KConfigPropagator::Change
{
@@ -52,16 +52,16 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change
void apply()
{
- const QString host = KolabConfig::self()->server();
+ const TQString host = KolabConfig::self()->server();
// Figure out the basedn
- QString basedn = host;
+ TQString basedn = host;
// If the user gave a full email address, the domain name
// of that overrides the server name for the ldap dn
- const QString user = KolabConfig::self()->user();
+ const TQString user = KolabConfig::self()->user();
int pos = user.find( "@" );
if ( pos > 0 ) {
- const QString h = user.mid( pos+1 );
+ const TQString h = user.mid( pos+1 );
if ( !h.isEmpty() )
// The user did type in a domain on the email address. Use that
basedn = h;
@@ -81,13 +81,13 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change
bool hasMyServer = false;
uint selHosts = c.readNumEntry("NumSelectedHosts", 0);
for ( uint i = 0 ; i < selHosts && !hasMyServer; ++i )
- if ( c.readEntry( QString("SelectedHost%1").arg(i) ) == host )
+ if ( c.readEntry( TQString("SelectedHost%1").arg(i) ) == host )
hasMyServer = true;
if ( !hasMyServer ) {
c.writeEntry( "NumSelectedHosts", selHosts + 1 );
- c.writeEntry( QString("SelectedHost%1").arg(selHosts), host);
- c.writeEntry( QString("SelectedBase%1").arg(selHosts), basedn);
- c.writeEntry( QString("SelectedPort%1").arg(selHosts), "389");
+ c.writeEntry( TQString("SelectedHost%1").arg(selHosts), host);
+ c.writeEntry( TQString("SelectedBase%1").arg(selHosts), basedn);
+ c.writeEntry( TQString("SelectedPort%1").arg(selHosts), "389");
}
}
@@ -179,7 +179,7 @@ class KolabPropagator : public KConfigPropagator
c->name = "FreeBusyPublishUrl";
- QString user = KolabConfig::self()->user();
+ TQString user = KolabConfig::self()->user();
// We now use the full email address in the freebusy URL
//int pos = user.find( "@" );
//if ( pos > 0 ) user = user.left( pos );
@@ -254,64 +254,64 @@ class KolabPropagator : public KConfigPropagator
KolabWizard::KolabWizard() : KConfigWizard( new KolabPropagator )
{
- QFrame *page = createWizardPage( i18n("Kolab Server") );
+ TQFrame *page = createWizardPage( i18n("Kolab 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("Email address:"), page );
+ label = new TQLabel( i18n("Email address:"), page );
topLayout->addWidget( label, 1, 0 );
mUserEdit = new KLineEdit( page );
topLayout->addWidget( mUserEdit, 1, 1 );
- QWhatsThis::add(mUserEdit, i18n("Your email address on the Kolab Server. "
+ TQWhatsThis::add(mUserEdit, i18n("Your email address on the Kolab Server. "
"Format: <i>name@example.net</i>"));
- label = new QLabel( i18n("Real name:"), page );
+ label = new TQLabel( i18n("Real name:"), page );
topLayout->addWidget( label, 2, 0 );
mRealNameEdit = new KLineEdit( page );
topLayout->addWidget( mRealNameEdit, 2, 1 );
- label = new QLabel( i18n("Password:"), page );
+ label = new TQLabel( i18n("Password:"), page );
topLayout->addWidget( label, 3, 0 );
mPasswordEdit = new KLineEdit( page );
mPasswordEdit->setEchoMode( KLineEdit::Password );
topLayout->addWidget( mPasswordEdit, 3, 1 );
- mSavePasswordCheck = new QCheckBox( i18n("Save password"), page );
+ mSavePasswordCheck = new TQCheckBox( i18n("Save password"), page );
topLayout->addMultiCellWidget( mSavePasswordCheck, 4, 4, 0, 1 );
topLayout->setRowStretch( 4, 1 );
- mUseOnlineForNonGroupwareCheck = new QCheckBox( i18n("Use an online IMAP account for non-groupware folders"), page );
+ mUseOnlineForNonGroupwareCheck = new TQCheckBox( i18n("Use an online IMAP account for non-groupware folders"), page );
topLayout->addMultiCellWidget( mUseOnlineForNonGroupwareCheck, 5, 5, 0, 1 );
topLayout->setRowStretch( 5, 1 );
- QButtonGroup *bg = new QHButtonGroup(i18n("Server Version"), page );
- QWhatsThis::add( bg, i18n("Choose the version of the Kolab Server you are using.") );
- mKolab1 = new QRadioButton( i18n ( "Kolab 1" ), bg );
- mKolab2 = new QRadioButton( i18n ( "Kolab 2" ), bg );
+ TQButtonGroup *bg = new TQHButtonGroup(i18n("Server Version"), page );
+ TQWhatsThis::add( bg, i18n("Choose the version of the Kolab Server you are using.") );
+ mKolab1 = new TQRadioButton( i18n ( "Kolab 1" ), bg );
+ mKolab2 = new TQRadioButton( i18n ( "Kolab 2" ), bg );
topLayout->addMultiCellWidget( bg, 6, 6, 0, 1 );
- setInitialSize( QSize( 600, 300 ) );
+ setInitialSize( TQSize( 600, 300 ) );
}
KolabWizard::~KolabWizard()
{
}
-QString KolabWizard::validate()
+TQString KolabWizard::validate()
{
if( mServerEdit->text().isEmpty() ||
mUserEdit->text().isEmpty() ||
mRealNameEdit->text().isEmpty() ||
mPasswordEdit->text().isEmpty() )
return i18n( "Please fill in all fields." );
- return QString::null;
+ return TQString::null;
}
void KolabWizard::usrReadConfig()
diff --git a/wizards/kolabwizard.h b/wizards/kolabwizard.h
index ebe1b356..60a0168d 100644
--- a/wizards/kolabwizard.h
+++ b/wizards/kolabwizard.h
@@ -35,7 +35,7 @@ class KDE_EXPORT KolabWizard : public KConfigWizard
KolabWizard();
~KolabWizard();
- QString validate();
+ TQString validate();
void usrReadConfig();
void usrWriteConfig();
@@ -44,9 +44,9 @@ class KDE_EXPORT KolabWizard : public KConfigWizard
KLineEdit *mUserEdit;
KLineEdit *mRealNameEdit;
KLineEdit *mPasswordEdit;
- QCheckBox *mSavePasswordCheck;
- QRadioButton *mKolab1, *mKolab2;
- QCheckBox *mUseOnlineForNonGroupwareCheck;
+ TQCheckBox *mSavePasswordCheck;
+ TQRadioButton *mKolab1, *mKolab2;
+ TQCheckBox *mUseOnlineForNonGroupwareCheck;
};
#endif
diff --git a/wizards/main.cpp b/wizards/main.cpp
index e93a2936..4cef5419 100644
--- a/wizards/main.cpp
+++ b/wizards/main.cpp
@@ -27,7 +27,7 @@ int main( int argc, char **argv )
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
- QString serverType;
+ TQString serverType;
if ( args->isSet( "serverType" ) )
serverType = args->getOption( "serverType" );
diff --git a/wizards/overviewpage.cpp b/wizards/overviewpage.cpp
index 0a4a5a3f..657a8a0d 100644
--- a/wizards/overviewpage.cpp
+++ b/wizards/overviewpage.cpp
@@ -19,10 +19,10 @@
Boston, MA 02110-1301, USA.
*/
-#include <qbuttongroup.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qradiobutton.h>
+#include <tqbuttongroup.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqradiobutton.h>
#include <kaccelmanager.h>
#include <kdialog.h>
@@ -40,59 +40,59 @@
#include "overviewpage.h"
-OverViewPage::OverViewPage( QWidget *parent, const char *name )
- : QWidget( parent, name )
+OverViewPage::OverViewPage( TQWidget *parent, const char *name )
+ : TQWidget( parent, name )
{
- QGridLayout *layout = new QGridLayout( this, 7, 4, KDialog::marginHint(),
+ TQGridLayout *layout = new TQGridLayout( this, 7, 4, KDialog::marginHint(),
KDialog::spacingHint() );
- const QString msg = i18n( "KDE Groupware Wizard" );
- QLabel *label = new QLabel( "<qt><b><u><h2>" + msg + "</h2></u></b></qt>" , this );
+ const TQString msg = i18n( "KDE Groupware Wizard" );
+ TQLabel *label = new TQLabel( "<qt><b><u><h2>" + msg + "</h2></u></b></qt>" , this );
layout->addMultiCellWidget( label, 0, 0, 0, 2 );
- label = new QLabel( this );
+ label = new TQLabel( this );
label->setPixmap( KGlobal::iconLoader()->loadIcon( "network", KIcon::Desktop ) );
layout->addWidget( label, 0, 3 );
- label = new QLabel( "", this );
+ label = new TQLabel( "", this );
layout->addWidget( label, 1, 0 );
layout->setRowSpacing( 1, 20 );
- label = new QLabel( i18n( "Select the type of server you want connect your KDE to:" ), this );
+ label = new TQLabel( i18n( "Select the type of server you want connect your KDE to:" ), this );
layout->addMultiCellWidget( label, 2, 2, 0, 3 );
- QPushButton *button = new QPushButton( i18n("eGroupware"), this );
+ TQPushButton *button = new TQPushButton( i18n("eGroupware"), this );
layout->addMultiCellWidget( button, 3, 3, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardEGroupware() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardEGroupware() ) );
// FIXME: Maybe hyperlinks would be better than buttons.
- button = new QPushButton( i18n("Kolab"), this );
+ button = new TQPushButton( i18n("Kolab"), this );
layout->addMultiCellWidget( button, 4, 4, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardKolab() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardKolab() ) );
- button = new QPushButton( i18n("SUSE Linux Openexchange (SLOX)"), this );
+ button = new TQPushButton( i18n("SUSE Linux Openexchange (SLOX)"), this );
layout->addMultiCellWidget( button, 5, 5, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardSlox() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardSlox() ) );
- button = new QPushButton( i18n("Novell GroupWise"), this );
+ button = new TQPushButton( i18n("Novell GroupWise"), this );
layout->addMultiCellWidget( button, 6, 6, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardGroupwise() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardGroupwise() ) );
- button = new QPushButton( i18n("Microsoft Exchange"), this );
+ button = new TQPushButton( i18n("Microsoft Exchange"), this );
button->hide(); // not quite ready yet
layout->addMultiCellWidget( button, 7, 7, 0, 3 );
- connect( button, SIGNAL( clicked() ), SLOT( showWizardExchange() ) );
+ connect( button, TQT_SIGNAL( clicked() ), TQT_SLOT( showWizardExchange() ) );
- QFrame *frame = new QFrame( this );
- frame->setFrameStyle( QFrame::HLine | QFrame::Sunken );
+ TQFrame *frame = new TQFrame( this );
+ frame->setFrameStyle( TQFrame::HLine | TQFrame::Sunken );
layout->addMultiCellWidget( frame, 8, 8, 0, 3 );
- QPushButton *cancelButton = new KPushButton( KStdGuiItem::close(), this );
+ TQPushButton *cancelButton = new KPushButton( KStdGuiItem::close(), this );
layout->addWidget( cancelButton, 9, 3 );
- connect( cancelButton, SIGNAL( clicked() ), this, SIGNAL( cancel() ) );
+ connect( cancelButton, TQT_SIGNAL( clicked() ), this, TQT_SIGNAL( cancel() ) );
layout->setRowStretch( 8, 1 );
diff --git a/wizards/overviewpage.h b/wizards/overviewpage.h
index 8c51bfb9..1d93e42d 100644
--- a/wizards/overviewpage.h
+++ b/wizards/overviewpage.h
@@ -22,14 +22,14 @@
#ifndef OVERVIEWPAGE_H
#define OVERVIEWPAGE_H
-#include <qwidget.h>
+#include <tqwidget.h>
class OverViewPage : public QWidget
{
Q_OBJECT
public:
- OverViewPage( QWidget *parent, const char *name = 0 );
+ OverViewPage( TQWidget *parent, const char *name = 0 );
~OverViewPage();
private slots:
diff --git a/wizards/scalixkmailchanges.cpp b/wizards/scalixkmailchanges.cpp
index 36099903..9b4512dd 100644
--- a/wizards/scalixkmailchanges.cpp
+++ b/wizards/scalixkmailchanges.cpp
@@ -34,7 +34,7 @@ class ScalixCustomWriter : public CreateDisconnectedImapAccount::CustomWriter
{
c.setGroup( "IMAP Resource" );
c.writeEntry( "TheIMAPResourceAccount", id );
- c.writeEntry( "TheIMAPResourceFolderParent", QString(".%1.directory/INBOX").arg( id ) );
+ c.writeEntry( "TheIMAPResourceFolderParent", TQString(".%1.directory/INBOX").arg( id ) );
c.writeEntry( "HideGroupwareFolders", false );
}
void writeIds( int, int ) {}
diff --git a/wizards/scalixwizard.cpp b/wizards/scalixwizard.cpp
index 058ff84d..dfc638f7 100644
--- a/wizards/scalixwizard.cpp
+++ b/wizards/scalixwizard.cpp
@@ -39,12 +39,12 @@
#include <kmessagebox.h>
#include <kstringhandler.h>
-#include <qapplication.h>
-#include <qcheckbox.h>
-#include <qhbuttongroup.h>
-#include <qlabel.h>
-#include <qlayout.h>
-#include <qwhatsthis.h>
+#include <tqapplication.h>
+#include <tqcheckbox.h>
+#include <tqhbuttongroup.h>
+#include <tqlabel.h>
+#include <tqlayout.h>
+#include <tqwhatsthis.h>
#include <unistd.h>
@@ -58,9 +58,9 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change
void apply()
{
- const QString host = ScalixConfig::self()->server();
+ const TQString host = ScalixConfig::self()->server();
- QString basedn( "o=Scalix" );
+ TQString basedn( "o=Scalix" );
{ // while we're here, write default domain
KConfig c( "kmailrc" );
@@ -74,13 +74,13 @@ class SetupLDAPSearchAccount : public KConfigPropagator::Change
bool hasMyServer = false;
uint selHosts = c.readNumEntry("NumSelectedHosts", 0);
for ( uint i = 0 ; i < selHosts && !hasMyServer; ++i )
- if ( c.readEntry( QString("SelectedHost%1").arg(i) ) == host )
+ if ( c.readEntry( TQString("SelectedHost%1").arg(i) ) == host )
hasMyServer = true;
if ( !hasMyServer ) {
c.writeEntry( "NumSelectedHosts", selHosts + 1 );
- c.writeEntry( QString("SelectedHost%1").arg(selHosts), host);
- c.writeEntry( QString("SelectedBase%1").arg(selHosts), basedn);
- c.writeEntry( QString("SelectedPort%1").arg(selHosts), "389");
+ c.writeEntry( TQString("SelectedHost%1").arg(selHosts), host);
+ c.writeEntry( TQString("SelectedBase%1").arg(selHosts), basedn);
+ c.writeEntry( TQString("SelectedPort%1").arg(selHosts), "389");
}
}
@@ -200,18 +200,18 @@ class SynchronizeScalixAccount : public KConfigPropagator::Change
void apply()
{
- QMessageBox *msg = new QMessageBox( qApp->mainWidget() );
+ TQMessageBox *msg = new TQMessageBox( qApp->mainWidget() );
msg->setText( "Preparing initial synchronization with Scalix server..." );
msg->show();
qApp->processEvents();
sleep( 1 );
qApp->processEvents();
- QString error;
- QCString dcopService;
+ TQString error;
+ TQCString dcopService;
int result = KDCOPServiceStarter::self()->
- findServiceFor( "DCOP/ResourceBackend/IMAP", QString::null,
- QString::null, &error, &dcopService );
+ findServiceFor( "DCOP/ResourceBackend/IMAP", TQString::null,
+ TQString::null, &error, &dcopService );
if ( result != 0 ) {
KMessageBox::error( 0, i18n( "Unable to start KMail to trigger initial synchronization with Scalix server" ) );
delete msg;
@@ -221,16 +221,16 @@ class SynchronizeScalixAccount : public KConfigPropagator::Change
DCOPRef ref( dcopService, "KMailIface" );
// loop until dcop iface is set up correctly
- QStringList list;
+ TQStringList list;
while ( list.isEmpty() ) {
ref.call( "accounts()" ).get( list );
}
- ref.call( "checkAccount(QString)", i18n( "Scalix Server" ) );
+ ref.call( "checkAccount(TQString)", i18n( "Scalix Server" ) );
// ugly hack, but kmail needs a second before accepting the second dcop call
sleep( 5 );
- ref.call( "checkAccount(QString)", i18n( "Scalix Server" ) );
+ ref.call( "checkAccount(TQString)", i18n( "Scalix Server" ) );
delete msg;
}
@@ -362,56 +362,56 @@ class ScalixPropagator : public KConfigPropagator
ScalixWizard::ScalixWizard() : KConfigWizard( new ScalixPropagator )
{
- QFrame *page = createWizardPage( i18n("Scalix Server") );
+ TQFrame *page = createWizardPage( i18n("Scalix Server") );
- QGridLayout *topLayout = new QGridLayout( page );
+ TQGridLayout *topLayout = new TQGridLayout( page );
topLayout->setSpacing( spacingHint() );
- QLabel *label = new QLabel( i18n( "Full name:" ), page );
+ TQLabel *label = new TQLabel( i18n( "Full name:" ), page );
topLayout->addWidget( label, 0, 0 );
mRealNameEdit = new KLineEdit( page );
topLayout->addWidget( mRealNameEdit, 0, 1 );
label->setBuddy( mRealNameEdit );
- QWhatsThis::add( mRealNameEdit, i18n( "Your full name. "
+ TQWhatsThis::add( mRealNameEdit, i18n( "Your full name. "
"Example: <i>Joe User</i>" ) );
- label = new QLabel( i18n( "Email address:" ), page );
+ label = new TQLabel( i18n( "Email address:" ), page );
topLayout->addWidget( label, 1, 0 );
mEMailEdit = new KLineEdit( page );
topLayout->addWidget( mEMailEdit, 1, 1 );
label->setBuddy( mEMailEdit );
- QWhatsThis::add( mEMailEdit, i18n( "Your email address on the Scalix Server. "
+ TQWhatsThis::add( mEMailEdit, i18n( "Your email address on the Scalix Server. "
"Example: <i>name@crossplatform.com</i>" ) );
- label = new QLabel( i18n( "Server:" ), page );
+ label = new TQLabel( i18n( "Server:" ), page );
topLayout->addWidget( label, 2, 0 );
mServerEdit = new KLineEdit( page );
topLayout->addWidget( mServerEdit, 2, 1 );
label->setBuddy( mServerEdit );
- QWhatsThis::add( mServerEdit, i18n( "The name or IP of the Scalix Server. "
+ TQWhatsThis::add( mServerEdit, i18n( "The name or IP of the Scalix Server. "
"Example: <i>scalix.domain.com</i>" ) );
- label = new QLabel( i18n("Username:"), page );
+ label = new TQLabel( i18n("Username:"), page );
topLayout->addWidget( label, 3, 0 );
mUserEdit = new KLineEdit( page );
topLayout->addWidget( mUserEdit, 3, 1 );
label->setBuddy( mUserEdit );
- QWhatsThis::add( mUserEdit, i18n( "The user respectively login name. "
+ TQWhatsThis::add( mUserEdit, i18n( "The user respectively login name. "
"Example: <i>joe</i>" ) );
- label = new QLabel( i18n("Password:"), page );
+ label = new TQLabel( i18n("Password:"), page );
topLayout->addWidget( label, 4, 0 );
mPasswordEdit = new KLineEdit( page );
mPasswordEdit->setEchoMode( KLineEdit::Password );
topLayout->addWidget( mPasswordEdit, 4, 1 );
label->setBuddy( mPasswordEdit );
- QWhatsThis::add( mPasswordEdit, i18n( "The password to your login." ) );
+ TQWhatsThis::add( mPasswordEdit, i18n( "The password to your login." ) );
- mSavePasswordCheck = new QCheckBox( i18n("Save password"), page );
+ mSavePasswordCheck = new TQCheckBox( i18n("Save password"), page );
topLayout->addMultiCellWidget( mSavePasswordCheck, 5, 5, 0, 1 );
- QWhatsThis::add( mSavePasswordCheck, i18n( "Shall the password be saved in KWallet?." ) );
+ TQWhatsThis::add( mSavePasswordCheck, i18n( "Shall the password be saved in KWallet?." ) );
- label = new QLabel( i18n( "Use Secure Connection:" ), page );
+ label = new TQLabel( i18n( "Use Secure Connection:" ), page );
topLayout->addWidget( label, 6, 0 );
mSecurity = new KComboBox( page );
mSecurity->insertItem( i18n( "No encryption" ) );
@@ -419,9 +419,9 @@ ScalixWizard::ScalixWizard() : KConfigWizard( new ScalixPropagator )
mSecurity->insertItem( i18n( "SSL encryption" ) );
topLayout->addWidget( mSecurity, 6, 1 );
label->setBuddy( mSecurity );
- QWhatsThis::add( mSecurity, i18n( "Choose the encryption type that is supported by your server." ) );
+ TQWhatsThis::add( mSecurity, i18n( "Choose the encryption type that is supported by your server." ) );
- label = new QLabel( i18n( "Authentication Type:" ), page );
+ label = new TQLabel( i18n( "Authentication Type:" ), page );
topLayout->addWidget( label, 7, 0 );
mAuthentication = new KComboBox( page );
mAuthentication->insertItem( i18n( "Password" ) );
@@ -431,7 +431,7 @@ ScalixWizard::ScalixWizard() : KConfigWizard( new ScalixPropagator )
mAuthentication->insertItem( i18n( "CRAM-MD5" ) );
topLayout->addWidget( mAuthentication, 7, 1 );
label->setBuddy( mAuthentication );
- QWhatsThis::add( mAuthentication, i18n( "Choose the authentication type that is supported by your server." ) );
+ TQWhatsThis::add( mAuthentication, i18n( "Choose the authentication type that is supported by your server." ) );
topLayout->setRowStretch( 8, 1 );
@@ -442,14 +442,14 @@ ScalixWizard::ScalixWizard() : KConfigWizard( new ScalixPropagator )
setupRulesPage();
setupChangesPage();
- setInitialSize( QSize( 600, 300 ) );
+ setInitialSize( TQSize( 600, 300 ) );
}
ScalixWizard::~ScalixWizard()
{
}
-QString ScalixWizard::validate()
+TQString ScalixWizard::validate()
{
if ( mRealNameEdit->text().isEmpty() ||
mEMailEdit->text().isEmpty() ||
@@ -458,7 +458,7 @@ QString ScalixWizard::validate()
mPasswordEdit->text().isEmpty() )
return i18n( "Please fill in all fields." );
- return QString::null;
+ return TQString::null;
}
void ScalixWizard::usrReadConfig()
diff --git a/wizards/scalixwizard.h b/wizards/scalixwizard.h
index f2394d7b..000801fc 100644
--- a/wizards/scalixwizard.h
+++ b/wizards/scalixwizard.h
@@ -35,7 +35,7 @@ class KDE_EXPORT ScalixWizard : public KConfigWizard
ScalixWizard();
~ScalixWizard();
- QString validate();
+ TQString validate();
void usrReadConfig();
void usrWriteConfig();
@@ -45,7 +45,7 @@ class KDE_EXPORT ScalixWizard : public KConfigWizard
KLineEdit *mEMailEdit;
KLineEdit *mRealNameEdit;
KLineEdit *mPasswordEdit;
- QCheckBox *mSavePasswordCheck;
+ TQCheckBox *mSavePasswordCheck;
KComboBox *mSecurity;
KComboBox *mAuthentication;
};
diff --git a/wizards/servertype.h b/wizards/servertype.h
index 7062191d..24503666 100644
--- a/wizards/servertype.h
+++ b/wizards/servertype.h
@@ -25,7 +25,7 @@
#include <kconfigpropagator.h>
#include <klibloader.h>
-#include <qobject.h>
+#include <tqobject.h>
class ServerType : public QObject
{
@@ -36,12 +36,12 @@ class ServerType : public QObject
/**
The unique identifier
*/
- QString uid;
+ TQString uid;
/**
The user visible name
*/
- QString name;
+ TQString name;
/**
Whether the connection is active or passive
@@ -53,9 +53,9 @@ class ServerType : public QObject
This map contains the uids and the user visible names
of a server type.
*/
- typedef QValueList<ConnectionInfo> ConnectionInfoList;
+ typedef TQValueList<ConnectionInfo> ConnectionInfoList;
- ServerType( QObject *parent, const char *name ):QObject(parent, name) {}
+ ServerType( TQObject *parent, const char *name ):TQObject(parent, name) {}
virtual ~ServerType() {}
/**
@@ -75,7 +75,7 @@ class ServerType : public QObject
@param uid The uid of the resource.
*/
- virtual void editConnection( const QString& uid ) = 0;
+ virtual void editConnection( const TQString& uid ) = 0;
/**
This method is called whenever the user wants to remove an existing
@@ -83,7 +83,7 @@ class ServerType : public QObject
@param uid The uid of the resource.
*/
- virtual void deleteConnection( const QString& uid ) = 0;
+ virtual void deleteConnection( const TQString& uid ) = 0;
/**
This method is called whenever the user marks an existing
@@ -92,7 +92,7 @@ class ServerType : public QObject
@param uid The uid of the resource.
@param active Whether the connection shall be set active or not.
*/
- virtual void activateConnection( const QString& uid, bool active ) = 0;
+ virtual void activateConnection( const TQString& uid, bool active ) = 0;
virtual KConfigPropagator::Change::List changes() = 0;
};
@@ -104,21 +104,21 @@ class ServerType : public QObject
class ServerTypeFactory : public KLibFactory
{
public:
- virtual ServerType *serverType( QObject *parent, const char *name = 0 ) = 0;
+ virtual ServerType *serverType( TQObject *parent, const char *name = 0 ) = 0;
/**
Returns the identifier.
*/
- virtual QString identifier() const = 0;
+ virtual TQString identifier() const = 0;
/**
Returns the i18n'ed name.
*/
- virtual QString title() const = 0;
+ virtual TQString title() const = 0;
protected:
- virtual QObject* createObject( QObject*, const char*,
- const char*, const QStringList & )
+ virtual TQObject* createObject( TQObject*, const char*,
+ const char*, const TQStringList & )
{ return 0; }
};
diff --git a/wizards/servertypemanager.cpp b/wizards/servertypemanager.cpp
index e41ca60d..bedb4e28 100644
--- a/wizards/servertypemanager.cpp
+++ b/wizards/servertypemanager.cpp
@@ -28,8 +28,8 @@
ServerTypeManager* ServerTypeManager::mSelf = 0;
static KStaticDeleter<ServerTypeManager> serverManagerDeleter;
-ServerTypeManager::ServerTypeManager( QObject *parent, const char *name )
- : QObject( parent, name )
+ServerTypeManager::ServerTypeManager( TQObject *parent, const char *name )
+ : TQObject( parent, name )
{
loadPlugins();
}
@@ -47,21 +47,21 @@ ServerTypeManager* ServerTypeManager::self()
return mSelf;
}
-QStringList ServerTypeManager::identifiers() const
+TQStringList ServerTypeManager::identifiers() const
{
return mServerTypeFactoryMap.keys();
}
-QString ServerTypeManager::title( const QString& identifier ) const
+TQString ServerTypeManager::title( const TQString& identifier ) const
{
ServerTypeFactoryMap::ConstIterator it = mServerTypeFactoryMap.find( identifier );
if ( it == mServerTypeFactoryMap.end() )
- return QString::null;
+ return TQString::null;
else
return it.data()->title();
}
-ServerType* ServerTypeManager::serverType( const QString& identifier )
+ServerType* ServerTypeManager::serverType( const TQString& identifier )
{
ServerTypeMap::ConstIterator serverIt = mServerTypeMap.find( identifier );
if ( serverIt == mServerTypeMap.end() ) { // none server type loaded yet
diff --git a/wizards/servertypemanager.h b/wizards/servertypemanager.h
index b2b02950..4d2ae289 100644
--- a/wizards/servertypemanager.h
+++ b/wizards/servertypemanager.h
@@ -22,7 +22,7 @@
#ifndef SERVERTYPEMANAGER_H
#define SERVERTYPEMANAGER_H
-#include <qobject.h>
+#include <tqobject.h>
#include "servertype.h"
@@ -39,28 +39,28 @@ class ServerTypeManager : public QObject
Returns the list of identifiers of all available
server types.
*/
- QStringList identifiers() const;
+ TQStringList identifiers() const;
/**
Returns the i18n'ed name of a server type.
@param The identifier of the server type.
*/
- QString title( const QString& ) const;
+ TQString title( const TQString& ) const;
/**
Returns a pointer to the server type with the given
identifier or 0 when it doesn't exist.
*/
- ServerType* serverType( const QString& );
+ ServerType* serverType( const TQString& );
private:
- typedef QMap<QString, ServerType*> ServerTypeMap;
- typedef QMap<QString, ServerTypeFactory*> ServerTypeFactoryMap;
+ typedef TQMap<TQString, ServerType*> ServerTypeMap;
+ typedef TQMap<TQString, ServerTypeFactory*> ServerTypeFactoryMap;
void loadPlugins();
- ServerTypeManager( QObject *parent, const char *name = 0 );
+ ServerTypeManager( TQObject *parent, const char *name = 0 );
static ServerTypeManager* mSelf;
diff --git a/wizards/sloxwizard.cpp b/wizards/sloxwizard.cpp
index 8ac821db..5cfdd2bb 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()
diff --git a/wizards/sloxwizard.h b/wizards/sloxwizard.h
index 14f7620d..97165055 100644
--- a/wizards/sloxwizard.h
+++ b/wizards/sloxwizard.h
@@ -32,7 +32,7 @@ class KDE_EXPORT SloxWizard : public KConfigWizard
SloxWizard();
~SloxWizard();
- QString validate();
+ TQString validate();
void usrReadConfig();
void usrWriteConfig();
@@ -40,8 +40,8 @@ class KDE_EXPORT SloxWizard : public KConfigWizard
KLineEdit *mServerEdit;
KLineEdit *mUserEdit;
KLineEdit *mPasswordEdit;
- QCheckBox *mSavePasswordCheck;
- QCheckBox *mSecureCheck;
+ TQCheckBox *mSavePasswordCheck;
+ TQCheckBox *mSecureCheck;
};
#endif