summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/knutmainwindow.cpp8
-rwxr-xr-xsrc/knutnet.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/src/knutmainwindow.cpp b/src/knutmainwindow.cpp
index 55e379a..5b1aa49 100644
--- a/src/knutmainwindow.cpp
+++ b/src/knutmainwindow.cpp
@@ -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());
diff --git a/src/knutnet.cpp b/src/knutnet.cpp
index bfb2f49..ee509e5 100755
--- a/src/knutnet.cpp
+++ b/src/knutnet.cpp
@@ -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;