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
// since version 3.1
#if defined (KDE_VERSION_MAJOR)
#if KDE_VERSION_MAJOR >= 3
#if defined (KDE_VERSION_MINOR)
#if KDE_VERSION_MINOR >= 1
#if defined (TDE_VERSION_MAJOR)
#if TDE_VERSION_MAJOR >= 3
#if defined (TDE_VERSION_MINOR)
#if TDE_VERSION_MINOR >= 1
setStandardToolBarMenuEnabled(true);
#else
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;
if (m_state == Connected) {
// #if defined (KDE_VERSION_MAJOR)
// #if KDE_VERSION_MAJOR >= 3
// #if defined (TDE_VERSION_MAJOR)
// #if TDE_VERSION_MAJOR >= 3
TQValueVector<upsVarDef>::const_iterator it;
// #else
// TQValueList<upsVar>::ConstIterator it;
@ -966,8 +966,8 @@ void KNutNet::upsSetType (struct upsVarDef& upsVar, const TQString name, const T
void KNutNet::deleteVars (void) {
// #if defined (KDE_VERSION_MAJOR)
// #if KDE_VERSION_MAJOR >= 3
// #if defined (TDE_VERSION_MAJOR)
// #if TDE_VERSION_MAJOR >= 3
TQValueVector<upsVarDef>::iterator it;
// #else
// TQValueList<upsVar>::Iterator it;

Loading…
Cancel
Save