diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kio/misc/kpac/downloader.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/misc/kpac/downloader.cpp')
-rw-r--r-- | kio/misc/kpac/downloader.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kio/misc/kpac/downloader.cpp b/kio/misc/kpac/downloader.cpp index 6d4e62409..6f419f5f5 100644 --- a/kio/misc/kpac/downloader.cpp +++ b/kio/misc/kpac/downloader.cpp @@ -21,7 +21,7 @@ #include <cstdlib> #include <cstring> -#include <qtextcodec.h> +#include <tqtextcodec.h> #include <kcharsets.h> #include <kglobal.h> @@ -32,21 +32,21 @@ namespace KPAC { - Downloader::Downloader( QObject* parent ) - : QObject( parent ) + Downloader::Downloader( TQObject* parent ) + : TQObject( parent ) { } void Downloader::download( const KURL& url ) { m_data.resize( 0 ); - m_script = QString::null; + m_script = TQString::null; m_scriptURL = url; KIO::TransferJob* job = KIO::get( url, false, false ); - connect( job, SIGNAL( data( KIO::Job*, const QByteArray& ) ), - SLOT( data( KIO::Job*, const QByteArray& ) ) ); - connect( job, SIGNAL( result( KIO::Job* ) ), SLOT( result( KIO::Job* ) ) ); + 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* ) ) ); } void Downloader::failed() @@ -54,12 +54,12 @@ namespace KPAC emit result( false ); } - void Downloader::setError( const QString& error ) + void Downloader::setError( const TQString& error ) { m_error = error; } - void Downloader::data( KIO::Job*, const QByteArray& data ) + void Downloader::data( KIO::Job*, const TQByteArray& data ) { unsigned offset = m_data.size(); m_data.resize( offset + data.size() ); |