diff options
author | Michele Calgaro <[email protected]> | 2024-01-13 17:34:53 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 17:51:33 +0900 |
commit | 1329ec6abbcb7b79cd960e0ca138f16598d5f11f (patch) | |
tree | 8b64fab3a352aada6a046f69f1f7e8a6ad819594 /tdednssd/ioslave/dnssd.cpp | |
parent | 69c2eb8d5f2ed64c876b2a1081cc83ed9f4652d3 (diff) | |
download | tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.tar.gz tdenetwork-1329ec6abbcb7b79cd960e0ca138f16598d5f11f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdednssd/ioslave/dnssd.cpp')
-rw-r--r-- | tdednssd/ioslave/dnssd.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdednssd/ioslave/dnssd.cpp b/tdednssd/ioslave/dnssd.cpp index a70baa9d..13b62520 100644 --- a/tdednssd/ioslave/dnssd.cpp +++ b/tdednssd/ioslave/dnssd.cpp @@ -294,15 +294,15 @@ void ZeroConfProtocol::listDir(const KURL& url ) if (allDomains=url.host().isEmpty()) browser = new ServiceBrowser(ServiceBrowser::AllServices); else browser = new ServiceBrowser(ServiceBrowser::AllServices,url.host()); - connect(browser,TQT_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), - this,TQT_SLOT(newType(DNSSD::RemoteService::Ptr))); + connect(browser,TQ_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), + this,TQ_SLOT(newType(DNSSD::RemoteService::Ptr))); break; case ServiceDir: if (url.host().isEmpty()) browser = new ServiceBrowser(url.path(-1).section("/",1,-1)); else browser = new ServiceBrowser(url.path(-1).section("/",1,-1),url.host()); - connect(browser,TQT_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), - this,TQT_SLOT(newService(DNSSD::RemoteService::Ptr))); + connect(browser,TQ_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), + this,TQ_SLOT(newService(DNSSD::RemoteService::Ptr))); break; case Service: resolveAndRedirect(url); @@ -311,7 +311,7 @@ void ZeroConfProtocol::listDir(const KURL& url ) error(ERR_MALFORMED_URL,i18n("invalid URL")); return; } - connect(browser,TQT_SIGNAL(finished()),this,TQT_SLOT(allReported())); + connect(browser,TQ_SIGNAL(finished()),this,TQ_SLOT(allReported())); browser->startBrowse(); kapp->eventLoop()->enterLoop(); } |