summaryrefslogtreecommitdiffstats
path: root/src/upnpmanager.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-28 21:16:10 +0900
committerMichele Calgaro <[email protected]>2024-01-01 20:25:20 +0900
commit01627fbd795c62fb7f6e8f0bce8ae6cf3dc5b6de (patch)
tree6fc3295d8f5cf222b37b0721ed00b1a1f514cc96 /src/upnpmanager.cpp
parent166571710ff186cff2b09a83336f6aadc2c8340a (diff)
downloadtork-01627fbd795c62fb7f6e8f0bce8ae6cf3dc5b6de.tar.gz
tork-01627fbd795c62fb7f6e8f0bce8ae6cf3dc5b6de.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit a3180d7d508dc046a75a887d43a7e6b2d5f02468)
Diffstat (limited to 'src/upnpmanager.cpp')
-rw-r--r--src/upnpmanager.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/upnpmanager.cpp b/src/upnpmanager.cpp
index 8c95f15..1a84782 100644
--- a/src/upnpmanager.cpp
+++ b/src/upnpmanager.cpp
@@ -44,8 +44,8 @@ UPnPManager* UPnPManager::manager = 0;
: TQWidget(parent, name)
{
sock = new UPnPMCastSocket();
- connect(sock,SIGNAL(discovered( kt::UPnPRouter* )),
- this,SLOT(discovered( kt::UPnPRouter* )));
+ connect(sock,TQ_SIGNAL(discovered( kt::UPnPRouter* )),
+ this,TQ_SLOT(discovered( kt::UPnPRouter* )));
discover();
}
@@ -84,15 +84,15 @@ UPnPManager* UPnPManager::manager = 0;
TQValueList<kt::UPnPRouter*>::iterator r = discoveredRouters.begin();
while (r != discoveredRouters.end())
{
- disconnect((*r),SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
- this,SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
- disconnect((*r),SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
- this,SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
-
- connect((*r),SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
- this,SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
- connect((*r),SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
- this,SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
+ disconnect((*r),TQ_SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
+ this,TQ_SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
+ disconnect((*r),TQ_SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
+ this,TQ_SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
+
+ connect((*r),TQ_SIGNAL(replyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
+ this,TQ_SLOT(onReplyError(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
+ connect((*r),TQ_SIGNAL(replyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )),
+ this,TQ_SLOT(onReplyOK(kt::UPnPRouter*,bt::HTTPRequest* ,const TQString&, bool )));
for (net::ForwardPortList::ConstIterator i = forwardPorts.begin();
i != forwardPorts.end();i++)