summaryrefslogtreecommitdiffstats
path: root/kmail/imapjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/imapjob.cpp')
-rw-r--r--kmail/imapjob.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/imapjob.cpp b/kmail/imapjob.cpp
index 165811960..3ddb93f39 100644
--- a/kmail/imapjob.cpp
+++ b/kmail/imapjob.cpp
@@ -41,7 +41,7 @@
using KPIM::ProgressManager;
#include "util.h"
-#include <stylesheet.h>
+#include <tqstylesheet.h>
#include <kio/scheduler.h>
#include <kdebug.h>
#include <klocale.h>
@@ -140,10 +140,10 @@ void ImapJob::init( JobType jt, TQString sets, KMFolderImap* folder,
for ( char *ch = cstr.data(); *ch; ch++ )
{
if ( *ch == '\n' && (prevChar != '\r') ) {
- jd.data.at( i ) = '\r';
+ jd.data.tqat( i ) = '\r';
i++;
}
- jd.data.at( i ) = *ch;
+ jd.data.tqat( i ) = *ch;
prevChar = *ch;
i++;
}
@@ -191,7 +191,7 @@ void ImapJob::init( JobType jt, TQString sets, KMFolderImap* folder,
"ImapJobCopyMove"+ProgressManager::getUniqueID(),
i18n("Server operation"),
i18n("Source folder: %1 - Destination folder: %2")
- .arg( TQStyleSheet::escape( msg_parent->prettyURL() ),
+ .tqarg( TQStyleSheet::escape( msg_parent->prettyURL() ),
TQStyleSheet::escape( mDestFolder->prettyURL() ) ),
true,
account->useSSL() || account->useTLS() );
@@ -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->seStatus( errorStr );
+ (*it).progressItem->setqStatus( 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->seStatus( i18n("Uploading message data failed.") );
+ (*it).progressItem->setqStatus( i18n("Uploading message data failed.") );
account->handlePutError( job, *it, mDestFolder );
return;
} else {
if ( (*it).progressItem )
- (*it).progressItem->seStatus( i18n("Uploading message data completed.") );
+ (*it).progressItem->setqStatus( 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->seStatus( errStr );
+ (*it).progressItem->setqStatus( errStr );
if ( account->handleJobError( job, errStr ) )
deleteLater();
return;