summaryrefslogtreecommitdiffstats
path: root/libktorrent/kademlia/rpccall.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 20:34:15 +0000
commit1c1403293485f35fd53db45aaa77a01cdd9627e7 (patch)
tree38559cd68cd4f63023fb5f6375def9db3b8b491e /libktorrent/kademlia/rpccall.h
parent894f94545727610df22c4f73911d62d58266f695 (diff)
downloadktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.tar.gz
ktorrent-1c1403293485f35fd53db45aaa77a01cdd9627e7.zip
TQt4 port ktorrent
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktorrent@1238733 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libktorrent/kademlia/rpccall.h')
-rw-r--r--libktorrent/kademlia/rpccall.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libktorrent/kademlia/rpccall.h b/libktorrent/kademlia/rpccall.h
index 6e54933..2a9682e 100644
--- a/libktorrent/kademlia/rpccall.h
+++ b/libktorrent/kademlia/rpccall.h
@@ -20,7 +20,7 @@
#ifndef DHTRPCCALL_H
#define DHTRPCCALL_H
-#include <qtimer.h>
+#include <tqtimer.h>
#include "key.h"
#include "rpcmsg.h"
@@ -32,9 +32,10 @@ namespace dht
/**
* Class which objects should derive from, if they want to know the result of a call.
*/
- class RPCCallListener : public QObject
+ class RPCCallListener : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
RPCCallListener();
virtual ~RPCCallListener();
@@ -58,9 +59,10 @@ namespace dht
/**
* @author Joris Guisson
*/
- class RPCCall : public QObject
+ class RPCCall : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
RPCCall(RPCServer* rpc,MsgBase* msg,bool queued);
virtual ~RPCCall();
@@ -100,7 +102,7 @@ namespace dht
private:
MsgBase* msg;
- QTimer timer;
+ TQTimer timer;
RPCServer* rpc;
bool queued;
};