aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_ftp.cpp
diff options
context:
space:
mode:
authorGravatar Fabio Bas2012-09-25 13:15:57 +0000
committerGravatar Fabio Bas2012-09-25 13:15:57 +0000
commit4602a1a7ac1f4b2fd33bb1581f4eedd1edd65a9c (patch)
tree2a36735ae8685b0d6011f1bfdf0d27ec6211089b /src/modules/objects/KvsObject_ftp.cpp
parentProperly sort the console windows when sorting by name is selected in the tre... (diff)
downloadKVIrc-4602a1a7ac1f4b2fd33bb1581f4eedd1edd65a9c.tar.gz
KVIrc-4602a1a7ac1f4b2fd33bb1581f4eedd1edd65a9c.tar.bz2
KVIrc-4602a1a7ac1f4b2fd33bb1581f4eedd1edd65a9c.zip
qt5 support (sip): code only, no touch to build system by now
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@6251 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/objects/KvsObject_ftp.cpp')
-rw-r--r--src/modules/objects/KvsObject_ftp.cpp12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/modules/objects/KvsObject_ftp.cpp b/src/modules/objects/KvsObject_ftp.cpp
index 26d25cdaf..e23daa0bd 100644
--- a/src/modules/objects/KvsObject_ftp.cpp
+++ b/src/modules/objects/KvsObject_ftp.cpp
@@ -22,15 +22,19 @@
//
//=============================================================================
+#include "KvsObject_ftp.h"
+
+#warning QFtp doesn't exists anymore in Qt5, port this class or drop it
+#if (QT_VERSION < 0x050000)
+
#include "kvi_debug.h"
#include "KviError.h"
-#include "KvsObject_ftp.h"
+
#include "KviLocale.h"
#include <QFtp>
#include <QHashIterator>
-
/*
@doc: ftp
@keyterms:
@@ -327,6 +331,4 @@ KVSO_CLASS_FUNCTION(ftp,stateChangedEvent)
return true;
}
-#ifndef COMPILE_USE_STANDALONE_MOC_SOURCES
-#include "m_KvsObject_ftp.moc"
-#endif //!COMPILE_USE_STANDALONE_MOC_SOURCES
+#endif