summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/testbed/testbedfakeserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/testbed/testbedfakeserver.cpp')
-rw-r--r--kopete/protocols/testbed/testbedfakeserver.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/testbed/testbedfakeserver.cpp b/kopete/protocols/testbed/testbedfakeserver.cpp
index b1bb3e1e..9a4116ca 100644
--- a/kopete/protocols/testbed/testbedfakeserver.cpp
+++ b/kopete/protocols/testbed/testbedfakeserver.cpp
@@ -15,7 +15,7 @@
*/
#include "testbedfakeserver.h"
-#include <qtimer.h>
+#include <tqtimer.h>
#include <kdebug.h>
#include "testbedincomingmessage.h"
@@ -29,24 +29,24 @@ TestbedFakeServer::~TestbedFakeServer()
{
}
-void TestbedFakeServer::sendMessage( QString contactId, QString message )
+void TestbedFakeServer::sendMessage( TQString contactId, TQString message )
{
// see what contact the message is for
// if it's for Echo, respond immediately
kdDebug( 14210 ) << k_funcinfo << "Message for: " << contactId << ", is: " << message << endl;
kdDebug( 14210 ) << "recipient is echo, coming back at you." << endl;
// put the message in a map and start a timer to tell it to deliver itself.
- //emit messageReceived( QString::fromLatin1( "echo: " ) + message );
- QString messageId = contactId + QString::fromLatin1(": ");
+ //emit messageReceived( TQString::fromLatin1( "echo: " ) + message );
+ TQString messageId = contactId + TQString::fromLatin1(": ");
TestbedIncomingMessage* msg = new TestbedIncomingMessage( this, messageId + message );
m_incomingMessages.append( msg );
- QTimer::singleShot( 1000, msg, SLOT( deliver() ) );
+ TQTimer::singleShot( 1000, msg, TQT_SLOT( deliver() ) );
// This removes any delivered messages
purgeMessages();
}
-void TestbedFakeServer::incomingMessage( QString message )
+void TestbedFakeServer::incomingMessage( TQString message )
{
emit messageReceived( message );
}