Rename KDE_MAKE_VERSION and update TDE version string

pull/1/head
Timothy Pearson 13 years ago
parent 66c856af16
commit fa12053f24

@ -246,8 +246,8 @@ void KimeShell::optionsConfigureKeys() {
void KimeShell::optionsConfigureToolbars() void KimeShell::optionsConfigureToolbars()
{ {
#if defined(KDE_MAKE_VERSION) #if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= KDE_MAKE_VERSION(3,1,0) # if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
saveMainWindowSettings(KGlobal::config(), autoSaveGroup()); saveMainWindowSettings(KGlobal::config(), autoSaveGroup());
# else # else
saveMainWindowSettings(KGlobal::config() ); saveMainWindowSettings(KGlobal::config() );
@ -265,8 +265,8 @@ void KimeShell::optionsConfigureToolbars()
void KimeShell::applyNewToolbarConfig() void KimeShell::applyNewToolbarConfig()
{ {
#if defined(KDE_MAKE_VERSION) #if defined(TDE_MAKE_VERSION)
# if TDE_VERSION >= KDE_MAKE_VERSION(3,1,0) # if TDE_VERSION >= TDE_MAKE_VERSION(3,1,0)
applyMainWindowSettings(KGlobal::config(), autoSaveGroup()); applyMainWindowSettings(KGlobal::config(), autoSaveGroup());
# else # else
applyMainWindowSettings(KGlobal::config()); applyMainWindowSettings(KGlobal::config());

@ -92,7 +92,7 @@ TagAction::TagAction( TQDomElement *element, KMainWindow *parentMainWindow, bool
setIcon(s); setIcon(s);
m_file = 0L; m_file = 0L;
loopStarted = false; loopStarted = false;
#if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0) #if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
connect(this, TQT_SIGNAL(activated(KAction::ActivationReason, TQt::ButtonState)), connect(this, TQT_SIGNAL(activated(KAction::ActivationReason, TQt::ButtonState)),
TQT_SLOT(slotActionActivated(KAction::ActivationReason, TQt::ButtonState))); TQT_SLOT(slotActionActivated(KAction::ActivationReason, TQt::ButtonState)));
#else #else
@ -113,7 +113,7 @@ TQString TagAction::type()
return tag.attribute("type",""); return tag.attribute("type","");
} }
#if TDE_VERSION >= KDE_MAKE_VERSION(3,4,0) #if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
bool TagAction::slotActionActivated(KAction::ActivationReason reason, TQt::ButtonState /*state*/) bool TagAction::slotActionActivated(KAction::ActivationReason reason, TQt::ButtonState /*state*/)
{ {
QuantaView *view = ViewManager::ref()->activeView(); QuantaView *view = ViewManager::ref()->activeView();

Loading…
Cancel
Save