From d127c40fab58751c1dea8ea0afff520618236ba6 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 15 Nov 2011 18:48:37 -0600 Subject: [PATCH] Rename KDE_VERSION to TDE_VERSION --- src/kvirc/ui/kvi_window.cpp | 4 ++-- src/modules/options/optw_query.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/kvirc/ui/kvi_window.cpp b/src/kvirc/ui/kvi_window.cpp index fe75e7e..df8c3db 100644 --- a/src/kvirc/ui/kvi_window.cpp +++ b/src/kvirc/ui/kvi_window.cpp @@ -258,7 +258,7 @@ void KviWindow::demandAttention() FlashWindowEx(&fwi); #else #ifdef COMPILE_KDE_SUPPORT - #if (KDE_VERSION_MAJOR >= 3) && (KDE_VERSION_MINOR >= 2) + #if (TDE_VERSION_MAJOR >= 3) && (TDE_VERSION_MINOR >= 2) KWin::demandAttention(frame()->winId(),true); #endif #endif @@ -275,7 +275,7 @@ void KviWindow::demandAttention() FlashWindowEx(&fwi); #else #ifdef COMPILE_KDE_SUPPORT - #if (KDE_VERSION_MAJOR >= 3) && (KDE_VERSION_MINOR >= 2) + #if (TDE_VERSION_MAJOR >= 3) && (TDE_VERSION_MINOR >= 2) KWin::demandAttention(winId(),true); #endif #endif diff --git a/src/modules/options/optw_query.cpp b/src/modules/options/optw_query.cpp index 7e60df8..5b6b7c3 100644 --- a/src/modules/options/optw_query.cpp +++ b/src/modules/options/optw_query.cpp @@ -79,7 +79,7 @@ KviQueryOptionsWidget::KviQueryOptionsWidget(TQWidget * parent) "will be displayed in the window.
","options")); #endif -#if defined(COMPILE_ON_WINDOWS) || (defined(COMPILE_KDE_SUPPORT) && (KDE_VERSION_MAJOR >= 3) && (KDE_VERSION_MINOR >= 2)) +#if defined(COMPILE_ON_WINDOWS) || (defined(COMPILE_KDE_SUPPORT) && (TDE_VERSION_MAJOR >= 3) && (TDE_VERSION_MINOR >= 2)) b = addBoolSelector(0,3,0,3,__tr2qs_ctx("Flash system taskbar on new query message","options"),KviOption_boolFlashQueryWindowOnNewMessages); #ifdef COMPILE_INFO_TIPS mergeTip(b,