summaryrefslogtreecommitdiffstats
path: root/plugins/zeroconf
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 17:47:34 +0900
commit27fd576acbb8b9453dadd7d1ae949396eef8fc12 (patch)
treeee739b602572a496ce9ca24318cf1b371dbd7174 /plugins/zeroconf
parent09d3e49e01a4b798762fd505810b092fd0c77b47 (diff)
downloadktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.tar.gz
ktorrent-27fd576acbb8b9453dadd7d1ae949396eef8fc12.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'plugins/zeroconf')
-rw-r--r--plugins/zeroconf/zeroconfplugin.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/zeroconf/zeroconfplugin.cpp b/plugins/zeroconf/zeroconfplugin.cpp
index d7e68d5..6307bdd 100644
--- a/plugins/zeroconf/zeroconfplugin.cpp
+++ b/plugins/zeroconf/zeroconfplugin.cpp
@@ -50,10 +50,10 @@ namespace kt
void ZeroConfPlugin::load()
{
CoreInterface* core = getCore();
- connect(core,TQT_SIGNAL(torrentAdded( kt::TorrentInterface* )),
- this,TQT_SLOT(torrentAdded( kt::TorrentInterface* )));
- connect(core,TQT_SIGNAL(torrentRemoved( kt::TorrentInterface* )),
- this,TQT_SLOT(torrentRemoved( kt::TorrentInterface* )));
+ connect(core,TQ_SIGNAL(torrentAdded( kt::TorrentInterface* )),
+ this,TQ_SLOT(torrentAdded( kt::TorrentInterface* )));
+ connect(core,TQ_SIGNAL(torrentRemoved( kt::TorrentInterface* )),
+ this,TQ_SLOT(torrentRemoved( kt::TorrentInterface* )));
// go over existing torrents and add them
bt::QueueManager* qman = core->getQueueManager();
@@ -66,10 +66,10 @@ namespace kt
void ZeroConfPlugin::unload()
{
CoreInterface* core = getCore();
- disconnect(core,TQT_SIGNAL(torrentAdded( kt::TorrentInterface* )),
- this,TQT_SLOT(torrentAdded( kt::TorrentInterface* )));
- disconnect(core,TQT_SIGNAL(torrentRemoved( kt::TorrentInterface* )),
- this,TQT_SLOT(torrentRemoved( kt::TorrentInterface*)));
+ disconnect(core,TQ_SIGNAL(torrentAdded( kt::TorrentInterface* )),
+ this,TQ_SLOT(torrentAdded( kt::TorrentInterface* )));
+ disconnect(core,TQ_SIGNAL(torrentRemoved( kt::TorrentInterface* )),
+ this,TQ_SLOT(torrentRemoved( kt::TorrentInterface*)));
bt::PtrMap<kt::TorrentInterface*,AvahiService>::iterator i = services.begin();
while (i != services.end())
@@ -93,8 +93,8 @@ namespace kt
tc->addPeerSource(av);
Out(SYS_ZCO|LOG_NOTICE) << "ZeroConf service added for "
<< tc->getStats().torrent_name << endl;
- connect(av,TQT_SIGNAL(serviceDestroyed( AvahiService* )),
- this,TQT_SLOT(avahiServiceDestroyed( AvahiService* )));
+ connect(av,TQ_SIGNAL(serviceDestroyed( AvahiService* )),
+ this,TQ_SLOT(avahiServiceDestroyed( AvahiService* )));
}