diff options
Diffstat (limited to 'kopete/protocols/msn/msnfiletransfersocket.cpp')
-rw-r--r-- | kopete/protocols/msn/msnfiletransfersocket.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kopete/protocols/msn/msnfiletransfersocket.cpp b/kopete/protocols/msn/msnfiletransfersocket.cpp index 157209e9..cfe74905 100644 --- a/kopete/protocols/msn/msnfiletransfersocket.cpp +++ b/kopete/protocols/msn/msnfiletransfersocket.cpp @@ -155,7 +155,7 @@ void MSNFileTransferSocket::slotSocketClosed() if(m_kopeteTransfer) { if( (m_downsize!=m_size || m_downsize==0 ) ) - m_kopeteTransfer->slotError( KIO::ERR_UNKNOWN , i18n( "An unknown error occurred" ) ); + m_kopeteTransfer->slotError( TDEIO::ERR_UNKNOWN , i18n( "An unknown error occurred" ) ); else m_kopeteTransfer->slotComplete(); } @@ -192,7 +192,7 @@ void MSNFileTransferSocket::setKopeteTransfer(Kopete::Transfer *kt) void MSNFileTransferSocket::listen(int port) { - m_server = new KServerSocket(); + m_server = new TDEServerSocket(); TQObject::connect( m_server, TQT_SIGNAL(readyAccept()), this, TQT_SLOT(slotAcceptConnection())); m_server->setAddress(TQString::number(port)); @@ -210,7 +210,7 @@ void MSNFileTransferSocket::slotAcceptConnection() if(!accept(m_server)) { if( m_kopeteTransfer) - m_kopeteTransfer->slotError( KIO::ERR_UNKNOWN , i18n( "An unknown error occurred" ) ); + m_kopeteTransfer->slotError( TDEIO::ERR_UNKNOWN , i18n( "An unknown error occurred" ) ); emit done(this); } } @@ -222,7 +222,7 @@ void MSNFileTransferSocket::slotTimer() kdDebug(14140) << "MSNFileTransferSocket::slotTimer: timeout "<< endl; if( m_kopeteTransfer) { - m_kopeteTransfer->slotError( KIO::ERR_CONNECTION_BROKEN , i18n( "Connection timed out" ) ); + m_kopeteTransfer->slotError( TDEIO::ERR_CONNECTION_BROKEN , i18n( "Connection timed out" ) ); } MSNChatSession* manager=dynamic_cast<MSNChatSession*>(m_contact->manager()); @@ -248,7 +248,7 @@ void MSNFileTransferSocket::abort() m_downsize=m_size; //we don't want to send data anymore; } //the timer wait one second, the time to send the CCL or the binary header - //retarding the disconnection keep away from a crash. (in KIO::Job::emitResult when `delete this`) + //retarding the disconnection keep away from a crash. (in TDEIO::Job::emitResult when `delete this`) TQTimer::singleShot( 1000, this, TQT_SLOT(disconnect()) ); ready=false; } @@ -410,7 +410,7 @@ void MSNFileTransferSocket::parseInvitation(const TQString& msg) { MSNInvitation::parseInvitation(msg); if( m_kopeteTransfer) - m_kopeteTransfer->slotError( KIO::ERR_ABORTED , i18n( "The remote user aborted" ) ); + m_kopeteTransfer->slotError( TDEIO::ERR_ABORTED , i18n( "The remote user aborted" ) ); emit done(this); } @@ -447,7 +447,7 @@ void MSNFileTransferSocket::slotFileTransferAccepted(Kopete::Transfer *trans, co else { if( m_kopeteTransfer) - m_kopeteTransfer->slotError( KIO::ERR_UNKNOWN , i18n( "An unknown error occurred" ) ); + m_kopeteTransfer->slotError( TDEIO::ERR_UNKNOWN , i18n( "An unknown error occurred" ) ); emit done(this); } |