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 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;