diff options
Diffstat (limited to 'src/upnpmanager.cpp')
-rw-r--r-- | src/upnpmanager.cpp | 22 |
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++) |