diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/knowit.cpp | 4 | ||||
-rw-r--r-- | src/knowitpref.cpp | 2 |
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); |