aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/term
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/term')
-rw-r--r--src/modules/term/libkviterm.cpp10
-rw-r--r--src/modules/term/termwidget.cpp2
-rw-r--r--src/modules/term/termwidget.h2
-rw-r--r--src/modules/term/termwindow.cpp2
-rw-r--r--src/modules/term/termwindow.h2
5 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/term/libkviterm.cpp b/src/modules/term/libkviterm.cpp
index 9cd217c18..6ddba21d4 100644
--- a/src/modules/term/libkviterm.cpp
+++ b/src/modules/term/libkviterm.cpp
@@ -28,7 +28,7 @@
#include <QSplitter>
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
#include "termwidget.h"
#include "termwindow.h"
@@ -40,7 +40,7 @@
KviModule * g_pTermModule = 0;
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
KviPointerList<KviTermWidget> * g_pTermWidgetList = 0;
KviPointerList<KviTermWindow> * g_pTermWindowList = 0;
KviStr g_szKonsoleLibraryName = "";
@@ -71,7 +71,7 @@ KviModule * g_pTermModule = 0;
static bool term_kvs_cmd_open(KviKvsModuleCommandCall * c)
{
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
if(g_szKonsoleLibraryName.hasData())
{
c->module()->lock(); // multiple locks are allowed
@@ -97,7 +97,7 @@ static bool term_module_init(KviModule * m)
{
g_pTermModule = m;
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
g_pTermWidgetList = new KviPointerList<KviTermWidget>;
g_pTermWidgetList->setAutoDelete(false);
g_pTermWindowList = new KviPointerList<KviTermWindow>;
@@ -136,7 +136,7 @@ static bool term_module_init(KviModule * m)
static bool term_module_cleanup(KviModule *m)
{
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
while(g_pTermWidgetList->first())delete g_pTermWidgetList->first();
delete g_pTermWidgetList;
g_pTermWidgetList = 0;
diff --git a/src/modules/term/termwidget.cpp b/src/modules/term/termwidget.cpp
index a972f0cc6..8356f5cef 100644
--- a/src/modules/term/termwidget.cpp
+++ b/src/modules/term/termwidget.cpp
@@ -33,7 +33,7 @@
#include <QToolTip>
#include <QTimer>
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
#include "klibloader.h"
#include "kparts/part.h"
diff --git a/src/modules/term/termwidget.h b/src/modules/term/termwidget.h
index 3ea54023f..933b2bc2e 100644
--- a/src/modules/term/termwidget.h
+++ b/src/modules/term/termwidget.h
@@ -24,7 +24,7 @@
#include "kvi_settings.h"
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
#include <QFrame>
#include <QLabel>
#include <QPushButton>
diff --git a/src/modules/term/termwindow.cpp b/src/modules/term/termwindow.cpp
index 0b8d08215..f1af07634 100644
--- a/src/modules/term/termwindow.cpp
+++ b/src/modules/term/termwindow.cpp
@@ -22,7 +22,7 @@
#include "termwindow.h"
#include "termwidget.h"
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
#include "kvi_iconmanager.h"
#include "kvi_options.h"
#include "kvi_locale.h"
diff --git a/src/modules/term/termwindow.h b/src/modules/term/termwindow.h
index ec71c6b65..90bea80c6 100644
--- a/src/modules/term/termwindow.h
+++ b/src/modules/term/termwindow.h
@@ -24,7 +24,7 @@
#include "kvi_settings.h"
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_KDE3_SUPPORT
#include "kvi_window.h"
#include "kvi_string.h"