summaryrefslogtreecommitdiffstats
path: root/src/knutnet.cpp
diff options
context:
space:
mode:
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;