diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:49 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:37:49 -0600 |
commit | f8069e2ea048f2657cc417d83820576ec55c181b (patch) | |
tree | cbc5bf540866934a91e0f33b260fc7a25e191fad /kbugbuster/backend/bugjob.cpp | |
parent | e6aaa3624cc6179b82a9bfff1760e742a669064c (diff) | |
download | tdesdk-f8069e2ea048f2657cc417d83820576ec55c181b.tar.gz tdesdk-f8069e2ea048f2657cc417d83820576ec55c181b.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kbugbuster/backend/bugjob.cpp')
-rw-r--r-- | kbugbuster/backend/bugjob.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kbugbuster/backend/bugjob.cpp b/kbugbuster/backend/bugjob.cpp index 1d13913b..90828ceb 100644 --- a/kbugbuster/backend/bugjob.cpp +++ b/kbugbuster/backend/bugjob.cpp @@ -28,19 +28,19 @@ void BugJob::start( const KURL &url ) // ### obey post, if necessary - KIO::Job *job = KIO::get( url, true /*always 'reload=true', we have our own cache*/, false ); - - connect( job, TQT_SIGNAL( result( KIO::Job * ) ), - this, TQT_SLOT( ioResult( KIO::Job * ) ) ); - connect( job, TQT_SIGNAL( data( KIO::Job *, const TQByteArray & ) ), - this, TQT_SLOT( ioData( KIO::Job *, const TQByteArray & ) ) ); - connect( job, TQT_SIGNAL( infoMessage( KIO::Job *, const TQString & ) ), - this, TQT_SLOT( ioInfoMessage( KIO::Job *, const TQString & ) ) ); - connect( job, TQT_SIGNAL( percent( KIO::Job *, unsigned long ) ), - this, TQT_SLOT( ioInfoPercent( KIO::Job *, unsigned long ) ) ); + TDEIO::Job *job = TDEIO::get( url, true /*always 'reload=true', we have our own cache*/, false ); + + connect( job, TQT_SIGNAL( result( TDEIO::Job * ) ), + this, TQT_SLOT( ioResult( TDEIO::Job * ) ) ); + connect( job, TQT_SIGNAL( data( TDEIO::Job *, const TQByteArray & ) ), + this, TQT_SLOT( ioData( TDEIO::Job *, const TQByteArray & ) ) ); + connect( job, TQT_SIGNAL( infoMessage( TDEIO::Job *, const TQString & ) ), + this, TQT_SLOT( ioInfoMessage( TDEIO::Job *, const TQString & ) ) ); + connect( job, TQT_SIGNAL( percent( TDEIO::Job *, unsigned long ) ), + this, TQT_SLOT( ioInfoPercent( TDEIO::Job *, unsigned long ) ) ); } -void BugJob::ioResult( KIO::Job *job ) +void BugJob::ioResult( TDEIO::Job *job ) { m_error = job->error(); m_errorText = job->errorText(); @@ -71,7 +71,7 @@ void BugJob::ioResult( KIO::Job *job ) delete this; } -void BugJob::ioData( KIO::Job *, const TQByteArray &data ) +void BugJob::ioData( TDEIO::Job *, const TQByteArray &data ) { unsigned int start = m_data.size(); @@ -79,13 +79,13 @@ void BugJob::ioData( KIO::Job *, const TQByteArray &data ) memcpy( m_data.data() + start, data.data(), data.size() ); } -void BugJob::ioInfoMessage( KIO::Job *, const TQString &_text ) +void BugJob::ioInfoMessage( TDEIO::Job *, const TQString &_text ) { TQString text = _text; emit infoMessage( text ); } -void BugJob::ioInfoPercent( KIO::Job *, unsigned long percent ) +void BugJob::ioInfoPercent( TDEIO::Job *, unsigned long percent ) { emit infoPercent( percent ); } |