summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent/udptracker.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 17:47:34 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-01 20:24:02 +0900
commit657dd888c8a6bdc820669c441d9e1647b2ed0be1 (patch)
tree514013ec3bf94a3dc193789fbddb80ca48d09805 /libktorrent/torrent/udptracker.cpp
parent4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9 (diff)
downloadktorrent-657dd888c8a6bdc820669c441d9e1647b2ed0be1.tar.gz
ktorrent-657dd888c8a6bdc820669c441d9e1647b2ed0be1.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 27fd576acbb8b9453dadd7d1ae949396eef8fc12)
Diffstat (limited to 'libktorrent/torrent/udptracker.cpp')
-rw-r--r--libktorrent/torrent/udptracker.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libktorrent/torrent/udptracker.cpp b/libktorrent/torrent/udptracker.cpp
index 6f8a4e0..89f58b8 100644
--- a/libktorrent/torrent/udptracker.cpp
+++ b/libktorrent/torrent/udptracker.cpp
@@ -51,15 +51,15 @@ namespace bt
transaction_id = 0;
interval = 0;
- connect(&conn_timer,TQT_SIGNAL(timeout()),this,TQT_SLOT(onConnTimeout()));
- connect(socket,TQT_SIGNAL(announceRecieved(Int32, const TQByteArray &)),
- this,TQT_SLOT(announceRecieved(Int32, const TQByteArray& )));
- connect(socket,TQT_SIGNAL(connectRecieved(Int32, Int64 )),
- this,TQT_SLOT(connectRecieved(Int32, Int64 )));
- connect(socket,TQT_SIGNAL(error(Int32, const TQString& )),
- this,TQT_SLOT(onError(Int32, const TQString& )));
+ connect(&conn_timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(onConnTimeout()));
+ connect(socket,TQ_SIGNAL(announceRecieved(Int32, const TQByteArray &)),
+ this,TQ_SLOT(announceRecieved(Int32, const TQByteArray& )));
+ connect(socket,TQ_SIGNAL(connectRecieved(Int32, Int64 )),
+ this,TQ_SLOT(connectRecieved(Int32, Int64 )));
+ connect(socket,TQ_SIGNAL(error(Int32, const TQString& )),
+ this,TQ_SLOT(onError(Int32, const TQString& )));
- KResolver::resolveAsync(this,TQT_SLOT(onResolverResults(KResolverResults )),
+ KResolver::resolveAsync(this,TQ_SLOT(onResolverResults(KResolverResults )),
url.host(),TQString::number(url.port()));
}