From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kioslave/smtp/response.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'kioslave/smtp/response.cc') diff --git a/kioslave/smtp/response.cc b/kioslave/smtp/response.cc index b1745865a..ec5067871 100644 --- a/kioslave/smtp/response.cc +++ b/kioslave/smtp/response.cc @@ -36,7 +36,7 @@ #include #include -#include +#include namespace KioSMTP { @@ -59,7 +59,7 @@ namespace KioSMTP { } bool ok = false; - unsigned int code = QCString( line, 3+1 ).toUInt( &ok ); + unsigned int code = TQCString( line, 3+1 ).toUInt( &ok ); if ( !ok || code < 100 || code > 559 ) { // not a number or number out of range mValid = false; @@ -85,22 +85,22 @@ namespace KioSMTP { return; } - mLines.push_back( len > 4 ? QCString( line+4, len-4+1 ).stripWhiteSpace() : QCString() ); + mLines.push_back( len > 4 ? TQCString( line+4, len-4+1 ).stripWhiteSpace() : TQCString() ); } // hackishly fixing QCStringList flaws... - static QCString join( char sep, const QCStringList & list ) { + static TQCString join( char sep, const QCStringList & list ) { if ( list.empty() ) - return QCString(); - QCString result = list.front(); + return TQCString(); + TQCString result = list.front(); for ( QCStringList::const_iterator it = ++list.begin() ; it != list.end() ; ++it ) result += sep + *it; return result; } - QString Response::errorMessage() const { - QString msg; + TQString Response::errorMessage() const { + TQString msg; if ( lines().count() > 1 ) msg = i18n("The server responded:\n%1") .arg( join( '\n', lines() ) ); -- cgit v1.2.1