diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 17:47:34 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-01 20:24:02 +0900 |
commit | 657dd888c8a6bdc820669c441d9e1647b2ed0be1 (patch) | |
tree | 514013ec3bf94a3dc193789fbddb80ca48d09805 /libktorrent/torrent/httptracker.cpp | |
parent | 4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9 (diff) | |
download | ktorrent-657dd888.tar.gz ktorrent-657dd888.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/httptracker.cpp')
-rw-r--r-- | libktorrent/torrent/httptracker.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/torrent/httptracker.cpp b/libktorrent/torrent/httptracker.cpp index 2367ca0..c6dd983 100644 --- a/libktorrent/torrent/httptracker.cpp +++ b/libktorrent/torrent/httptracker.cpp @@ -124,7 +124,7 @@ namespace bt j->setMetaData(md); TDEIO::Scheduler::scheduleJob(j); - connect(j,TQT_SIGNAL(result(TDEIO::Job* )),this,TQT_SLOT(onScrapeResult( TDEIO::Job* ))); + connect(j,TQ_SIGNAL(result(TDEIO::Job* )),this,TQ_SLOT(onScrapeResult( TDEIO::Job* ))); } void HTTPTracker::onScrapeResult(TDEIO::Job* j) @@ -188,7 +188,7 @@ namespace bt if (!url.isValid()) { requestPending(); - TQTimer::singleShot(500,this,TQT_SLOT(emitInvalidURLFailure())); + TQTimer::singleShot(500,this,TQ_SLOT(emitInvalidURLFailure())); return; } @@ -453,7 +453,7 @@ namespace bt j->setMetaData(md); TDEIO::Scheduler::scheduleJob(j); - connect(j,TQT_SIGNAL(result(TDEIO::Job* )),this,TQT_SLOT(onAnnounceResult( TDEIO::Job* ))); + connect(j,TQ_SIGNAL(result(TDEIO::Job* )),this,TQ_SLOT(onAnnounceResult( TDEIO::Job* ))); active_job = j; requestPending(); |