summaryrefslogtreecommitdiffstats
path: root/libktorrent/kademlia/dhttrackerbackend.h
diff options
context:
space:
mode:
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;
};