From 27fd576acbb8b9453dadd7d1ae949396eef8fc12 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 1 Jan 2024 17:47:34 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- plugins/zeroconf/zeroconfplugin.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'plugins/zeroconf/zeroconfplugin.cpp') 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::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* ))); } -- cgit v1.2.3