diff options
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/logintask.cpp')
-rw-r--r-- | kopete/protocols/yahoo/libkyahoo/logintask.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/logintask.cpp b/kopete/protocols/yahoo/libkyahoo/logintask.cpp index f6b8a47e..b3c3f297 100644 --- a/kopete/protocols/yahoo/libkyahoo/logintask.cpp +++ b/kopete/protocols/yahoo/libkyahoo/logintask.cpp @@ -214,20 +214,20 @@ void LoginTask::sendAuthSixteenStage1(const TQString& sn, const TQString& seed) TQByteArray encodedUrl; TQString fullUrl = YahooTokenUrl.arg(sn, client()->password(), seed); KURL tokenUrl(fullUrl); - KIO::Job* job = KIO::get(tokenUrl, true, false); - connect(job, TQT_SIGNAL(data(KIO::Job*, const TQByteArray&)), - this, TQT_SLOT(handleAuthSixteenStage1Data(KIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(KIO::Job*)), - this, TQT_SLOT(handleAuthSixteenStage1Result(KIO::Job*))); + TDEIO::Job* job = TDEIO::get(tokenUrl, true, false); + connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQT_SLOT(handleAuthSixteenStage1Data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQT_SIGNAL(result(TDEIO::Job*)), + this, TQT_SLOT(handleAuthSixteenStage1Result(TDEIO::Job*))); } -void LoginTask::handleAuthSixteenStage1Data(KIO::Job* job, const TQByteArray& data) +void LoginTask::handleAuthSixteenStage1Data(TDEIO::Job* job, const TQByteArray& data) { kdDebug(YAHOO_RAW_DEBUG) << "data:" << data << endl; m_stage1Data.append(data); } -void LoginTask::handleAuthSixteenStage1Result(KIO::Job* job) +void LoginTask::handleAuthSixteenStage1Result(TDEIO::Job* job) { int responseNumber = -1; TQString token; @@ -294,20 +294,20 @@ void LoginTask::sendAuthSixteenStage2(const TQString& token) m_stage2Data = TQString(); TQString fullUrl = YahooLoginUrl.arg(token); KURL loginUrl(fullUrl); - KIO::Job* job = KIO::get(loginUrl, true, false); - connect(job, TQT_SIGNAL(data(KIO::Job*, const TQByteArray&)), - this, TQT_SLOT(handleAuthSixteenStage2Data(KIO::Job*, const TQByteArray&))); - connect(job, TQT_SIGNAL(result(KIO::Job*)), - this, TQT_SLOT(handleAuthSixteenStage2Result(KIO::Job*))); + TDEIO::Job* job = TDEIO::get(loginUrl, true, false); + connect(job, TQT_SIGNAL(data(TDEIO::Job*, const TQByteArray&)), + this, TQT_SLOT(handleAuthSixteenStage2Data(TDEIO::Job*, const TQByteArray&))); + connect(job, TQT_SIGNAL(result(TDEIO::Job*)), + this, TQT_SLOT(handleAuthSixteenStage2Result(TDEIO::Job*))); } -void LoginTask::handleAuthSixteenStage2Data(KIO::Job*, const TQByteArray& data) +void LoginTask::handleAuthSixteenStage2Data(TDEIO::Job*, const TQByteArray& data) { kdDebug(YAHOO_RAW_DEBUG) << "data:" << data << endl; m_stage2Data.append(data); } -void LoginTask::handleAuthSixteenStage2Result(KIO::Job* job) +void LoginTask::handleAuthSixteenStage2Result(TDEIO::Job* job) { TQString crumb; int responseNumber = -1; |