summaryrefslogtreecommitdiffstats
path: root/src/modules/term/libkviterm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/term/libkviterm.cpp')
-rw-r--r--src/modules/term/libkviterm.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/term/libkviterm.cpp b/src/modules/term/libkviterm.cpp
index 66717cf1..ee2ab448 100644
--- a/src/modules/term/libkviterm.cpp
+++ b/src/modules/term/libkviterm.cpp
@@ -31,7 +31,7 @@
#include <tqsplitter.h>
#include "kvi_pointerlist.h"
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_TDE_SUPPORT
#include "termwidget.h"
#include "termwindow.h"
@@ -46,7 +46,7 @@
KviModule * g_pTermModule = 0;
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_TDE_SUPPORT
KviPointerList<KviTermWidget> * g_pTermWidgetList = 0;
KviPointerList<KviTermWindow> * g_pTermWindowList = 0;
KviStr g_szKonsoleLibraryName = "";
@@ -77,7 +77,7 @@ KviModule * g_pTermModule = 0;
static bool term_kvs_cmd_open(KviKvsModuleCommandCall * c)
{
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_TDE_SUPPORT
if(g_szKonsoleLibraryName.hasData())
{
c->module()->lock(); // multiple locks are allowed
@@ -103,7 +103,7 @@ static bool term_module_init(KviModule * m)
{
g_pTermModule = m;
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_TDE_SUPPORT
g_pTermWidgetList = new KviPointerList<KviTermWidget>;
g_pTermWidgetList->setAutoDelete(false);
g_pTermWindowList = new KviPointerList<KviTermWindow>;
@@ -144,7 +144,7 @@ static bool term_module_init(KviModule * m)
static bool term_module_cleanup(KviModule *m)
{
-#ifdef COMPILE_KDE_SUPPORT
+#ifdef COMPILE_TDE_SUPPORT
while(g_pTermWidgetList->first())delete g_pTermWidgetList->first();
delete g_pTermWidgetList;
g_pTermWidgetList = 0;