summaryrefslogtreecommitdiffstats
path: root/kmail/expirejob.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /kmail/expirejob.cpp
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/expirejob.cpp')
-rw-r--r--kmail/expirejob.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/expirejob.cpp b/kmail/expirejob.cpp
index 6d634d8f8..30ab9cd7d 100644
--- a/kmail/expirejob.cpp
+++ b/kmail/expirejob.cpp
@@ -162,7 +162,7 @@ void ExpireJob::done()
moving = true;
str = i18n( "Removing 1 old message from folder %1...",
"Removing %n old messages from folder %1...", count )
- .arg( mSrcFolder->label() );
+ .tqarg( mSrcFolder->label() );
} else {
// Expire by moving
mMoveToFolder =
@@ -170,7 +170,7 @@ void ExpireJob::done()
if ( !mMoveToFolder ) {
str = i18n( "Cannot expire messages from folder %1: destination "
"folder %2 not found" )
- .arg( mSrcFolder->label(), mSrcFolder->expireToFolderId() );
+ .tqarg( mSrcFolder->label(), mSrcFolder->expireToFolderId() );
kdWarning(5006) << str << endl;
} else {
kdDebug(5006) << "ExpireJob: finished expiring in folder "
@@ -185,7 +185,7 @@ void ExpireJob::done()
str = i18n( "Moving 1 old message from folder %1 to folder %2...",
"Moving %n old messages from folder %1 to folder %2...",
count )
- .arg( mSrcFolder->label(), mMoveToFolder->label() );
+ .tqarg( mSrcFolder->label(), mMoveToFolder->label() );
}
}
}
@@ -213,34 +213,34 @@ void ExpireJob::slotMessagesMoved( KMCommand *command )
msg = i18n( "Removed 1 old message from folder %1.",
"Removed %n old messages from folder %1.",
mRemovedMsgs.count() )
- .arg( mSrcFolder->label() );
+ .tqarg( mSrcFolder->label() );
}
else {
msg = i18n( "Moved 1 old message from folder %1 to folder %2.",
"Moved %n old messages from folder %1 to folder %2.",
mRemovedMsgs.count() )
- .arg( mSrcFolder->label(), mMoveToFolder->label() );
+ .tqarg( mSrcFolder->label(), mMoveToFolder->label() );
}
break;
case KMCommand::Failed:
if ( mSrcFolder->expireAction() == KMFolder::ExpireDelete ) {
msg = i18n( "Removing old messages from folder %1 failed." )
- .arg( mSrcFolder->label() );
+ .tqarg( mSrcFolder->label() );
}
else {
msg = i18n( "Moving old messages from folder %1 to folder %2 failed." )
- .arg( mSrcFolder->label(), mMoveToFolder->label() );
+ .tqarg( mSrcFolder->label(), mMoveToFolder->label() );
}
break;
case KMCommand::Canceled:
if ( mSrcFolder->expireAction() == KMFolder::ExpireDelete ) {
msg = i18n( "Removing old messages from folder %1 was canceled." )
- .arg( mSrcFolder->label() );
+ .tqarg( mSrcFolder->label() );
}
else {
msg = i18n( "Moving old messages from folder %1 to folder %2 was "
"canceled." )
- .arg( mSrcFolder->label(), mMoveToFolder->label() );
+ .tqarg( mSrcFolder->label(), mMoveToFolder->label() );
}
default: ;
}