summaryrefslogtreecommitdiffstats
path: root/libktorrent
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 12:56:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-20 12:56:33 +0900
commit22521a5d98abf03cf740ccdd940e682e76b529d7 (patch)
treea32bf98c8e94a33754d2fe34b6787216805f6977 /libktorrent
parent784c049997d8ed3af085108f22a0fee1f42c5107 (diff)
downloadktorrent-22521a5d98abf03cf740ccdd940e682e76b529d7.tar.gz
ktorrent-22521a5d98abf03cf740ccdd940e682e76b529d7.zip
Replace Q_OBJECT with TQ_OBJECT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 5d7f8f0..6aa0709 100644
--- a/libktorrent/expandablewidget.h
+++ b/libktorrent/expandablewidget.h
@@ -42,7 +42,7 @@ namespace kt
*/
class ExpandableWidget : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/interfaces/coreinterface.h b/libktorrent/interfaces/coreinterface.h
index d3e80c9..f42c966 100644
--- a/libktorrent/interfaces/coreinterface.h
+++ b/libktorrent/interfaces/coreinterface.h
@@ -52,7 +52,7 @@ namespace kt
*/
class CoreInterface : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
CoreInterface();
diff --git a/libktorrent/interfaces/exitoperation.h b/libktorrent/interfaces/exitoperation.h
index 2a33f24..e9c0ae5 100644
--- a/libktorrent/interfaces/exitoperation.h
+++ b/libktorrent/interfaces/exitoperation.h
@@ -37,7 +37,7 @@ namespace kt
*/
class ExitOperation : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
ExitOperation();
@@ -54,7 +54,7 @@ namespace kt
*/
class ExitJobOperation : public ExitOperation
{
- Q_OBJECT
+ TQ_OBJECT
public:
ExitJobOperation(TDEIO::Job* j);
diff --git a/libktorrent/interfaces/peersource.h b/libktorrent/interfaces/peersource.h
index 4b3b82a..0b8a852 100644
--- a/libktorrent/interfaces/peersource.h
+++ b/libktorrent/interfaces/peersource.h
@@ -49,7 +49,7 @@ namespace kt
*/
class PeerSource : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
PeerSource();
diff --git a/libktorrent/interfaces/plugin.h b/libktorrent/interfaces/plugin.h
index c3e3f90..c2446e9 100644
--- a/libktorrent/interfaces/plugin.h
+++ b/libktorrent/interfaces/plugin.h
@@ -47,7 +47,7 @@ namespace kt
*/
class Plugin : public KParts::Plugin
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/interfaces/torrentfileinterface.h b/libktorrent/interfaces/torrentfileinterface.h
index 9795964..c9381a9 100644
--- a/libktorrent/interfaces/torrentfileinterface.h
+++ b/libktorrent/interfaces/torrentfileinterface.h
@@ -43,7 +43,7 @@ namespace kt
*/
class TorrentFileInterface : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/interfaces/torrentinterface.h b/libktorrent/interfaces/torrentinterface.h
index e76e00e..92b5f2c 100644
--- a/libktorrent/interfaces/torrentinterface.h
+++ b/libktorrent/interfaces/torrentinterface.h
@@ -181,7 +181,7 @@ namespace kt
*/
class TorrentInterface : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
TorrentInterface();
diff --git a/libktorrent/kademlia/dht.h b/libktorrent/kademlia/dht.h
index e3d9c35..0e6207d 100644
--- a/libktorrent/kademlia/dht.h
+++ b/libktorrent/kademlia/dht.h
@@ -63,7 +63,7 @@ namespace dht
*/
class DHT : public DHTBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
DHT();
diff --git a/libktorrent/kademlia/dhtbase.h b/libktorrent/kademlia/dhtbase.h
index dca5e58..57c42a6 100644
--- a/libktorrent/kademlia/dhtbase.h
+++ b/libktorrent/kademlia/dhtbase.h
@@ -50,7 +50,7 @@ namespace dht
*/
class DHTBase : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
DHTBase();
diff --git a/libktorrent/kademlia/dhttrackerbackend.h b/libktorrent/kademlia/dhttrackerbackend.h
index 6c87413..6994cdb 100644
--- a/libktorrent/kademlia/dhttrackerbackend.h
+++ b/libktorrent/kademlia/dhttrackerbackend.h
@@ -46,7 +46,7 @@ namespace dht
*/
class DHTTrackerBackend : public kt::PeerSource
{
- Q_OBJECT
+ TQ_OBJECT
public:
DHTTrackerBackend(DHTBase & dh_table,kt::TorrentInterface* tor);
diff --git a/libktorrent/kademlia/kbucket.h b/libktorrent/kademlia/kbucket.h
index cf065a9..a31b713 100644
--- a/libktorrent/kademlia/kbucket.h
+++ b/libktorrent/kademlia/kbucket.h
@@ -142,7 +142,7 @@ namespace dht
*/
class KBucket : public RPCCallListener
{
- Q_OBJECT
+ TQ_OBJECT
Uint32 idx;
diff --git a/libktorrent/kademlia/node.h b/libktorrent/kademlia/node.h
index 01646da..38ddd38 100644
--- a/libktorrent/kademlia/node.h
+++ b/libktorrent/kademlia/node.h
@@ -44,7 +44,7 @@ namespace dht
*/
class Node : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
Node(RPCServer* srv,const TQString & key_file);
diff --git a/libktorrent/kademlia/rpccall.h b/libktorrent/kademlia/rpccall.h
index d7b5ee5..1b718d9 100644
--- a/libktorrent/kademlia/rpccall.h
+++ b/libktorrent/kademlia/rpccall.h
@@ -34,7 +34,7 @@ namespace dht
*/
class RPCCallListener : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
RPCCallListener();
@@ -61,7 +61,7 @@ namespace dht
*/
class RPCCall : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
RPCCall(RPCServer* rpc,MsgBase* msg,bool queued);
diff --git a/libktorrent/kademlia/rpcserver.h b/libktorrent/kademlia/rpcserver.h
index b555fb4..19af2f8 100644
--- a/libktorrent/kademlia/rpcserver.h
+++ b/libktorrent/kademlia/rpcserver.h
@@ -54,7 +54,7 @@ namespace dht
*/
class RPCServer : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
RPCServer(DHT* dh_table,Uint16 port,TQObject *parent = 0);
diff --git a/libktorrent/kademlia/task.h b/libktorrent/kademlia/task.h
index c5dd0e6..c54470b 100644
--- a/libktorrent/kademlia/task.h
+++ b/libktorrent/kademlia/task.h
@@ -48,7 +48,7 @@ namespace dht
*/
class Task : public RPCCallListener
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/labelview.h b/libktorrent/labelview.h
index bfd816c..4cdcb64 100644
--- a/libktorrent/labelview.h
+++ b/libktorrent/labelview.h
@@ -37,7 +37,7 @@ namespace kt
*/
class LabelViewItem : public LabelViewItemBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
LabelViewItem(const TQString & icon,const TQString & title,const TQString & description,LabelView* view);
@@ -82,7 +82,7 @@ namespace kt
*/
class LabelView : public TQScrollView
{
- Q_OBJECT
+ TQ_OBJECT
public:
LabelView(TQWidget *parent = 0, const char *name = 0);
diff --git a/libktorrent/mse/encryptedauthenticate.h b/libktorrent/mse/encryptedauthenticate.h
index 729f18f..85c591b 100644
--- a/libktorrent/mse/encryptedauthenticate.h
+++ b/libktorrent/mse/encryptedauthenticate.h
@@ -38,7 +38,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);
diff --git a/libktorrent/mse/encryptedserverauthenticate.h b/libktorrent/mse/encryptedserverauthenticate.h
index 1868d48..bcdc13a 100644
--- a/libktorrent/mse/encryptedserverauthenticate.h
+++ b/libktorrent/mse/encryptedserverauthenticate.h
@@ -35,7 +35,7 @@ namespace mse
*/
class EncryptedServerAuthenticate : public bt::ServerAuthenticate
{
- Q_OBJECT
+ TQ_OBJECT
public:
EncryptedServerAuthenticate(mse::StreamSocket* sock, bt::Server* server);
diff --git a/libktorrent/mse/streamsocket.h b/libktorrent/mse/streamsocket.h
index 7448296..c653e5d 100644
--- a/libktorrent/mse/streamsocket.h
+++ b/libktorrent/mse/streamsocket.h
@@ -54,7 +54,7 @@ namespace mse
*/
class StreamSocket : public TQObject,public net::SocketReader,public net::SocketWriter
{
- Q_OBJECT
+ TQ_OBJECT
public:
StreamSocket();
diff --git a/libktorrent/pluginmanagerprefpage.h b/libktorrent/pluginmanagerprefpage.h
index 72376aa..7caa75a 100644
--- a/libktorrent/pluginmanagerprefpage.h
+++ b/libktorrent/pluginmanagerprefpage.h
@@ -38,7 +38,7 @@ namespace kt
*/
class PluginManagerPrefPage : public TQObject,public PrefPageInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
PluginManagerPrefPage(PluginManager* pman);
diff --git a/libktorrent/torrent/authenticate.h b/libktorrent/torrent/authenticate.h
index 0aeb499..eceda08 100644
--- a/libktorrent/torrent/authenticate.h
+++ b/libktorrent/torrent/authenticate.h
@@ -43,7 +43,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 2be4ad5..a425118 100644
--- a/libktorrent/torrent/authenticatebase.h
+++ b/libktorrent/torrent/authenticatebase.h
@@ -47,7 +47,7 @@ namespace bt
*/
class AuthenticateBase : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
AuthenticateBase(mse::StreamSocket* s = 0);
diff --git a/libktorrent/torrent/chunkdownload.h b/libktorrent/torrent/chunkdownload.h
index 5c89017..a432c28 100644
--- a/libktorrent/torrent/chunkdownload.h
+++ b/libktorrent/torrent/chunkdownload.h
@@ -61,7 +61,7 @@ namespace bt
*/
class ChunkDownload : public TQObject,public kt::ChunkDownloadInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/torrent/chunkmanager.h b/libktorrent/torrent/chunkmanager.h
index fa6491a..bbf81df 100644
--- a/libktorrent/torrent/chunkmanager.h
+++ b/libktorrent/torrent/chunkmanager.h
@@ -60,7 +60,7 @@ namespace bt
*/
class ChunkManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
Torrent & tor;
diff --git a/libktorrent/torrent/downloader.h b/libktorrent/torrent/downloader.h
index 6c470a1..5cafc6f 100644
--- a/libktorrent/torrent/downloader.h
+++ b/libktorrent/torrent/downloader.h
@@ -66,7 +66,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 8457934..1037bf2 100644
--- a/libktorrent/torrent/httptracker.h
+++ b/libktorrent/torrent/httptracker.h
@@ -41,7 +41,7 @@ namespace bt
*/
class HTTPTracker : public Tracker
{
- Q_OBJECT
+ TQ_OBJECT
public:
HTTPTracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier);
diff --git a/libktorrent/torrent/movedatafilesjob.h b/libktorrent/torrent/movedatafilesjob.h
index ff5d0bc..afc98ca 100644
--- a/libktorrent/torrent/movedatafilesjob.h
+++ b/libktorrent/torrent/movedatafilesjob.h
@@ -31,7 +31,7 @@ namespace bt
*/
class MoveDataFilesJob : public TDEIO::Job
{
- Q_OBJECT
+ TQ_OBJECT
public:
MoveDataFilesJob();
diff --git a/libktorrent/torrent/peer.h b/libktorrent/torrent/peer.h
index c5dd974..549ab5d 100644
--- a/libktorrent/torrent/peer.h
+++ b/libktorrent/torrent/peer.h
@@ -67,7 +67,7 @@ namespace bt
class Peer : public TQObject, public kt::PeerInterface
//,public Object
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/torrent/peerdownloader.h b/libktorrent/torrent/peerdownloader.h
index 16957e3..5b22739 100644
--- a/libktorrent/torrent/peerdownloader.h
+++ b/libktorrent/torrent/peerdownloader.h
@@ -93,7 +93,7 @@ namespace bt
*/
class PeerDownloader : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/torrent/peermanager.h b/libktorrent/torrent/peermanager.h
index 33492c5..1a87dbb 100644
--- a/libktorrent/torrent/peermanager.h
+++ b/libktorrent/torrent/peermanager.h
@@ -55,7 +55,7 @@ namespace bt
*/
class PeerManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/torrent/peersourcemanager.h b/libktorrent/torrent/peersourcemanager.h
index e6ef3e6..e7de4f8 100644
--- a/libktorrent/torrent/peersourcemanager.h
+++ b/libktorrent/torrent/peersourcemanager.h
@@ -50,7 +50,7 @@ namespace bt
*/
class PeerSourceManager : public TQObject, public kt::TrackersList
{
- Q_OBJECT
+ TQ_OBJECT
TorrentControl* tor;
diff --git a/libktorrent/torrent/queuemanager.h b/libktorrent/torrent/queuemanager.h
index a51e9ec..96bc586 100644
--- a/libktorrent/torrent/queuemanager.h
+++ b/libktorrent/torrent/queuemanager.h
@@ -55,7 +55,7 @@ namespace bt
*/
class QueueManager : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
diff --git a/libktorrent/torrent/server.h b/libktorrent/torrent/server.h
index 3129fd2..6d994a2 100644
--- a/libktorrent/torrent/server.h
+++ b/libktorrent/torrent/server.h
@@ -44,7 +44,7 @@ namespace bt
*/
class Server : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
TQPtrList<PeerManager> peer_managers;
diff --git a/libktorrent/torrent/serverauthenticate.h b/libktorrent/torrent/serverauthenticate.h
index bc65cba..63ebff8 100644
--- a/libktorrent/torrent/serverauthenticate.h
+++ b/libktorrent/torrent/serverauthenticate.h
@@ -37,7 +37,7 @@ namespace bt
*/
class ServerAuthenticate : public AuthenticateBase
{
- Q_OBJECT
+ TQ_OBJECT
public:
ServerAuthenticate(mse::StreamSocket* sock,Server* server);
diff --git a/libktorrent/torrent/torrentcontrol.h b/libktorrent/torrent/torrentcontrol.h
index 885e9fe..14fd6f6 100644
--- a/libktorrent/torrent/torrentcontrol.h
+++ b/libktorrent/torrent/torrentcontrol.h
@@ -67,7 +67,7 @@ namespace bt
*/
class TorrentControl : public kt::TorrentInterface
{
- Q_OBJECT
+ TQ_OBJECT
public:
TorrentControl();
diff --git a/libktorrent/torrent/torrentfile.h b/libktorrent/torrent/torrentfile.h
index 7c22611..f2a96a7 100644
--- a/libktorrent/torrent/torrentfile.h
+++ b/libktorrent/torrent/torrentfile.h
@@ -37,7 +37,7 @@ namespace bt
*/
class TorrentFile : public kt::TorrentFileInterface
{
- Q_OBJECT
+ TQ_OBJECT
Uint32 index;
diff --git a/libktorrent/torrent/tracker.h b/libktorrent/torrent/tracker.h
index 7a58264..72c9468 100644
--- a/libktorrent/torrent/tracker.h
+++ b/libktorrent/torrent/tracker.h
@@ -43,7 +43,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);
diff --git a/libktorrent/torrent/udptracker.h b/libktorrent/torrent/udptracker.h
index 648aa8a..2da26d8 100644
--- a/libktorrent/torrent/udptracker.h
+++ b/libktorrent/torrent/udptracker.h
@@ -61,7 +61,7 @@ namespace bt
*/
class UDPTracker : public Tracker
{
- Q_OBJECT
+ TQ_OBJECT
public:
UDPTracker(const KURL & url,kt::TorrentInterface* tor,const PeerID & id,int tier);
diff --git a/libktorrent/torrent/udptrackersocket.h b/libktorrent/torrent/udptrackersocket.h
index a926b8c..5b48f18 100644
--- a/libktorrent/torrent/udptrackersocket.h
+++ b/libktorrent/torrent/udptrackersocket.h
@@ -53,7 +53,7 @@ namespace bt
*/
class UDPTrackerSocket : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
UDPTrackerSocket();
diff --git a/libktorrent/torrent/uploader.h b/libktorrent/torrent/uploader.h
index aa4f099..06ce331 100644
--- a/libktorrent/torrent/uploader.h
+++ b/libktorrent/torrent/uploader.h
@@ -40,7 +40,7 @@ namespace bt
*/
class Uploader : public TQObject
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/util/autorotatelogjob.h b/libktorrent/util/autorotatelogjob.h
index bde477a..222a99c 100644
--- a/libktorrent/util/autorotatelogjob.h
+++ b/libktorrent/util/autorotatelogjob.h
@@ -35,7 +35,7 @@ namespace bt
*/
class AutoRotateLogJob : public TDEIO::Job
{
- Q_OBJECT
+ TQ_OBJECT
public:
AutoRotateLogJob(const TQString & file,Log* lg);
diff --git a/libktorrent/util/httprequest.h b/libktorrent/util/httprequest.h
index f472c07..fd9e7b7 100644
--- a/libktorrent/util/httprequest.h
+++ b/libktorrent/util/httprequest.h
@@ -40,7 +40,7 @@ namespace bt
*/
class HTTPRequest : public kt::ExitOperation
{
- Q_OBJECT
+ TQ_OBJECT
public:
/**
diff --git a/libktorrent/util/waitjob.h b/libktorrent/util/waitjob.h
index b4c44bc..6f9bdd5 100644
--- a/libktorrent/util/waitjob.h
+++ b/libktorrent/util/waitjob.h
@@ -37,7 +37,7 @@ namespace bt
*/
class WaitJob : public TDEIO::Job
{
- Q_OBJECT
+ TQ_OBJECT
public:
WaitJob(Uint32 millis);