diff options
Diffstat (limited to 'src/newstuff/providerloader.cpp')
-rw-r--r-- | src/newstuff/providerloader.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/newstuff/providerloader.cpp b/src/newstuff/providerloader.cpp index 20eda49..0f12a7e 100644 --- a/src/newstuff/providerloader.cpp +++ b/src/newstuff/providerloader.cpp @@ -43,25 +43,25 @@ void ProviderLoader::load( const TQString &type, const TQString &providersList ) // myLog() << "ProviderLoader::load(): providersList: " << providersList << endl; - KIO::TransferJob *job = KIO::get( KURL( providersList ), false, false ); - connect( job, TQT_SIGNAL( result( KIO::Job * ) ), - TQT_SLOT( slotJobResult( KIO::Job * ) ) ); - connect( job, TQT_SIGNAL( data( KIO::Job *, const TQByteArray & ) ), - TQT_SLOT( slotJobData( KIO::Job *, const TQByteArray & ) ) ); - connect( job, TQT_SIGNAL( percent (KIO::Job *, unsigned long) ), - TQT_SIGNAL( percent (KIO::Job *, unsigned long) ) ); + TDEIO::TransferJob *job = TDEIO::get( KURL( providersList ), false, false ); + connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), + TQT_SLOT( slotJobResult( TDEIO::Job * ) ) ); + connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), + TQT_SLOT( slotJobData( TDEIO::Job *, const TQByteArray & ) ) ); + connect( job, TQT_SIGNAL( percent (TDEIO::Job *, unsigned long) ), + TQT_SIGNAL( percent (TDEIO::Job *, unsigned long) ) ); // job->dumpObjectInfo(); } -void ProviderLoader::slotJobData( KIO::Job *, const TQByteArray &data ) +void ProviderLoader::slotJobData( TDEIO::Job *, const TQByteArray &data ) { if ( data.size() == 0 ) return; TQCString str( data, data.size() + 1 ); mJobData.append( TQString::fromUtf8( str ) ); } -void ProviderLoader::slotJobResult( KIO::Job *job ) +void ProviderLoader::slotJobResult( TDEIO::Job *job ) { if ( job->error() ) { job->showErrorDialog( mParentWidget ); |