diff options
Diffstat (limited to 'src/modules/dcc/marshal.cpp')
-rw-r--r-- | src/modules/dcc/marshal.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/modules/dcc/marshal.cpp b/src/modules/dcc/marshal.cpp index 0a386eec..ba920ec7 100644 --- a/src/modules/dcc/marshal.cpp +++ b/src/modules/dcc/marshal.cpp @@ -123,7 +123,7 @@ int KviDccMarshal::dccListen(const TQString &ip,const TQString &port,bool bUseTi if(m_pTimeoutTimer)delete m_pTimeoutTimer; m_pTimeoutTimer = new TQTimer(); - connect(m_pTimeoutTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(doListen())); + connect(m_pTimeoutTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(doListen())); m_pTimeoutTimer->start(100,true); return KviError_success; @@ -277,7 +277,7 @@ void KviDccMarshal::doListen() // and setup the READ notifier... m_pSn = new TQSocketNotifier(m_fd,TQSocketNotifier::Read); - TQObject::connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(snActivated(int))); + TQObject::connect(m_pSn,TQ_SIGNAL(activated(int)),this,TQ_SLOT(snActivated(int))); m_pSn->setEnabled(true); // set the timer @@ -287,7 +287,7 @@ void KviDccMarshal::doListen() if(m_bUseTimeout) { m_pTimeoutTimer = new TQTimer(); - connect(m_pTimeoutTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(connectionTimedOut())); + connect(m_pTimeoutTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(connectionTimedOut())); m_pTimeoutTimer->start(KVI_OPTION_UINT(KviOption_uintDccSocketTimeout) * 1000,true); } // and wait for connect @@ -312,7 +312,7 @@ int KviDccMarshal::dccConnect(const char * ip,const char * port,bool bUseTimeout if(m_pTimeoutTimer)delete m_pTimeoutTimer; m_pTimeoutTimer = new TQTimer(); - connect(m_pTimeoutTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(doConnect())); + connect(m_pTimeoutTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(doConnect())); m_pTimeoutTimer->start(100,true); return KviError_success; @@ -415,7 +415,7 @@ void KviDccMarshal::doConnect() // and setup the WRITE notifier... m_pSn = new TQSocketNotifier(m_fd,TQSocketNotifier::Write); - TQObject::connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(snActivated(int))); + TQObject::connect(m_pSn,TQ_SIGNAL(activated(int)),this,TQ_SLOT(snActivated(int))); m_pSn->setEnabled(true); // set the timer @@ -425,7 +425,7 @@ void KviDccMarshal::doConnect() if(m_bUseTimeout) { m_pTimeoutTimer = new TQTimer(); - connect(m_pTimeoutTimer,TQT_SIGNAL(timeout()),this,TQT_SLOT(connectionTimedOut())); + connect(m_pTimeoutTimer,TQ_SIGNAL(timeout()),this,TQ_SLOT(connectionTimedOut())); m_pTimeoutTimer->start(KVI_OPTION_UINT(KviOption_uintDccSocketTimeout) * 1000,true); } @@ -587,12 +587,12 @@ void KviDccMarshal::doSSLHandshake(int) break; case KviSSL::WantRead: m_pSn = new TQSocketNotifier((int)m_fd,TQSocketNotifier::Read); - TQObject::connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(doSSLHandshake(int))); + TQObject::connect(m_pSn,TQ_SIGNAL(activated(int)),this,TQ_SLOT(doSSLHandshake(int))); m_pSn->setEnabled(true); break; case KviSSL::WantWrite: m_pSn = new TQSocketNotifier((int)m_fd,TQSocketNotifier::Write); - TQObject::connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(doSSLHandshake(int))); + TQObject::connect(m_pSn,TQ_SIGNAL(activated(int)),this,TQ_SLOT(doSSLHandshake(int))); m_pSn->setEnabled(true); break; case KviSSL::RemoteEndClosedConnection: @@ -607,7 +607,7 @@ void KviDccMarshal::doSSLHandshake(int) { // can recover ? (EAGAIN , EINTR ?) m_pSn = new TQSocketNotifier((int)m_fd,TQSocketNotifier::Write); - TQObject::connect(m_pSn,TQT_SIGNAL(activated(int)),this,TQT_SLOT(doSSLHandshake(int))); + TQObject::connect(m_pSn,TQ_SIGNAL(activated(int)),this,TQ_SLOT(doSSLHandshake(int))); m_pSn->setEnabled(true); return; } else { |