summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/testbed/testbedfakeserver.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/testbed/testbedfakeserver.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 );
}