Rename KDE_VERSION to TDE_VERSION

pull/1/head
Timothy Pearson 13 years ago
parent 767c650fb1
commit 54a6402353

@ -754,10 +754,10 @@ void KNutMainWindow::initAction ( void ) {
// setStandardToolBarMenuEnabled(true); since KDE version 3.1 // setStandardToolBarMenuEnabled(true); since KDE version 3.1
// since version 3.1 // since version 3.1
#if defined (KDE_VERSION_MAJOR) #if defined (TDE_VERSION_MAJOR)
#if KDE_VERSION_MAJOR >= 3 #if TDE_VERSION_MAJOR >= 3
#if defined (KDE_VERSION_MINOR) #if defined (TDE_VERSION_MINOR)
#if KDE_VERSION_MINOR >= 1 #if TDE_VERSION_MINOR >= 1
setStandardToolBarMenuEnabled(true); setStandardToolBarMenuEnabled(true);
#else #else
KStdAction::showToolbar (TQT_TQOBJECT(this), TQT_SLOT (slotShowToolBar()), actionCollection()); KStdAction::showToolbar (TQT_TQOBJECT(this), TQT_SLOT (slotShowToolBar()), actionCollection());

@ -446,8 +446,8 @@ TQString KNutNet::readEnumValueVar (const TQString name, const int valueNumber)
m_error =0; m_error =0;
if (m_state == Connected) { if (m_state == Connected) {
// #if defined (KDE_VERSION_MAJOR) // #if defined (TDE_VERSION_MAJOR)
// #if KDE_VERSION_MAJOR >= 3 // #if TDE_VERSION_MAJOR >= 3
TQValueVector<upsVarDef>::const_iterator it; TQValueVector<upsVarDef>::const_iterator it;
// #else // #else
// TQValueList<upsVar>::ConstIterator it; // TQValueList<upsVar>::ConstIterator it;
@ -966,8 +966,8 @@ void KNutNet::upsSetType (struct upsVarDef& upsVar, const TQString name, const T
void KNutNet::deleteVars (void) { void KNutNet::deleteVars (void) {
// #if defined (KDE_VERSION_MAJOR) // #if defined (TDE_VERSION_MAJOR)
// #if KDE_VERSION_MAJOR >= 3 // #if TDE_VERSION_MAJOR >= 3
TQValueVector<upsVarDef>::iterator it; TQValueVector<upsVarDef>::iterator it;
// #else // #else
// TQValueList<upsVar>::Iterator it; // TQValueList<upsVar>::Iterator it;

Loading…
Cancel
Save