diff options
Diffstat (limited to 'kdnssd/kdedmodule/watcher.cpp')
-rw-r--r-- | kdnssd/kdedmodule/watcher.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kdnssd/kdedmodule/watcher.cpp b/kdnssd/kdedmodule/watcher.cpp index d4dcc95a..f6b7a973 100644 --- a/kdnssd/kdedmodule/watcher.cpp +++ b/kdnssd/kdedmodule/watcher.cpp @@ -21,20 +21,20 @@ #include <kdebug.h> #include <kdirnotify_stub.h> -#include <qstringlist.h> +#include <tqstringlist.h> -Watcher::Watcher(const QString& type, const QString& domain) +Watcher::Watcher(const TQString& type, const TQString& domain) : refcount(1), updateNeeded(false), m_type(type), m_domain(domain) { if (domain.isEmpty()) browser = new ServiceBrowser(type); else browser = new ServiceBrowser(type,domain); - connect(browser,SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), - SLOT(serviceAdded(DNSSD::RemoteService::Ptr))); - connect(browser,SIGNAL(serviceRemoved(DNSSD::RemoteService::Ptr)), - SLOT(serviceRemoved(DNSSD::RemoteService::Ptr))); - connect(browser,SIGNAL(finished()),SLOT(finished())); + connect(browser,TQT_SIGNAL(serviceAdded(DNSSD::RemoteService::Ptr)), + TQT_SLOT(serviceAdded(DNSSD::RemoteService::Ptr))); + connect(browser,TQT_SIGNAL(serviceRemoved(DNSSD::RemoteService::Ptr)), + TQT_SLOT(serviceRemoved(DNSSD::RemoteService::Ptr))); + connect(browser,TQT_SIGNAL(finished()),TQT_SLOT(finished())); browser->startBrowse(); } @@ -59,7 +59,7 @@ void Watcher::finished() KDirNotify_stub st("*","*"); kdDebug() << "Finished for " << m_type << "@" << m_domain << "\n"; if (updateNeeded || removed.count()) { - QString url = "zeroconf:/"; + TQString url = "zeroconf:/"; if (!m_domain.isEmpty()) url+="/"+m_domain+"/"; if (m_type!=ServiceBrowser::AllServices) url+=m_type; kdDebug() << "Sending update: " << url << "\n"; |