summaryrefslogtreecommitdiffstats
path: root/kbugbuster/backend/bugjob.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:51:49 +0000
commit4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch)
treeb0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbugbuster/backend/bugjob.cpp
parent1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff)
downloadtdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz
tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbugbuster/backend/bugjob.cpp')
-rw-r--r--kbugbuster/backend/bugjob.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kbugbuster/backend/bugjob.cpp b/kbugbuster/backend/bugjob.cpp
index 6f32fb97..1d13913b 100644
--- a/kbugbuster/backend/bugjob.cpp
+++ b/kbugbuster/backend/bugjob.cpp
@@ -30,14 +30,14 @@ void BugJob::start( const KURL &url )
KIO::Job *job = KIO::get( url, true /*always 'reload=true', we have our own cache*/, false );
- connect( job, SIGNAL( result( KIO::Job * ) ),
- this, SLOT( ioResult( KIO::Job * ) ) );
- connect( job, SIGNAL( data( KIO::Job *, const QByteArray & ) ),
- this, SLOT( ioData( KIO::Job *, const QByteArray & ) ) );
- connect( job, SIGNAL( infoMessage( KIO::Job *, const QString & ) ),
- this, SLOT( ioInfoMessage( KIO::Job *, const QString & ) ) );
- connect( job, SIGNAL( percent( KIO::Job *, unsigned long ) ),
- this, SLOT( ioInfoPercent( KIO::Job *, unsigned long ) ) );
+ 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 ) ) );
}
void BugJob::ioResult( KIO::Job *job )
@@ -71,7 +71,7 @@ void BugJob::ioResult( KIO::Job *job )
delete this;
}
-void BugJob::ioData( KIO::Job *, const QByteArray &data )
+void BugJob::ioData( KIO::Job *, const TQByteArray &data )
{
unsigned int start = m_data.size();
@@ -79,9 +79,9 @@ void BugJob::ioData( KIO::Job *, const QByteArray &data )
memcpy( m_data.data() + start, data.data(), data.size() );
}
-void BugJob::ioInfoMessage( KIO::Job *, const QString &_text )
+void BugJob::ioInfoMessage( KIO::Job *, const TQString &_text )
{
- QString text = _text;
+ TQString text = _text;
emit infoMessage( text );
}