Rename KDE_VERSION to TDE_VERSION

pull/1/head
Timothy Pearson 13 years ago
parent 426b54e2c3
commit 72f77e5dca

@ -39,7 +39,7 @@
#include <kdeversion.h> #include <kdeversion.h>
#undef KDE_3_2_FEATURES #undef KDE_3_2_FEATURES
#if defined(KDE_MAKE_VERSION) #if defined(KDE_MAKE_VERSION)
#if KDE_VERSION >= KDE_MAKE_VERSION(3,2,0) #if TDE_VERSION >= KDE_MAKE_VERSION(3,2,0)
#define KDE_3_2_FEATURES #define KDE_3_2_FEATURES
#endif #endif
#endif #endif

@ -23,10 +23,10 @@
#undef KDE_3_1_FEATURES #undef KDE_3_1_FEATURES
#undef KDE_3_3_FEATURES #undef KDE_3_3_FEATURES
#if defined(KDE_MAKE_VERSION) #if defined(KDE_MAKE_VERSION)
#if KDE_VERSION >= KDE_MAKE_VERSION(3,1,0) #if TDE_VERSION >= KDE_MAKE_VERSION(3,1,0)
#define KDE_3_1_FEATURES #define KDE_3_1_FEATURES
#endif #endif
#if KDE_VERSION >= KDE_MAKE_VERSION(3,2,90) #if TDE_VERSION >= KDE_MAKE_VERSION(3,2,90)
#define KDE_3_3_FEATURES #define KDE_3_3_FEATURES
#endif #endif
#endif #endif

@ -21,7 +21,7 @@
#include <kdeversion.h> #include <kdeversion.h>
#undef KDE_3_1_FEATURES #undef KDE_3_1_FEATURES
#ifdef KDE_MAKE_VERSION #ifdef KDE_MAKE_VERSION
#if KDE_VERSION > KDE_MAKE_VERSION (3, 1, 0) #if TDE_VERSION > KDE_MAKE_VERSION (3, 1, 0)
#define KDE_3_1_FEATURES #define KDE_3_1_FEATURES
#endif #endif
#endif #endif

@ -405,7 +405,7 @@ void EstateView::paintEvent(TQPaintEvent *)
painter.setFont(font); painter.setFont(font);
TQString estateName = m_estate->name(); TQString estateName = m_estate->name();
#if defined(KDE_MAKE_VERSION) #if defined(KDE_MAKE_VERSION)
#if KDE_VERSION >= KDE_MAKE_VERSION(3,2,0) #if TDE_VERSION >= KDE_MAKE_VERSION(3,2,0)
if ( m_estate->color().isValid() && ( m_orientation == West || m_orientation == East ) ) if ( m_estate->color().isValid() && ( m_orientation == West || m_orientation == East ) )
estateName = KStringHandler::rPixelSqueeze( m_estate->name(), TQFontMetrics( font ), 3*width()/4 ); estateName = KStringHandler::rPixelSqueeze( m_estate->name(), TQFontMetrics( font ), 3*width()/4 );
else else

@ -768,7 +768,7 @@ void KGoldrunner::optionsConfigureToolbars()
{ {
// use the standard toolbar editor // use the standard toolbar editor
#if defined(KDE_MAKE_VERSION) #if defined(KDE_MAKE_VERSION)
# if KDE_VERSION >= KDE_MAKE_VERSION(3,1,0) # if TDE_VERSION >= KDE_MAKE_VERSION(3,1,0)
saveMainWindowSettings(KGlobal::config(), autoSaveGroup()); saveMainWindowSettings(KGlobal::config(), autoSaveGroup());
# else # else
saveMainWindowSettings(KGlobal::config()); saveMainWindowSettings(KGlobal::config());
@ -785,7 +785,7 @@ void KGoldrunner::newToolbarConfig()
createGUI(); createGUI();
#if defined(KDE_MAKE_VERSION) #if defined(KDE_MAKE_VERSION)
# if KDE_VERSION >= KDE_MAKE_VERSION(3,1,0) # if TDE_VERSION >= KDE_MAKE_VERSION(3,1,0)
applyMainWindowSettings(KGlobal::config(), autoSaveGroup()); applyMainWindowSettings(KGlobal::config(), autoSaveGroup());
# else # else
applyMainWindowSettings(KGlobal::config()); applyMainWindowSettings(KGlobal::config());

Loading…
Cancel
Save