summaryrefslogtreecommitdiffstats
path: root/src/modules/term/libkviterm.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-24 15:29:11 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-24 15:29:11 -0600
commitb7d96aa82b20eafeecf272bd2b8eb59e9ca45d77 (patch)
tree31cd0dfbcd812303cb707e37614c5a8bc86afd00 /src/modules/term/libkviterm.cpp
parent2b0f7501a0f64a3eac41fffc6256714aba7693c2 (diff)
downloadkvirc-b7d96aa82b20eafeecf272bd2b8eb59e9ca45d77.tar.gz
kvirc-b7d96aa82b20eafeecf272bd2b8eb59e9ca45d77.zip
Set COMPILE_TDE_SUPPORT instead of COMPILE_KDE_SUPPORT
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;