summaryrefslogtreecommitdiffstats
path: root/src/knutnet.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:56:28 -0600
commit90705c50d34801a0f7516ddc4d3bf6c295413297 (patch)
treee3b61cdd31aaddef0bf7c78231a08599f8851225 /src/knutnet.cpp
parente29455aea4fc1fda591862200c6321a3722e134c (diff)
downloadknutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.tar.gz
knutclient-90705c50d34801a0f7516ddc4d3bf6c295413297.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit e29455aea4fc1fda591862200c6321a3722e134c.
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 7dd76ff..ee509e5 100755
--- a/src/knutnet.cpp
+++ b/src/knutnet.cpp
@@ -17,7 +17,7 @@
#include "knutnet.h"
-#include <textstream.h>
+#include <tqtextstream.h>
#include <tqstring.h>
#include <tqcstring.h>
#include <tqtimer.h>
@@ -201,7 +201,7 @@ int KNutNet::getUpsVars ( void) {
default:
return 0;
}
- if ( readStatus() != KNutNet::WAIT) return returnValue;
+ if ( readtqStatus() != KNutNet::WAIT) return returnValue;
countWaitRevision--;
if (countWaitRevision) sleep (2);
}
@@ -474,7 +474,7 @@ TQString KNutNet::readEnumValueVar (const TQString name, const int valueNumber)
}
-int KNutNet::readStatus(void) {
+int KNutNet::readtqStatus(void) {
m_error=0;
return m_upsStatusVar;