summaryrefslogtreecommitdiffstats
path: root/libktorrent/kademlia/dhttrackerbackend.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/dhttrackerbackend.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/dhttrackerbackend.h')
-rw-r--r--libktorrent/kademlia/dhttrackerbackend.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libktorrent/kademlia/dhttrackerbackend.h b/libktorrent/kademlia/dhttrackerbackend.h
index 355aab9..91141c8 100644
--- a/libktorrent/kademlia/dhttrackerbackend.h
+++ b/libktorrent/kademlia/dhttrackerbackend.h
@@ -20,7 +20,7 @@
#ifndef DHTDHTTRACKERBACKEND_H
#define DHTDHTTRACKERBACKEND_H
-#include <qtimer.h>
+#include <tqtimer.h>
#include <interfaces/peersource.h>
#include "task.h"
@@ -47,6 +47,7 @@ namespace dht
class DHTTrackerBackend : public kt::PeerSource
{
Q_OBJECT
+ TQ_OBJECT
public:
DHTTrackerBackend(DHTBase & dh_table,kt::TorrentInterface* tor);
virtual ~DHTTrackerBackend();
@@ -66,7 +67,7 @@ namespace dht
DHTBase & dh_table;
AnnounceTask* curr_task;
kt::TorrentInterface* tor;
- QTimer timer;
+ TQTimer timer;
bool started;
};