summaryrefslogtreecommitdiffstats
path: root/kmail/popaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/popaccount.cpp')
-rw-r--r--kmail/popaccount.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/popaccount.cpp b/kmail/popaccount.cpp
index 94dbf8a5e..7bb830bc0 100644
--- a/kmail/popaccount.cpp
+++ b/kmail/popaccount.cpp
@@ -27,7 +27,7 @@
#include "popaccount.h"
#include "broadcaststatus.h"
-using KPIM::BroadcastStatus;
+using KPIM::BroadcasStatus;
#include "progressmanager.h"
#include "kmfoldermgr.h"
#include "kmfiltermgr.h"
@@ -514,13 +514,13 @@ void PopAccount::slotJobFinished() {
mUidForIdMap[hids.key()],
Later));//TODO
//set Action if already known
- if( mHeaderDeleteUids.contains( headersOnServer.current()->uid() ) ) {
+ if( mHeaderDeleteUids.tqcontains( headersOnServer.current()->uid() ) ) {
headersOnServer.current()->setAction(Delete);
}
- else if( mHeaderDownUids.contains( headersOnServer.current()->uid() ) ) {
+ else if( mHeaderDownUids.tqcontains( headersOnServer.current()->uid() ) ) {
headersOnServer.current()->setAction(Down);
}
- else if( mHeaderLaterUids.contains( headersOnServer.current()->uid() ) ) {
+ else if( mHeaderLaterUids.tqcontains( headersOnServer.current()->uid() ) ) {
headersOnServer.current()->setAction(Later);
}
}
@@ -625,7 +625,7 @@ void PopAccount::slotJobFinished() {
headersOnServer.current()->action() == Later) {
//remove entries from the lists when the mails should not be downloaded
//(deleted or downloaded later)
- if ( mMsgsPendingDownload.contains( headersOnServer.current()->id() ) ) {
+ if ( mMsgsPendingDownload.tqcontains( headersOnServer.current()->id() ) ) {
mMsgsPendingDownload.remove( headersOnServer.current()->id() );
}
if (headersOnServer.current()->action() == Delete) {
@@ -747,7 +747,7 @@ void PopAccount::slotJobFinished() {
if ( !idsOfMsgsToDelete.isEmpty() ) {
stage = Dele;
if ( mMailCheckProgressItem )
- mMailCheckProgressItem->setStatus(
+ mMailCheckProgressItem->seStatus(
i18n( "Fetched 1 message from %1. Deleting messages from server...",
"Fetched %n messages from %1. Deleting messages from server...",
numMsgs )
@@ -757,7 +757,7 @@ void PopAccount::slotJobFinished() {
} else {
stage = Quit;
if ( mMailCheckProgressItem )
- mMailCheckProgressItem->setStatus(
+ mMailCheckProgressItem->seStatus(
i18n( "Fetched 1 message from %1. Terminating transmission...",
"Fetched %n messages from %1. Terminating transmission...",
numMsgs )
@@ -777,7 +777,7 @@ void PopAccount::slotJobFinished() {
}
idsOfMsgsToDelete.clear();
if ( mMailCheckProgressItem )
- mMailCheckProgressItem->setStatus(
+ mMailCheckProgressItem->seStatus(
i18n( "Fetched 1 message from %1. Terminating transmission...",
"Fetched %n messages from %1. Terminating transmission...",
numMsgs )
@@ -798,7 +798,7 @@ void PopAccount::slotJobFinished() {
if( mMailCheckProgressItem ) { // do this only once...
bool canceled = !kmkernel || kmkernel->mailCheckAborted() || mMailCheckProgressItem->canceled();
int numMessages = canceled ? indexOfCurrentMsg : idsOfMsgs.count();
- BroadcastStatus::instance()->setStatusMsgTransmissionCompleted(
+ BroadcasStatus::instance()->seStatusMsgTransmissionCompleted(
this->name(), numMessages, numBytes, numBytesRead, numBytesToRead, mLeaveOnServer, mMailCheckProgressItem );
// set mMailCheckProgressItem = 0 before calling setComplete() to prevent
// a race condition
@@ -913,7 +913,7 @@ void PopAccount::slotData( KIO::Job* job, const TQByteArray &data)
.arg(indexOfCurrentMsg+1).arg(numMsgs).arg(numBytesRead/1024)
.arg(numBytesToRead/1024).arg(mLogin).arg(mHost);
}
- mMailCheckProgressItem->setStatus( msg );
+ mMailCheckProgressItem->seStatus( msg );
mMailCheckProgressItem->setProgress(
(numBytesToRead <= 100) ? 50 // We never know what the server tells us
// This way of dividing is required for > 21MB of mail
@@ -990,7 +990,7 @@ void PopAccount::slotData( KIO::Job* job, const TQByteArray &data)
*size = mMsgsPendingDownload[id];
mSizeOfNextSeenMsgsDict.insert( uid, size );
if ( mUidsOfSeenMsgsDict.find( uid ) != 0 ) {
- if ( mMsgsPendingDownload.contains( id ) ) {
+ if ( mMsgsPendingDownload.tqcontains( id ) ) {
mMsgsPendingDownload.remove( id );
}
else