From f21aaec952493cb5688c73de6e82a569ddbd7fb2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 25 Jan 2013 00:36:20 -0600 Subject: Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4 --- kopete/protocols/yahoo/libkyahoo/logintask.cpp | 28 +++++++++++++------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kopete/protocols/yahoo/libkyahoo/logintask.cpp') 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; -- cgit v1.2.1