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 /plugins/upnp/upnpmcastsocket.cpp | |
parent | 4caf6f3c92ecc2c41a5a1fe425d4eecc35cfe0e9 (diff) | |
download | ktorrent-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 'plugins/upnp/upnpmcastsocket.cpp')
-rw-r--r-- | plugins/upnp/upnpmcastsocket.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/plugins/upnp/upnpmcastsocket.cpp b/plugins/upnp/upnpmcastsocket.cpp index 0172ed2..91c9dd9 100644 --- a/plugins/upnp/upnpmcastsocket.cpp +++ b/plugins/upnp/upnpmcastsocket.cpp @@ -47,8 +47,8 @@ namespace kt UPnPMCastSocket::UPnPMCastSocket(bool verbose) : verbose(verbose) { routers.setAutoDelete(true); - TQObject::connect(this,TQT_SIGNAL(readyRead()),this,TQT_SLOT(onReadyRead())); - TQObject::connect(this,TQT_SIGNAL(gotError(int)),this,TQT_SLOT(onError(int))); + TQObject::connect(this,TQ_SIGNAL(readyRead()),this,TQ_SLOT(onReadyRead())); + TQObject::connect(this,TQ_SIGNAL(gotError(int)),this,TQ_SLOT(onError(int))); setAddressReuseable(true); setFamily(KNetwork::KResolver::IPv4Family); setBlocking(true); @@ -67,8 +67,8 @@ namespace kt UPnPMCastSocket::~UPnPMCastSocket() { leaveUPnPMCastGroup(); - TQObject::disconnect(this,TQT_SIGNAL(readyRead()),this,TQT_SLOT(onReadyRead())); - TQObject::disconnect(this,TQT_SIGNAL(gotError(int)),this,TQT_SLOT(onError(int))); + TQObject::disconnect(this,TQ_SIGNAL(readyRead()),this,TQ_SLOT(onReadyRead())); + TQObject::disconnect(this,TQ_SIGNAL(gotError(int)),this,TQ_SLOT(onError(int))); } void UPnPMCastSocket::discover() @@ -142,8 +142,8 @@ namespace kt UPnPRouter* r = parseResponse(p.data()); if (r) { - TQObject::connect(r,TQT_SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )), - this,TQT_SLOT(onXmlFileDownloaded( UPnPRouter*, bool ))); + TQObject::connect(r,TQ_SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )), + this,TQ_SLOT(onXmlFileDownloaded( UPnPRouter*, bool ))); // download it's xml file r->downloadXMLFile(); @@ -269,7 +269,7 @@ namespace kt { UPnPRouter* r = new UPnPRouter(server,location); // download it's xml file - TQObject::connect(r,TQT_SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )),this,TQT_SLOT(onXmlFileDownloaded( UPnPRouter*, bool ))); + TQObject::connect(r,TQ_SIGNAL(xmlFileDownloaded( UPnPRouter*, bool )),this,TQ_SLOT(onXmlFileDownloaded( UPnPRouter*, bool ))); r->downloadXMLFile(); } } |