summaryrefslogtreecommitdiffstats
path: root/src/knutnet.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:19 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:31:19 -0600
commite29455aea4fc1fda591862200c6321a3722e134c (patch)
treedbb3bc7ee43510962fcfa3d69b5743d8daf8c3b6 /src/knutnet.cpp
parent841ad360f807ab3ab1596308d120ef7918207e13 (diff)
downloadknutclient-e29455aea4fc1fda591862200c6321a3722e134c.tar.gz
knutclient-e29455aea4fc1fda591862200c6321a3722e134c.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/knutnet.cpp')
-rwxr-xr-xsrc/knutnet.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/knutnet.cpp b/src/knutnet.cpp
index ee509e5..7dd76ff 100755
--- a/src/knutnet.cpp
+++ b/src/knutnet.cpp
@@ -17,7 +17,7 @@
#include "knutnet.h"
-#include <tqtextstream.h>
+#include <textstream.h>
#include <tqstring.h>
#include <tqcstring.h>
#include <tqtimer.h>
@@ -201,7 +201,7 @@ int KNutNet::getUpsVars ( void) {
default:
return 0;
}
- if ( readtqStatus() != KNutNet::WAIT) return returnValue;
+ if ( readStatus() != KNutNet::WAIT) return returnValue;
countWaitRevision--;
if (countWaitRevision) sleep (2);
}
@@ -474,7 +474,7 @@ TQString KNutNet::readEnumValueVar (const TQString name, const int valueNumber)
}
-int KNutNet::readtqStatus(void) {
+int KNutNet::readStatus(void) {
m_error=0;
return m_upsStatusVar;