summaryrefslogtreecommitdiffstats
path: root/kio/misc/kpac/downloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/misc/kpac/downloader.cpp')
-rw-r--r--kio/misc/kpac/downloader.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kio/misc/kpac/downloader.cpp b/kio/misc/kpac/downloader.cpp
index 19417b1fb..c150a732c 100644
--- a/kio/misc/kpac/downloader.cpp
+++ b/kio/misc/kpac/downloader.cpp
@@ -43,10 +43,10 @@ namespace KPAC
m_script = TQString::null;
m_scriptURL = url;
- KIO::TransferJob* job = KIO::get( url, false, false );
- connect( job, TQT_SIGNAL( data( KIO::Job*, const TQByteArray& ) ),
- TQT_SLOT( data( KIO::Job*, const TQByteArray& ) ) );
- connect( job, TQT_SIGNAL( result( KIO::Job* ) ), TQT_SLOT( result( KIO::Job* ) ) );
+ TDEIO::TransferJob* job = TDEIO::get( url, false, false );
+ connect( job, TQT_SIGNAL( data( TDEIO::Job*, const TQByteArray& ) ),
+ TQT_SLOT( data( TDEIO::Job*, const TQByteArray& ) ) );
+ connect( job, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( result( TDEIO::Job* ) ) );
}
void Downloader::failed()
@@ -59,16 +59,16 @@ namespace KPAC
m_error = error;
}
- void Downloader::data( KIO::Job*, const TQByteArray& data )
+ void Downloader::data( TDEIO::Job*, const TQByteArray& data )
{
unsigned offset = m_data.size();
m_data.resize( offset + data.size() );
std::memcpy( m_data.data() + offset, data.data(), data.size() );
}
- void Downloader::result( KIO::Job* job )
+ void Downloader::result( TDEIO::Job* job )
{
- if ( !job->error() && !static_cast< KIO::TransferJob* >( job )->isErrorPage() )
+ if ( !job->error() && !static_cast< TDEIO::TransferJob* >( job )->isErrorPage() )
{
bool dummy;
m_script = TDEGlobal::charsets()->codecForName(