summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/misc/kftpzeroconf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/misc/kftpzeroconf.cpp')
-rw-r--r--kftpgrabber/src/misc/kftpzeroconf.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/kftpgrabber/src/misc/kftpzeroconf.cpp b/kftpgrabber/src/misc/kftpzeroconf.cpp
index d49f5d6..37a73c4 100644
--- a/kftpgrabber/src/misc/kftpzeroconf.cpp
+++ b/kftpgrabber/src/misc/kftpzeroconf.cpp
@@ -38,13 +38,11 @@
KFTPZeroConf::KFTPZeroConf(TQObject *parent, const char *name)
: TQObject(parent, name)
{
-#if KDE_IS_VERSION(3,4,0)
m_browser = new DNSSD::ServiceBrowser("_ftp._tcp", 0, true);
connect(m_browser, SIGNAL(finished()), this, SLOT(slotServiceChanged()));
m_browser->startBrowse();
-#endif
}
@@ -52,12 +50,10 @@ KFTPZeroConf::~KFTPZeroConf()
{
}
-#if KDE_IS_VERSION(3,4,0)
const TQValueList<DNSSD::RemoteService::Ptr> &KFTPZeroConf::getServiceList() const
{
return m_browser->services();
}
-#endif
void KFTPZeroConf::slotServiceChanged()
{