summaryrefslogtreecommitdiffstats
path: root/kmail/popaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/popaccount.cpp')
-rw-r--r--kmail/popaccount.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmail/popaccount.cpp b/kmail/popaccount.cpp
index 932b503e2..a37bc6d58 100644
--- a/kmail/popaccount.cpp
+++ b/kmail/popaccount.cpp
@@ -514,13 +514,13 @@ void PopAccount::slotJobFinished() {
mUidForIdMap[hids.key()],
Later));//TODO
//set Action if already known
- if( mHeaderDeleteUids.tqcontains( headersOnServer.current()->uid() ) ) {
+ if( mHeaderDeleteUids.contains( headersOnServer.current()->uid() ) ) {
headersOnServer.current()->setAction(Delete);
}
- else if( mHeaderDownUids.tqcontains( headersOnServer.current()->uid() ) ) {
+ else if( mHeaderDownUids.contains( headersOnServer.current()->uid() ) ) {
headersOnServer.current()->setAction(Down);
}
- else if( mHeaderLaterUids.tqcontains( headersOnServer.current()->uid() ) ) {
+ else if( mHeaderLaterUids.contains( 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.tqcontains( headersOnServer.current()->id() ) ) {
+ if ( mMsgsPendingDownload.contains( headersOnServer.current()->id() ) ) {
mMsgsPendingDownload.remove( headersOnServer.current()->id() );
}
if (headersOnServer.current()->action() == Delete) {
@@ -930,11 +930,11 @@ void PopAccount::slotData( KIO::Job* job, const TQByteArray &data)
// otherwise stage is List Or Uidl
TQString qdata = data;
qdata = qdata.simplifyWhiteSpace(); // Workaround for Maillennium POP3/UNIBOX
- int spc = qdata.tqfind( ' ' );
+ int spc = qdata.find( ' ' );
if ( stage == List ) {
if ( spc > 0 ) {
TQString length = qdata.mid(spc+1);
- if (length.tqfind(' ') != -1) length.truncate(length.tqfind(' '));
+ if (length.find(' ') != -1) length.truncate(length.find(' '));
int len = length.toInt();
numBytes += len;
TQString id = qdata.left(spc);
@@ -989,8 +989,8 @@ void PopAccount::slotData( KIO::Job* job, const TQByteArray &data)
int *size = new int; //malloc(size_of(int));
*size = mMsgsPendingDownload[id];
mSizeOfNextSeenMsgsDict.insert( uid, size );
- if ( mUidsOfSeenMsgsDict.tqfind( uid ) != 0 ) {
- if ( mMsgsPendingDownload.tqcontains( id ) ) {
+ if ( mUidsOfSeenMsgsDict.find( uid ) != 0 ) {
+ if ( mMsgsPendingDownload.contains( id ) ) {
mMsgsPendingDownload.remove( id );
}
else