summaryrefslogtreecommitdiffstats
path: root/kmail/kmservertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmservertest.cpp')
-rw-r--r--kmail/kmservertest.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kmail/kmservertest.cpp b/kmail/kmservertest.cpp
index 49fb0ad8b..c184e6dfc 100644
--- a/kmail/kmservertest.cpp
+++ b/kmail/kmservertest.cpp
@@ -45,14 +45,14 @@
#include <kio/global.h>
//-----------------------------------------------------------------------------
-KMServerTest::KMServerTest( const QString & protocol, const QString & host, int port )
- : QObject(),
+KMServerTest::KMServerTest( const TQString & protocol, const TQString & host, int port )
+ : TQObject(),
mProtocol( protocol ), mHost( host ),
mSSL( false ), mJob( 0 ), mSlave( 0 ), mConnectionErrorCount( 0 )
{
KIO::Scheduler::connect(
- SIGNAL(slaveError(KIO::Slave *, int, const QString &)),
- this, SLOT(slotSlaveResult(KIO::Slave *, int, const QString &)));
+ TQT_SIGNAL(slaveError(KIO::Slave *, int, const TQString &)),
+ this, TQT_SLOT(slotSlaveResult(KIO::Slave *, int, const TQString &)));
if ( port == 993 || port == 995 || port == 465 )
port = 0;
@@ -85,29 +85,29 @@ void KMServerTest::startOffSlave( int port ) {
slotSlaveResult( 0, 1 );
return;
}
- connect( mSlave, SIGNAL(metaData(const KIO::MetaData&)),
- SLOT(slotMetaData(const KIO::MetaData&)) );
+ connect( mSlave, TQT_SIGNAL(metaData(const KIO::MetaData&)),
+ TQT_SLOT(slotMetaData(const KIO::MetaData&)) );
- QByteArray packedArgs;
- QDataStream stream( packedArgs, IO_WriteOnly );
+ TQByteArray packedArgs;
+ TQDataStream stream( packedArgs, IO_WriteOnly );
stream << (int) 'c';
mJob = KIO::special( url, packedArgs, false );
KIO::Scheduler::assignJobToSlave( mSlave, mJob );
- connect( mJob, SIGNAL(result(KIO::Job*)), SLOT(slotResult(KIO::Job*)) );
- connect( mJob, SIGNAL(infoMessage(KIO::Job*,const QString&)),
- SLOT(slotData(KIO::Job*,const QString&)) );
+ connect( mJob, TQT_SIGNAL(result(KIO::Job*)), TQT_SLOT(slotResult(KIO::Job*)) );
+ connect( mJob, TQT_SIGNAL(infoMessage(KIO::Job*,const TQString&)),
+ TQT_SLOT(slotData(KIO::Job*,const TQString&)) );
}
//-----------------------------------------------------------------------------
-void KMServerTest::slotData(KIO::Job *, const QString &data)
+void KMServerTest::slotData(KIO::Job *, const TQString &data)
{
if ( mSSL )
- mListSSL = QStringList::split(' ', data);
+ mListSSL = TQStringList::split(' ', data);
else
- mListNormal = QStringList::split(' ', data);
+ mListNormal = TQStringList::split(' ', data);
}
@@ -137,7 +137,7 @@ void KMServerTest::slotResult(KIO::Job *job)
//-----------------------------------------------------------------------------
void KMServerTest::slotSlaveResult(KIO::Slave *aSlave, int error,
- const QString &errorText)
+ const TQString &errorText)
{
if (aSlave != mSlave) return;
if ( mSSL && error == 0 ) {