diff options
Diffstat (limited to 'kopete/protocols/irc/irctransferhandler.cpp')
-rw-r--r-- | kopete/protocols/irc/irctransferhandler.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kopete/protocols/irc/irctransferhandler.cpp b/kopete/protocols/irc/irctransferhandler.cpp index e579e94a..5c676e52 100644 --- a/kopete/protocols/irc/irctransferhandler.cpp +++ b/kopete/protocols/irc/irctransferhandler.cpp @@ -138,14 +138,14 @@ void IRCTransferHandler::connectKopeteTransfer(Kopete::Transfer *kt, KIRC::Trans // connect(kt, TQT_SIGNAL(destroyed()), // t, TQT_SLOT(slotKopeteTransferDestroyed())); - connect(kt, TQT_SIGNAL(result(KIO::Job *)), - this , TQT_SLOT(kioresult(KIO::Job *))); + connect(kt, TQT_SIGNAL(result(TDEIO::Job *)), + this , TQT_SLOT(kioresult(TDEIO::Job *))); t->initiate(); } } -void IRCTransferHandler::kioresult(KIO::Job *job) +void IRCTransferHandler::kioresult(TDEIO::Job *job) { Kopete::Transfer *kt= (Kopete::Transfer *)job; // FIXME: move to *_cast if(!kt) @@ -158,9 +158,9 @@ void IRCTransferHandler::kioresult(KIO::Job *job) { case 0: // 0 means no error break; - case KIO::ERR_USER_CANCELED: + case TDEIO::ERR_USER_CANCELED: kdDebug(14120) << k_funcinfo << "User canceled transfer." << endl; - // KIO::buildErrorString form error don't provide a result string ... + // TDEIO::buildErrorString form error don't provide a result string ... // if (t->) // kt->userAbort(i18n("User canceled transfer.")); // else @@ -168,7 +168,7 @@ void IRCTransferHandler::kioresult(KIO::Job *job) break; default: kdDebug(14120) << k_funcinfo << "Transfer halted:" << kt->error() << endl; -// kt->userAbort(KIO::buildErrorString(kt->error(), kt->fileName())); +// kt->userAbort(TDEIO::buildErrorString(kt->error(), kt->fileName())); break; } } |