diff options
author | Michele Calgaro <[email protected]> | 2023-12-28 21:16:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-28 21:38:27 +0900 |
commit | a3180d7d508dc046a75a887d43a7e6b2d5f02468 (patch) | |
tree | 6fc3295d8f5cf222b37b0721ed00b1a1f514cc96 /src/upnp/upnprouter.cpp | |
parent | fe71db0569f2ab1aa559a031aa9ad54003371aea (diff) | |
download | tork-a3180d7d508dc046a75a887d43a7e6b2d5f02468.tar.gz tork-a3180d7d508dc046a75a887d43a7e6b2d5f02468.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/upnp/upnprouter.cpp')
-rw-r--r-- | src/upnp/upnprouter.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/upnp/upnprouter.cpp b/src/upnp/upnprouter.cpp index 242dbe6..cdf0f2d 100644 --- a/src/upnp/upnprouter.cpp +++ b/src/upnp/upnprouter.cpp @@ -174,7 +174,7 @@ namespace kt { // downlaod XML description into a temporary file in /tmp TDEIO::Job* job = TDEIO::file_copy(location,tmp_file,-1,true,false,false); - connect(job,SIGNAL(result(TDEIO::Job *)),this,SLOT(downloadFinished( TDEIO::Job* ))); + connect(job,TQ_SIGNAL(result(TDEIO::Job *)),this,TQ_SLOT(downloadFinished( TDEIO::Job* ))); } void UPnPRouter::debugPrintData() @@ -390,12 +390,12 @@ namespace kt HTTPRequest* r = new HTTPRequest(http_hdr,query,location.host(),location.port(),verbose, fwd); - connect(r,SIGNAL(replyError(bt::HTTPRequest* ,const TQString& ,bool)), - this,SLOT(onReplyError(bt::HTTPRequest* ,const TQString& ,bool))); - connect(r,SIGNAL(replyOK(bt::HTTPRequest* ,const TQString& ,bool)), - this,SLOT(onReplyOK(bt::HTTPRequest* ,const TQString& ,bool))); - connect(r,SIGNAL(error(bt::HTTPRequest*, bool )), - this,SLOT(onError(bt::HTTPRequest*, bool ))); + connect(r,TQ_SIGNAL(replyError(bt::HTTPRequest* ,const TQString& ,bool)), + this,TQ_SLOT(onReplyError(bt::HTTPRequest* ,const TQString& ,bool))); + connect(r,TQ_SIGNAL(replyOK(bt::HTTPRequest* ,const TQString& ,bool)), + this,TQ_SLOT(onReplyOK(bt::HTTPRequest* ,const TQString& ,bool))); + connect(r,TQ_SIGNAL(error(bt::HTTPRequest*, bool )), + this,TQ_SLOT(onError(bt::HTTPRequest*, bool ))); r->start(); if (!at_exit) active_reqs.append(r); @@ -471,7 +471,7 @@ namespace bt WaitJob::WaitJob(Uint32 millis) : TDEIO::Job(false) { - connect(&timer,SIGNAL(timeout()),this,SLOT(timerDone())); + connect(&timer,TQ_SIGNAL(timeout()),this,TQ_SLOT(timerDone())); timer.start(millis,true); } @@ -495,8 +495,8 @@ namespace bt void WaitJob::addExitOperation(kt::ExitOperation* op) { exit_ops.append(op); - connect(op,SIGNAL(operationFinished( kt::ExitOperation* )), - this,SLOT(operationFinished( kt::ExitOperation* ))); + connect(op,TQ_SIGNAL(operationFinished( kt::ExitOperation* )), + this,TQ_SLOT(operationFinished( kt::ExitOperation* ))); } void WaitJob::operationFinished(kt::ExitOperation* op) |