summaryrefslogtreecommitdiffstats
path: root/src/knutnet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/knutnet.cpp')
-rwxr-xr-xsrc/knutnet.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/knutnet.cpp b/src/knutnet.cpp
index 804bcff..d601e7a 100755
--- a/src/knutnet.cpp
+++ b/src/knutnet.cpp
@@ -39,7 +39,7 @@ KNutNet::KNutNet (const TQString upsAddress, const TQString upsName, const unsig
: TQObject(), m_upsAddress(upsAddress), m_upsName(upsName), m_countRepeat(countRepeat), m_port(port), m_delay(delay) {
-//qDebug ("KNutNet::KNutNet");
+//tqDebug ("KNutNet::KNutNet");
m_state = Idle; //idle is value
m_numberVars = 0;
@@ -1819,7 +1819,7 @@ int KNutNet::upsOldTranslateError (const TQString string) {
void KNutNet::slotConnectionError(int error) {
//std::cout << "--KNutNet::slotConnectionError" << std::endl;
-//qDebug ("--KNutNet::slotConnectionError");
+//tqDebug ("--KNutNet::slotConnectionError");
m_state = ConnectError;
m_unConnectTimer->stop();
@@ -1833,13 +1833,13 @@ void KNutNet::slotConnectionError(int error) {
if (m_firstConnect) {
if (m_numberConnection < m_countRepeat) {
m_numberConnection++;
-// qDebug ("--KNutNet:: connect error - try connect on next time");
+// tqDebug ("--KNutNet:: connect error - try connect on next time");
m_unConnectTimer->start( m_delay, TRUE );
}
else {
// i don't connect server
error=CantConnect;
-// qDebug("--KNutNet::emit - connection error ");
+// tqDebug("--KNutNet::emit - connection error ");
emit connectionError(error);
return;
}
@@ -1847,7 +1847,7 @@ void KNutNet::slotConnectionError(int error) {
else {
// connecting is down, try repeated connection
-// qDebug ("--KNutNet::no first connect connection error ");
+// tqDebug ("--KNutNet::no first connect connection error ");
m_unConnectTimer->start( m_delay, TRUE );
}
return;