aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules
diff options
context:
space:
mode:
authorGravatar Szymon Tomasz Stefanek2007-01-29 03:05:23 +0000
committerGravatar Szymon Tomasz Stefanek2007-01-29 03:05:23 +0000
commitf3f16b91710a92e39fa7c13f53f41ff4358c559c (patch)
tree6c2d7cebb95b42856558d1136767a40dee5d0370 /src/modules
parentsome cleanup / fixes. (diff)
downloadKVIrc-f3f16b91710a92e39fa7c13f53f41ff4358c559c.tar.gz
KVIrc-f3f16b91710a92e39fa7c13f53f41ff4358c559c.tar.bz2
KVIrc-f3f16b91710a92e39fa7c13f53f41ff4358c559c.zip
A bit more Qt 4.x port and a fix for the DCOP helper class
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@279 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/torrent/tc_ktorrentdcopinterface.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/modules/torrent/tc_ktorrentdcopinterface.cpp b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
index 2c479a31c..fd845cb12 100644
--- a/src/modules/torrent/tc_ktorrentdcopinterface.cpp
+++ b/src/modules/torrent/tc_ktorrentdcopinterface.cpp
@@ -25,12 +25,15 @@
//
//=============================================================================
+#ifdef COMPILE_KDE_SUPPORT
+
#include "kvi_app.h"
-#include "dcopclient.h"
+
+
+#include "dcopclient.h" // <-- this include should be hidden in kvilib
#include "tc_ktorrentdcopinterface.h"
-#ifdef COMPILE_KDE_SUPPORT
#include "kvi_locale.h"
#include <qtimer.h>
@@ -490,6 +493,8 @@ bool KviKTorrentDCOPInterface::setMaxDownloadSpeed(int kbytes_per_sec)
return true;
}
-#endif // COMPILE_KDE_SUPPORT
#include "tc_ktorrentdcopinterface.moc"
+
+#endif // COMPILE_KDE_SUPPORT
+