diff options
Diffstat (limited to 'src/knutnet.cpp')
-rw-r--r-- | src/knutnet.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/knutnet.cpp b/src/knutnet.cpp index f049a52..e857dd4 100644 --- a/src/knutnet.cpp +++ b/src/knutnet.cpp @@ -53,15 +53,15 @@ KNutNet::KNutNet (const TQString upsAddress, const TQString upsName, const unsig m_description = false; // popis neni natazen - description is not loaded m_unConnectTimer = new TQTimer( this ); - connect( m_unConnectTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimerReconnect()) ); + connect( m_unConnectTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimerReconnect()) ); m_error = NoError; m_commandSocket = new TQSocket( this ); - connect( m_commandSocket, TQT_SIGNAL( hostFound()),this, TQT_SLOT( slotHostFound())); - connect( m_commandSocket, TQT_SIGNAL( connected()),this,TQT_SLOT( slotConnected())); - connect( m_commandSocket, TQT_SIGNAL( connectionClosed()),this, TQT_SLOT( slotConnectionClosed())); - connect( m_commandSocket, TQT_SIGNAL( error(int)),this, TQT_SLOT( slotConnectionError(int))); + connect( m_commandSocket, TQ_SIGNAL( hostFound()),this, TQ_SLOT( slotHostFound())); + connect( m_commandSocket, TQ_SIGNAL( connected()),this,TQ_SLOT( slotConnected())); + connect( m_commandSocket, TQ_SIGNAL( connectionClosed()),this, TQ_SLOT( slotConnectionClosed())); + connect( m_commandSocket, TQ_SIGNAL( error(int)),this, TQ_SLOT( slotConnectionError(int))); } @@ -97,7 +97,7 @@ void KNutNet::close (void) { m_commandSocket->close(); // closes the socket if ( m_commandSocket->state() == TQSocket::Closing ) { - connect( m_commandSocket, TQT_SIGNAL(delayedCloseFinished()),this,TQT_SLOT(slotClosed()) ); + connect( m_commandSocket, TQ_SIGNAL(delayedCloseFinished()),this,TQ_SLOT(slotClosed()) ); } else { slotClosed(); @@ -107,7 +107,7 @@ void KNutNet::close (void) { void KNutNet::slotClosed (void) { - disconnect( m_commandSocket,TQT_SIGNAL(delayedCloseFinished()),this, TQT_SLOT(slotClosed()) ); + disconnect( m_commandSocket,TQ_SIGNAL(delayedCloseFinished()),this, TQ_SLOT(slotClosed()) ); m_state = Idle; } |