summaryrefslogtreecommitdiffstats
path: root/libktorrent
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent')
-rw-r--r--libktorrent/expandablewidget.h2
-rw-r--r--libktorrent/interfaces/coreinterface.h2
-rw-r--r--libktorrent/interfaces/exitoperation.h4
-rw-r--r--libktorrent/interfaces/peersource.h2
-rw-r--r--libktorrent/interfaces/plugin.h2
-rw-r--r--libktorrent/interfaces/torrentfileinterface.h2
-rw-r--r--libktorrent/interfaces/torrentinterface.h2
-rw-r--r--libktorrent/kademlia/dht.h2
-rw-r--r--libktorrent/kademlia/dhtbase.h2
-rw-r--r--libktorrent/kademlia/dhttrackerbackend.h2
-rw-r--r--libktorrent/kademlia/kbucket.h2
-rw-r--r--libktorrent/kademlia/node.h2
-rw-r--r--libktorrent/kademlia/rpccall.h4
-rw-r--r--libktorrent/kademlia/rpcserver.h2
-rw-r--r--libktorrent/kademlia/task.h2
-rw-r--r--libktorrent/labelview.h4
-rw-r--r--libktorrent/mse/encryptedauthenticate.h2
-rw-r--r--libktorrent/mse/encryptedserverauthenticate.h2
-rw-r--r--libktorrent/mse/streamsocket.h2
-rw-r--r--libktorrent/pluginmanagerprefpage.h2
-rw-r--r--libktorrent/torrent/authenticate.h2
-rw-r--r--libktorrent/torrent/authenticatebase.h2
-rw-r--r--libktorrent/torrent/chunkdownload.h2
-rw-r--r--libktorrent/torrent/chunkmanager.h2
-rw-r--r--libktorrent/torrent/downloader.h2
-rw-r--r--libktorrent/torrent/httptracker.h2
-rw-r--r--libktorrent/torrent/movedatafilesjob.h2
-rw-r--r--libktorrent/torrent/peer.h2
-rw-r--r--libktorrent/torrent/peerdownloader.h2
-rw-r--r--libktorrent/torrent/peermanager.h2
-rw-r--r--libktorrent/torrent/peersourcemanager.h2
-rw-r--r--libktorrent/torrent/queuemanager.h2
-rw-r--r--libktorrent/torrent/server.h2
-rw-r--r--libktorrent/torrent/serverauthenticate.h2
-rw-r--r--libktorrent/torrent/torrentcontrol.h2
-rw-r--r--libktorrent/torrent/torrentfile.h2
-rw-r--r--libktorrent/torrent/tracker.h2
-rw-r--r--libktorrent/torrent/udptracker.h2
-rw-r--r--libktorrent/torrent/udptrackersocket.h2
-rw-r--r--libktorrent/torrent/uploader.h2
-rw-r--r--libktorrent/util/autorotatelogjob.h2
-rw-r--r--libktorrent/util/httprequest.h2
-rw-r--r--libktorrent/util/waitjob.h2
43 files changed, 46 insertions, 46 deletions
diff --git a/libktorrent/expandablewidget.h b/libktorrent/expandablewidget.h
index bf76dbb..5d7f8f0 100644
--- a/libktorrent/expandablewidget.h
+++ b/libktorrent/expandablewidget.h
@@ -43,7 +43,7 @@ namespace kt
class ExpandableWidget : public TQWidget
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, the first child must be provided.
diff --git a/libktorrent/interfaces/coreinterface.h b/libktorrent/interfaces/coreinterface.h
index 9ca2ae1..d3e80c9 100644
--- a/libktorrent/interfaces/coreinterface.h
+++ b/libktorrent/interfaces/coreinterface.h
@@ -53,7 +53,7 @@ namespace kt
class CoreInterface : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
CoreInterface();
virtual ~CoreInterface();
diff --git a/libktorrent/interfaces/exitoperation.h b/libktorrent/interfaces/exitoperation.h
index 4cad283..631acb4 100644
--- a/libktorrent/interfaces/exitoperation.h
+++ b/libktorrent/interfaces/exitoperation.h
@@ -38,7 +38,7 @@ namespace kt
class ExitOperation : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
ExitOperation();
virtual ~ExitOperation();
@@ -55,7 +55,7 @@ namespace kt
class ExitJobOperation : public ExitOperation
{
Q_OBJECT
- TQ_OBJECT
+
public:
ExitJobOperation(KIO::Job* j);
virtual ~ExitJobOperation();
diff --git a/libktorrent/interfaces/peersource.h b/libktorrent/interfaces/peersource.h
index c7aa73d..4b3b82a 100644
--- a/libktorrent/interfaces/peersource.h
+++ b/libktorrent/interfaces/peersource.h
@@ -50,7 +50,7 @@ namespace kt
class PeerSource : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
PeerSource();
virtual ~PeerSource();
diff --git a/libktorrent/interfaces/plugin.h b/libktorrent/interfaces/plugin.h
index 9c72a0f..64829dc 100644
--- a/libktorrent/interfaces/plugin.h
+++ b/libktorrent/interfaces/plugin.h
@@ -48,7 +48,7 @@ namespace kt
class Plugin : public KParts::Plugin
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, set the name of the plugin, the name and e-mail of the author and
diff --git a/libktorrent/interfaces/torrentfileinterface.h b/libktorrent/interfaces/torrentfileinterface.h
index bf30f1e..9795964 100644
--- a/libktorrent/interfaces/torrentfileinterface.h
+++ b/libktorrent/interfaces/torrentfileinterface.h
@@ -44,7 +44,7 @@ namespace kt
class TorrentFileInterface : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, set the path and size.
diff --git a/libktorrent/interfaces/torrentinterface.h b/libktorrent/interfaces/torrentinterface.h
index 4ab3c74..8b21854 100644
--- a/libktorrent/interfaces/torrentinterface.h
+++ b/libktorrent/interfaces/torrentinterface.h
@@ -182,7 +182,7 @@ namespace kt
class TorrentInterface : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
TorrentInterface();
virtual ~TorrentInterface();
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<KBucketEntry> 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.
diff --git a/libktorrent/labelview.h b/libktorrent/labelview.h
index eba2036..bfd816c 100644
--- a/libktorrent/labelview.h
+++ b/libktorrent/labelview.h
@@ -38,7 +38,7 @@ namespace kt
class LabelViewItem : public LabelViewItemBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
LabelViewItem(const TQString & icon,const TQString & title,const TQString & description,LabelView* view);
virtual ~LabelViewItem();
@@ -83,7 +83,7 @@ namespace kt
class LabelView : public TQScrollView
{
Q_OBJECT
- TQ_OBJECT
+
public:
LabelView(TQWidget *parent = 0, const char *name = 0);
virtual ~LabelView();
diff --git a/libktorrent/mse/encryptedauthenticate.h b/libktorrent/mse/encryptedauthenticate.h
index 1ab8192..729f18f 100644
--- a/libktorrent/mse/encryptedauthenticate.h
+++ b/libktorrent/mse/encryptedauthenticate.h
@@ -39,7 +39,7 @@ namespace mse
class EncryptedAuthenticate : public bt::Authenticate
{
Q_OBJECT
- TQ_OBJECT
+
public:
EncryptedAuthenticate(const TQString& ip, Uint16 port, const bt::SHA1Hash& info_hash, const bt::PeerID& peer_id, bt::PeerManager* pman);
virtual ~EncryptedAuthenticate();
diff --git a/libktorrent/mse/encryptedserverauthenticate.h b/libktorrent/mse/encryptedserverauthenticate.h
index b5df3ff..1868d48 100644
--- a/libktorrent/mse/encryptedserverauthenticate.h
+++ b/libktorrent/mse/encryptedserverauthenticate.h
@@ -36,7 +36,7 @@ namespace mse
class EncryptedServerAuthenticate : public bt::ServerAuthenticate
{
Q_OBJECT
- TQ_OBJECT
+
public:
EncryptedServerAuthenticate(mse::StreamSocket* sock, bt::Server* server);
virtual ~EncryptedServerAuthenticate();
diff --git a/libktorrent/mse/streamsocket.h b/libktorrent/mse/streamsocket.h
index 6cfa6d8..7448296 100644
--- a/libktorrent/mse/streamsocket.h
+++ b/libktorrent/mse/streamsocket.h
@@ -55,7 +55,7 @@ namespace mse
class StreamSocket : public TQObject,public net::SocketReader,public net::SocketWriter
{
Q_OBJECT
- TQ_OBJECT
+
public:
StreamSocket();
StreamSocket(int fd);
diff --git a/libktorrent/pluginmanagerprefpage.h b/libktorrent/pluginmanagerprefpage.h
index 8585246..72376aa 100644
--- a/libktorrent/pluginmanagerprefpage.h
+++ b/libktorrent/pluginmanagerprefpage.h
@@ -39,7 +39,7 @@ namespace kt
class PluginManagerPrefPage : public TQObject,public PrefPageInterface
{
Q_OBJECT
- TQ_OBJECT
+
public:
PluginManagerPrefPage(PluginManager* pman);
virtual ~PluginManagerPrefPage();
diff --git a/libktorrent/torrent/authenticate.h b/libktorrent/torrent/authenticate.h
index 36e6d05..0aeb499 100644
--- a/libktorrent/torrent/authenticate.h
+++ b/libktorrent/torrent/authenticate.h
@@ -44,7 +44,7 @@ namespace bt
class Authenticate : public AuthenticateBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
diff --git a/libktorrent/torrent/authenticatebase.h b/libktorrent/torrent/authenticatebase.h
index 87c851b..2be4ad5 100644
--- a/libktorrent/torrent/authenticatebase.h
+++ b/libktorrent/torrent/authenticatebase.h
@@ -48,7 +48,7 @@ namespace bt
class AuthenticateBase : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
AuthenticateBase(mse::StreamSocket* s = 0);
virtual ~AuthenticateBase();
diff --git a/libktorrent/torrent/chunkdownload.h b/libktorrent/torrent/chunkdownload.h
index 83fd3e3..5c89017 100644
--- a/libktorrent/torrent/chunkdownload.h
+++ b/libktorrent/torrent/chunkdownload.h
@@ -62,7 +62,7 @@ namespace bt
class ChunkDownload : public TQObject,public kt::ChunkDownloadInterface
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, set the chunk and the PeerManager.
diff --git a/libktorrent/torrent/chunkmanager.h b/libktorrent/torrent/chunkmanager.h
index 2ff2ca7..19a0a30 100644
--- a/libktorrent/torrent/chunkmanager.h
+++ b/libktorrent/torrent/chunkmanager.h
@@ -61,7 +61,7 @@ namespace bt
class ChunkManager : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
Torrent & tor;
TQString index_file,file_info_file,file_priority_file;
diff --git a/libktorrent/torrent/downloader.h b/libktorrent/torrent/downloader.h
index fece8a6..6c470a1 100644
--- a/libktorrent/torrent/downloader.h
+++ b/libktorrent/torrent/downloader.h
@@ -67,7 +67,7 @@ namespace bt
class Downloader : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
diff --git a/libktorrent/torrent/httptracker.h b/libktorrent/torrent/httptracker.h
index effb4b7..b9433cd 100644
--- a/libktorrent/torrent/httptracker.h
+++ b/libktorrent/torrent/httptracker.h
@@ -42,7 +42,7 @@ namespace bt
class HTTPTracker : public Tracker
{
Q_OBJECT
- TQ_OBJECT
+
public:
HTTPTracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier);
virtual ~HTTPTracker();
diff --git a/libktorrent/torrent/movedatafilesjob.h b/libktorrent/torrent/movedatafilesjob.h
index 272ac14..22e7e60 100644
--- a/libktorrent/torrent/movedatafilesjob.h
+++ b/libktorrent/torrent/movedatafilesjob.h
@@ -32,7 +32,7 @@ namespace bt
class MoveDataFilesJob : public KIO::Job
{
Q_OBJECT
- TQ_OBJECT
+
public:
MoveDataFilesJob();
virtual ~MoveDataFilesJob();
diff --git a/libktorrent/torrent/peer.h b/libktorrent/torrent/peer.h
index bb487aa..c5dd974 100644
--- a/libktorrent/torrent/peer.h
+++ b/libktorrent/torrent/peer.h
@@ -68,7 +68,7 @@ namespace bt
//,public Object
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, set the socket.
diff --git a/libktorrent/torrent/peerdownloader.h b/libktorrent/torrent/peerdownloader.h
index 6173c97..16957e3 100644
--- a/libktorrent/torrent/peerdownloader.h
+++ b/libktorrent/torrent/peerdownloader.h
@@ -94,7 +94,7 @@ namespace bt
class PeerDownloader : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, set the Peer
diff --git a/libktorrent/torrent/peermanager.h b/libktorrent/torrent/peermanager.h
index df55beb..33492c5 100644
--- a/libktorrent/torrent/peermanager.h
+++ b/libktorrent/torrent/peermanager.h
@@ -56,7 +56,7 @@ namespace bt
class PeerManager : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor.
diff --git a/libktorrent/torrent/peersourcemanager.h b/libktorrent/torrent/peersourcemanager.h
index d256397..e6ef3e6 100644
--- a/libktorrent/torrent/peersourcemanager.h
+++ b/libktorrent/torrent/peersourcemanager.h
@@ -51,7 +51,7 @@ namespace bt
class PeerSourceManager : public TQObject, public kt::TrackersList
{
Q_OBJECT
- TQ_OBJECT
+
TorrentControl* tor;
PeerManager* pman;
diff --git a/libktorrent/torrent/queuemanager.h b/libktorrent/torrent/queuemanager.h
index 9771f53..26b1012 100644
--- a/libktorrent/torrent/queuemanager.h
+++ b/libktorrent/torrent/queuemanager.h
@@ -56,7 +56,7 @@ namespace bt
class QueueManager : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
QueueManager();
diff --git a/libktorrent/torrent/server.h b/libktorrent/torrent/server.h
index b53c2da..3129fd2 100644
--- a/libktorrent/torrent/server.h
+++ b/libktorrent/torrent/server.h
@@ -45,7 +45,7 @@ namespace bt
class Server : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
TQPtrList<PeerManager> peer_managers;
ServerSocket* sock;
diff --git a/libktorrent/torrent/serverauthenticate.h b/libktorrent/torrent/serverauthenticate.h
index 3a1c320..bc65cba 100644
--- a/libktorrent/torrent/serverauthenticate.h
+++ b/libktorrent/torrent/serverauthenticate.h
@@ -38,7 +38,7 @@ namespace bt
class ServerAuthenticate : public AuthenticateBase
{
Q_OBJECT
- TQ_OBJECT
+
public:
ServerAuthenticate(mse::StreamSocket* sock,Server* server);
virtual ~ServerAuthenticate();
diff --git a/libktorrent/torrent/torrentcontrol.h b/libktorrent/torrent/torrentcontrol.h
index c017728..8313afe 100644
--- a/libktorrent/torrent/torrentcontrol.h
+++ b/libktorrent/torrent/torrentcontrol.h
@@ -68,7 +68,7 @@ namespace bt
class TorrentControl : public kt::TorrentInterface
{
Q_OBJECT
- TQ_OBJECT
+
public:
TorrentControl();
virtual ~TorrentControl();
diff --git a/libktorrent/torrent/torrentfile.h b/libktorrent/torrent/torrentfile.h
index 9a1d494..7c22611 100644
--- a/libktorrent/torrent/torrentfile.h
+++ b/libktorrent/torrent/torrentfile.h
@@ -38,7 +38,7 @@ namespace bt
class TorrentFile : public kt::TorrentFileInterface
{
Q_OBJECT
- TQ_OBJECT
+
Uint32 index;
Uint64 cache_offset;
diff --git a/libktorrent/torrent/tracker.h b/libktorrent/torrent/tracker.h
index a017f9e..7a58264 100644
--- a/libktorrent/torrent/tracker.h
+++ b/libktorrent/torrent/tracker.h
@@ -44,7 +44,7 @@ namespace bt
class Tracker : public kt::PeerSource
{
Q_OBJECT
- TQ_OBJECT
+
public:
Tracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier);
virtual ~Tracker();
diff --git a/libktorrent/torrent/udptracker.h b/libktorrent/torrent/udptracker.h
index 85bc21e..240a4ff 100644
--- a/libktorrent/torrent/udptracker.h
+++ b/libktorrent/torrent/udptracker.h
@@ -62,7 +62,7 @@ namespace bt
class UDPTracker : public Tracker
{
Q_OBJECT
- TQ_OBJECT
+
public:
UDPTracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier);
virtual ~UDPTracker();
diff --git a/libktorrent/torrent/udptrackersocket.h b/libktorrent/torrent/udptrackersocket.h
index 7992cdd..2f2900b 100644
--- a/libktorrent/torrent/udptrackersocket.h
+++ b/libktorrent/torrent/udptrackersocket.h
@@ -54,7 +54,7 @@ namespace bt
class UDPTrackerSocket : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
UDPTrackerSocket();
virtual ~UDPTrackerSocket();
diff --git a/libktorrent/torrent/uploader.h b/libktorrent/torrent/uploader.h
index 0950780..aa4f099 100644
--- a/libktorrent/torrent/uploader.h
+++ b/libktorrent/torrent/uploader.h
@@ -41,7 +41,7 @@ namespace bt
class Uploader : public TQObject
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, sets the ChunkManager.
diff --git a/libktorrent/util/autorotatelogjob.h b/libktorrent/util/autorotatelogjob.h
index ae850b3..37e82a7 100644
--- a/libktorrent/util/autorotatelogjob.h
+++ b/libktorrent/util/autorotatelogjob.h
@@ -36,7 +36,7 @@ namespace bt
class AutoRotateLogJob : public KIO::Job
{
Q_OBJECT
- TQ_OBJECT
+
public:
AutoRotateLogJob(const TQString & file,Log* lg);
virtual ~AutoRotateLogJob();
diff --git a/libktorrent/util/httprequest.h b/libktorrent/util/httprequest.h
index 524b3b2..f472c07 100644
--- a/libktorrent/util/httprequest.h
+++ b/libktorrent/util/httprequest.h
@@ -41,7 +41,7 @@ namespace bt
class HTTPRequest : public kt::ExitOperation
{
Q_OBJECT
- TQ_OBJECT
+
public:
/**
* Constructor, set the url and the request header.
diff --git a/libktorrent/util/waitjob.h b/libktorrent/util/waitjob.h
index 33b73f5..c0754d6 100644
--- a/libktorrent/util/waitjob.h
+++ b/libktorrent/util/waitjob.h
@@ -38,7 +38,7 @@ namespace bt
class WaitJob : public KIO::Job
{
Q_OBJECT
- TQ_OBJECT
+
public:
WaitJob(Uint32 millis);
virtual ~WaitJob();