summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:45:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:45:48 -0600
commitbc4037c3399ab3c4d1a84ef8fac4947277589446 (patch)
treeadfe881629d92fdb360ebc55cd4117fd50e69b35
parentd855cc07324e9bd1e41a95490aa29e3692344eb7 (diff)
downloadknowit-bc4037c3399ab3c4d1a84ef8fac4947277589446.tar.gz
knowit-bc4037c3399ab3c4d1a84ef8fac4947277589446.zip
Rename KDE_VERSION to TDE_VERSION
-rw-r--r--src/knowit.cpp4
-rw-r--r--src/knowitpref.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/knowit.cpp b/src/knowit.cpp
index 5d6a41c..5ba35b8 100644
--- a/src/knowit.cpp
+++ b/src/knowit.cpp
@@ -256,7 +256,7 @@ Knowit::Knowit(TQWidget*, const char *name) : KMainWindow(0, name),
TQT_SLOT(slotItemLeft()), actionCollection(), "note_left");
/* Actions */
-#if KDE_VERSION_MAJOR >= 3 && KDE_VERSION_MINOR >= 1
+#if TDE_VERSION_MAJOR >= 3 && TDE_VERSION_MINOR >= 1
setStandardToolBarMenuEnabled(true);
#endif
createGUI("knowitui.rc", false);
@@ -565,7 +565,7 @@ void Knowit::applyOptions(const KnowitOptions& O, bool store)
Edit->unsetFont();
Edit->setWordWrap(O.wordwrap ? TQTextEdit::WidgetWidth : TQTextEdit::NoWrap);
-#if KDE_VERSION_MAJOR >= 3 && KDE_VERSION_MINOR >= 1
+#if TDE_VERSION_MAJOR >= 3 && TDE_VERSION_MINOR >= 1
Edit->setTabChangesFocus(O.tabfocus);
#endif
if (!O.autosave)
diff --git a/src/knowitpref.cpp b/src/knowitpref.cpp
index ac0bdf6..a5edeb1 100644
--- a/src/knowitpref.cpp
+++ b/src/knowitpref.cpp
@@ -213,7 +213,7 @@ KnowitPreferences::KnowitPreferences()
page, "EnterLineBreak"));
tqlayout->addWidget(tabfocus = new TQCheckBox(i18n("'Tab' in editor changes focus"),
page, "TabFocus"));
-#if KDE_VERSION_MAJOR == 3 && KDE_VERSION_MINOR < 1
+#if TDE_VERSION_MAJOR == 3 && TDE_VERSION_MINOR < 1
tabfocus->hide();
#endif
TQHBox* colorBox = new TQHBox(page);