summaryrefslogtreecommitdiffstats
path: root/libktorrent/kademlia/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/kademlia/task.h')
-rw-r--r--libktorrent/kademlia/task.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libktorrent/kademlia/task.h b/libktorrent/kademlia/task.h
index 5a33ac0..3d7189f 100644
--- a/libktorrent/kademlia/task.h
+++ b/libktorrent/kademlia/task.h
@@ -20,7 +20,7 @@
#ifndef DHTTASK_H
#define DHTTASK_H
-#include <qvaluelist.h>
+#include <tqvaluelist.h>
#include "rpccall.h"
//#include "kbucket.h"
@@ -49,6 +49,7 @@ namespace dht
class Task : public RPCCallListener
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Create a task.
@@ -134,7 +135,7 @@ namespace dht
* @param ip The ip or hostname of the node
* @param port The port
*/
- void addDHTNode(const QString & ip,bt::Uint16 port);
+ void addDHTNode(const TQString & ip,bt::Uint16 port);
signals:
/**
@@ -157,8 +158,8 @@ namespace dht
void onResolverResults(KResolverResults res);
protected:
- QValueList<KBucketEntry> visited; // nodes visited
- QValueList<KBucketEntry> todo; // nodes todo
+ TQValueList<KBucketEntry> visited; // nodes visited
+ TQValueList<KBucketEntry> todo; // nodes todo
Node* node;
private: