diff options
Diffstat (limited to 'kmail/imapjob.cpp')
-rw-r--r-- | kmail/imapjob.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/imapjob.cpp b/kmail/imapjob.cpp index 560343689..b76c6d2cc 100644 --- a/kmail/imapjob.cpp +++ b/kmail/imapjob.cpp @@ -133,7 +133,7 @@ void ImapJob::init( JobType jt, TQString sets, KMFolderImap* folder, int a = cstr.find("\nX-UID: "); int b = cstr.find('\n', a); if (a != -1 && b != -1 && cstr.find("\n\n") > a) cstr.remove(a, b-a); - jd.data.resize( cstr.length() + cstr.contains( "\n" ) - cstr.contains( "\r\n" ) ); + jd.data.resize( cstr.length() + cstr.tqcontains( "\n" ) - cstr.tqcontains( "\r\n" ) ); unsigned int i = 0; char prevChar = '\0'; // according to RFC 2060 we need CRLF @@ -369,7 +369,7 @@ void ImapJob::slotGetMessageResult( KIO::Job * job ) { TQString errorStr = i18n( "Error while retrieving messages from the server." ); if ( (*it).progressItem ) - (*it).progressItem->setStatus( errorStr ); + (*it).progressItem->seStatus( errorStr ); account->handleJobError( job, errorStr ); return; } else { @@ -540,12 +540,12 @@ void ImapJob::slotPutMessageResult( KIO::Job *job ) if (job->error()) { if ( (*it).progressItem ) - (*it).progressItem->setStatus( i18n("Uploading message data failed.") ); + (*it).progressItem->seStatus( i18n("Uploading message data failed.") ); account->handlePutError( job, *it, mDestFolder ); return; } else { if ( (*it).progressItem ) - (*it).progressItem->setStatus( i18n("Uploading message data completed.") ); + (*it).progressItem->seStatus( i18n("Uploading message data completed.") ); if ( mParentProgressItem ) { mParentProgressItem->incCompletedItems(); @@ -651,7 +651,7 @@ void ImapJob::slotCopyMessageResult( KIO::Job *job ) mErrorCode = job->error(); TQString errStr = i18n("Error while copying messages."); if ( (*it).progressItem ) - (*it).progressItem->setStatus( errStr ); + (*it).progressItem->seStatus( errStr ); if ( account->handleJobError( job, errStr ) ) deleteLater(); return; |