diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kioslaves/mbox/mbox.cc | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslaves/mbox/mbox.cc')
-rw-r--r-- | kioslaves/mbox/mbox.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kioslaves/mbox/mbox.cc b/kioslaves/mbox/mbox.cc index 8ad8d09ab..1828401b6 100644 --- a/kioslaves/mbox/mbox.cc +++ b/kioslaves/mbox/mbox.cc @@ -22,8 +22,8 @@ #include "stat.h" #include "urlinfo.h" -#include <qstring.h> -#include <qcstring.h> +#include <tqstring.h> +#include <tqcstring.h> #include <kdebug.h> #include <klocale.h> @@ -58,7 +58,7 @@ int kdemain( int argc, char * argv[] ) return 0; } -MBoxProtocol::MBoxProtocol( const QCString& arg1, const QCString& arg2 ) +MBoxProtocol::MBoxProtocol( const TQCString& arg1, const TQCString& arg2 ) : KIO::SlaveBase( "mbox2", arg1, arg2 ), m_errorState( true ) { @@ -74,8 +74,8 @@ void MBoxProtocol::get( const KURL& url ) m_errorState = false; UrlInfo info( url, UrlInfo::message ); - QString line; - QByteArray ba_line; + TQString line; + TQByteArray ba_line; if( info.type() == UrlInfo::invalid && !m_errorState ) { @@ -89,7 +89,7 @@ void MBoxProtocol::get( const KURL& url ) { line = mbox.currentLine(); line += '\n'; - ba_line = QCString( line.utf8() ); + ba_line = TQCString( line.utf8() ); ba_line.truncate( ba_line.size() - 1 ); //Removing training '\0' data( ba_line ); mbox.nextLine(); @@ -97,7 +97,7 @@ void MBoxProtocol::get( const KURL& url ) if( !m_errorState ) { - data( QByteArray() ); + data( TQByteArray() ); finished(); } } @@ -160,7 +160,7 @@ void MBoxProtocol::mimetype( const KURL& url ) finished(); } -void MBoxProtocol::emitError( int errno, const QString& arg ) +void MBoxProtocol::emitError( int errno, const TQString& arg ) { m_errorState = true; error( errno, arg ); |