From 4ffdeab3ca64c74e7053b2e26c93ebc7f6e22823 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 17 Feb 2012 16:01:12 -0600 Subject: Remove spurious TQ_OBJECT instances --- libktorrent/kademlia/dht.h | 2 +- libktorrent/kademlia/dhtbase.h | 2 +- libktorrent/kademlia/dhttrackerbackend.h | 2 +- libktorrent/kademlia/kbucket.h | 2 +- libktorrent/kademlia/node.h | 2 +- libktorrent/kademlia/rpccall.h | 4 ++-- libktorrent/kademlia/rpcserver.h | 2 +- libktorrent/kademlia/task.h | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) (limited to 'libktorrent/kademlia') diff --git a/libktorrent/kademlia/dht.h b/libktorrent/kademlia/dht.h index 11daf82..e3d9c35 100644 --- a/libktorrent/kademlia/dht.h +++ b/libktorrent/kademlia/dht.h @@ -64,7 +64,7 @@ namespace dht class DHT : public DHTBase { Q_OBJECT - TQ_OBJECT + public: DHT(); virtual ~DHT(); diff --git a/libktorrent/kademlia/dhtbase.h b/libktorrent/kademlia/dhtbase.h index 05699c8..dca5e58 100644 --- a/libktorrent/kademlia/dhtbase.h +++ b/libktorrent/kademlia/dhtbase.h @@ -51,7 +51,7 @@ namespace dht class DHTBase : public TQObject { Q_OBJECT - TQ_OBJECT + public: DHTBase(); virtual ~DHTBase(); diff --git a/libktorrent/kademlia/dhttrackerbackend.h b/libktorrent/kademlia/dhttrackerbackend.h index 91141c8..6c87413 100644 --- a/libktorrent/kademlia/dhttrackerbackend.h +++ b/libktorrent/kademlia/dhttrackerbackend.h @@ -47,7 +47,7 @@ namespace dht class DHTTrackerBackend : public kt::PeerSource { Q_OBJECT - TQ_OBJECT + public: DHTTrackerBackend(DHTBase & dh_table,kt::TorrentInterface* tor); virtual ~DHTTrackerBackend(); diff --git a/libktorrent/kademlia/kbucket.h b/libktorrent/kademlia/kbucket.h index efbaceb..cf065a9 100644 --- a/libktorrent/kademlia/kbucket.h +++ b/libktorrent/kademlia/kbucket.h @@ -143,7 +143,7 @@ namespace dht class KBucket : public RPCCallListener { Q_OBJECT - TQ_OBJECT + Uint32 idx; TQValueList entries,pending_entries; diff --git a/libktorrent/kademlia/node.h b/libktorrent/kademlia/node.h index abc7782..01646da 100644 --- a/libktorrent/kademlia/node.h +++ b/libktorrent/kademlia/node.h @@ -45,7 +45,7 @@ namespace dht class Node : public TQObject { Q_OBJECT - TQ_OBJECT + public: Node(RPCServer* srv,const TQString & key_file); virtual ~Node(); diff --git a/libktorrent/kademlia/rpccall.h b/libktorrent/kademlia/rpccall.h index 2a9682e..d7b5ee5 100644 --- a/libktorrent/kademlia/rpccall.h +++ b/libktorrent/kademlia/rpccall.h @@ -35,7 +35,7 @@ namespace dht class RPCCallListener : public TQObject { Q_OBJECT - TQ_OBJECT + public: RPCCallListener(); virtual ~RPCCallListener(); @@ -62,7 +62,7 @@ namespace dht class RPCCall : public TQObject { Q_OBJECT - TQ_OBJECT + public: RPCCall(RPCServer* rpc,MsgBase* msg,bool queued); virtual ~RPCCall(); diff --git a/libktorrent/kademlia/rpcserver.h b/libktorrent/kademlia/rpcserver.h index 0af88be..387daee 100644 --- a/libktorrent/kademlia/rpcserver.h +++ b/libktorrent/kademlia/rpcserver.h @@ -55,7 +55,7 @@ namespace dht class RPCServer : public TQObject { Q_OBJECT - TQ_OBJECT + public: RPCServer(DHT* dh_table,Uint16 port,TQObject *parent = 0); virtual ~RPCServer(); diff --git a/libktorrent/kademlia/task.h b/libktorrent/kademlia/task.h index 3d7189f..c5dd0e6 100644 --- a/libktorrent/kademlia/task.h +++ b/libktorrent/kademlia/task.h @@ -49,7 +49,7 @@ namespace dht class Task : public RPCCallListener { Q_OBJECT - TQ_OBJECT + public: /** * Create a task. -- cgit v1.2.1