From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslaves/mbox/mbox.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kioslaves/mbox/mbox.cc') 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 -#include +#include +#include #include #include @@ -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 ); -- cgit v1.2.1