summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:45:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-15 18:45:50 -0600
commit54a640235341b74cfef9f10f68c6f4854c49a98a (patch)
treedff41cd2050fe3f868868cba264b90184c0a4197 /src
parent767c650fb1e673cd2bc7139f0162eb1587f44498 (diff)
downloadknutclient-54a640235341b74cfef9f10f68c6f4854c49a98a.tar.gz
knutclient-54a640235341b74cfef9f10f68c6f4854c49a98a.zip
Rename KDE_VERSION to TDE_VERSION
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;