diff options
Diffstat (limited to 'src/knutnet.cpp')
-rwxr-xr-x | src/knutnet.cpp | 6 |
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; |