summaryrefslogtreecommitdiffstats
path: root/kioslave/smtp/transactionstate.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kioslave/smtp/transactionstate.cc
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/smtp/transactionstate.cc')
-rw-r--r--kioslave/smtp/transactionstate.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/kioslave/smtp/transactionstate.cc b/kioslave/smtp/transactionstate.cc
index 3bf3c7614..67d61486a 100644
--- a/kioslave/smtp/transactionstate.cc
+++ b/kioslave/smtp/transactionstate.cc
@@ -36,17 +36,17 @@
#include <kio/global.h>
#include <klocale.h>
-#include <qstringlist.h>
+#include <tqstringlist.h>
namespace KioSMTP {
- void TransactionState::setFailedFatally( int code, const QString & msg ) {
+ void TransactionState::setFailedFatally( int code, const TQString & msg ) {
mFailed = mFailedFatally = true;
mErrorCode = code;
mErrorMessage = msg;
}
- void TransactionState::setMailFromFailed( const QString & addr, const Response & r ) {
+ void TransactionState::setMailFromFailed( const TQString & addr, const Response & r ) {
setFailed();
mErrorCode = KIO::ERR_NO_CONTENT;
if ( addr.isEmpty() )
@@ -86,17 +86,17 @@ namespace KioSMTP {
return KIO::ERR_INTERNAL;
}
- QString TransactionState::errorMessage() const {
+ TQString TransactionState::errorMessage() const {
if ( !failed() )
- return QString::null;
+ return TQString::null;
if ( !mErrorMessage.isEmpty() )
return mErrorMessage;
if ( haveRejectedRecipients() ) {
- QString msg = i18n("Message sending failed since the following recipients were rejected by the server:\n"
+ TQString msg = i18n("Message sending failed since the following recipients were rejected by the server:\n"
"%1");
- QStringList recip;
+ TQStringList recip;
for ( RejectedRecipientList::const_iterator it = mRejectedRecipients.begin() ;
it != mRejectedRecipients.end() ; ++it )
recip.push_back( (*it).recipient + " (" + (*it).reason + ')' );