diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:36:20 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:36:20 -0600 |
commit | f21aaec952493cb5688c73de6e82a569ddbd7fb2 (patch) | |
tree | 78ccb5117063da3e08e3277e11054b912a9f2ae7 /kopete/protocols/yahoo/libkyahoo/yahoobuddyiconloader.cpp | |
parent | c48e769eb275917717e2b55eb869f7e559293ac8 (diff) | |
download | tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.tar.gz tdenetwork-f21aaec952493cb5688c73de6e82a569ddbd7fb2.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kopete/protocols/yahoo/libkyahoo/yahoobuddyiconloader.cpp')
-rw-r--r-- | kopete/protocols/yahoo/libkyahoo/yahoobuddyiconloader.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kopete/protocols/yahoo/libkyahoo/yahoobuddyiconloader.cpp b/kopete/protocols/yahoo/libkyahoo/yahoobuddyiconloader.cpp index 025386f0..b9a270f8 100644 --- a/kopete/protocols/yahoo/libkyahoo/yahoobuddyiconloader.cpp +++ b/kopete/protocols/yahoo/libkyahoo/yahoobuddyiconloader.cpp @@ -43,14 +43,14 @@ YahooBuddyIconLoader::~YahooBuddyIconLoader() void YahooBuddyIconLoader::fetchBuddyIcon( const TQString &who, KURL url, int checksum ) { kdDebug(YAHOO_RAW_DEBUG) << k_funcinfo << url << endl; - KIO::TransferJob *transfer; + TDEIO::TransferJob *transfer; TQString Url = url.url(); TQString ext = Url.left( Url.findRev( "?" ) ); ext = ext.right( ext.length() - ext.findRev( "." ) ); - transfer = KIO::get( url, false, false ); - connect( transfer, TQT_SIGNAL( result( KIO::Job* ) ), this, TQT_SLOT( slotComplete( KIO::Job* ) ) ); - connect( transfer, TQT_SIGNAL( data( KIO::Job*, const TQByteArray& ) ), this, TQT_SLOT( slotData( KIO::Job*, const TQByteArray& ) ) ); + transfer = TDEIO::get( url, false, false ); + connect( transfer, TQT_SIGNAL( result( TDEIO::Job* ) ), this, TQT_SLOT( slotComplete( TDEIO::Job* ) ) ); + connect( transfer, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ), this, TQT_SLOT( slotData( TDEIO::Job*, const TQByteArray& ) ) ); m_jobs[transfer].url = url; m_jobs[transfer].who = who; @@ -58,11 +58,11 @@ void YahooBuddyIconLoader::fetchBuddyIcon( const TQString &who, KURL url, int ch } -void YahooBuddyIconLoader::slotData( KIO::Job *job, const TQByteArray& data ) +void YahooBuddyIconLoader::slotData( TDEIO::Job *job, const TQByteArray& data ) { kdDebug(YAHOO_GEN_DEBUG) << k_funcinfo << endl; - KIO::TransferJob *transfer = static_cast< KIO::TransferJob * >(job); + TDEIO::TransferJob *transfer = static_cast< TDEIO::TransferJob * >(job); // FIXME need to check //m_jobs[transfer].icon.append( data ); @@ -71,11 +71,11 @@ void YahooBuddyIconLoader::slotData( KIO::Job *job, const TQByteArray& data ) memcpy( m_jobs[transfer].icon.data() + oldsize, data.data(), data.size() ); } -void YahooBuddyIconLoader::slotComplete( KIO::Job *job ) +void YahooBuddyIconLoader::slotComplete( TDEIO::Job *job ) { kdDebug(YAHOO_GEN_DEBUG) << k_funcinfo << endl; - KIO::TransferJob *transfer = static_cast< KIO::TransferJob * >(job); + TDEIO::TransferJob *transfer = static_cast< TDEIO::TransferJob * >(job); if ( job->error () || transfer->isErrorPage () ) { |