summaryrefslogtreecommitdiffstats
path: root/kmail/compactionjob.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/compactionjob.cpp')
-rw-r--r--kmail/compactionjob.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/compactionjob.cpp b/kmail/compactionjob.cpp
index 35aa6ef3f..741052c2d 100644
--- a/kmail/compactionjob.cpp
+++ b/kmail/compactionjob.cpp
@@ -96,14 +96,14 @@ int MboxCompactionJob::executeNow( bool silent )
if (!storage->compactable()) {
kdDebug(5006) << storage->location() << " compaction skipped." << endl;
if ( !mSilent ) {
- TQString str = i18n( "For safety reasons, compaction has been disabled for %1" ).tqarg( mbox->label() );
+ TQString str = i18n( "For safety reasons, compaction has been disabled for %1" ).arg( mbox->label() );
BroadcastStatus::instance()->seStatusMsg( str );
}
return 0;
}
kdDebug(5006) << "Compacting " << mSrcFolder->idString() << endl;
- if (KMFolderIndex::IndexOk != mbox->indextqStatus()) {
+ if (KMFolderIndex::IndexOk != mbox->indexStatus()) {
kdDebug(5006) << "Critical error: " << storage->location() <<
" has been modified by an external application while KMail was running." << endl;
// exit(1); backed out due to broken nfs
@@ -173,11 +173,11 @@ void MboxCompactionJob::done( int rc )
mbox->close("mboxcompact", true);
mbox->setAutoCreateIndex( autoCreate );
mbox->setNeedsCompacting( false ); // We are clean now
- str = i18n( "Folder \"%1\" successfully compacted" ).tqarg( mSrcFolder->label() );
+ str = i18n( "Folder \"%1\" successfully compacted" ).arg( mSrcFolder->label() );
kdDebug(5006) << str << endl;
} else {
mbox->close("mboxcompact");
- str = i18n( "Error occurred while compacting \"%1\". Compaction aborted." ).tqarg( mSrcFolder->label() );
+ str = i18n( "Error occurred while compacting \"%1\". Compaction aborted." ).arg( mSrcFolder->label() );
kdDebug(5006) << "Error occurred while compacting " << mbox->location() << endl;
kdDebug(5006) << "Compaction aborted." << endl;
TQFile::remove( mTempName );
@@ -256,9 +256,9 @@ void MaildirCompactionJob::done( int rc )
mCancellable = false;
TQString str;
if ( !rc ) {
- str = i18n( "Folder \"%1\" successfully compacted" ).tqarg( mSrcFolder->label() );
+ str = i18n( "Folder \"%1\" successfully compacted" ).arg( mSrcFolder->label() );
} else {
- str = i18n( "Error occurred while compacting \"%1\". Compaction aborted." ).tqarg( mSrcFolder->label() );
+ str = i18n( "Error occurred while compacting \"%1\". Compaction aborted." ).arg( mSrcFolder->label() );
}
mErrorCode = rc;
storage->setNeedsCompacting( false );