summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/misc/kftpzeroconf.cpp
diff options
context:
space:
mode:
authorgregory guy <gregory-tde@laposte.net>2021-09-10 17:24:58 +0200
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-09-17 10:06:44 +0900
commita9360ae6833bd5e95d36e0b62767725a121f4198 (patch)
treeea4ebeb16b66f2a3515fcb600c9d01bf4bd7c469 /kftpgrabber/src/misc/kftpzeroconf.cpp
parentd2a45e163c720ada08ffee4444f5833cf89d1c75 (diff)
downloadkftpgrabber-a9360ae6833bd5e95d36e0b62767725a121f4198.tar.gz
kftpgrabber-a9360ae6833bd5e95d36e0b62767725a121f4198.zip
Remove KDE_IS_VERSION definition.
Signed-off-by: gregory guy <gregory-tde@laposte.net> (cherry picked from commit c0822095d4f1706dc80a7b01a77516cd77d6e77d)
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()
{