summaryrefslogtreecommitdiffstats
path: root/kmail/kmacctmaildir.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmacctmaildir.cpp')
-rw-r--r--kmail/kmacctmaildir.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmacctmaildir.cpp b/kmail/kmacctmaildir.cpp
index a65ba6bbb..818e614d0 100644
--- a/kmail/kmacctmaildir.cpp
+++ b/kmail/kmacctmaildir.cpp
@@ -19,7 +19,7 @@ using KPIM::ProgressManager;
#include <kdebug.h>
#include <kconfig.h>
-#include <stylesheet.h>
+#include <tqstylesheet.h>
#include <stdlib.h>
#include <stdio.h>
@@ -107,14 +107,14 @@ void KMAcctMaildir::processNewMail(bool)
}
BroadcastStatus::instance()->seStatusMsg(
- i18n("Preparing transmission from \"%1\"...").arg(mName));
+ i18n("Preparing transmission from \"%1\"...").tqarg(mName));
Q_ASSERT( !mMailCheckProgressItem );
TQString escapedName = TQStyleSheet::escape( mName );
mMailCheckProgressItem = KPIM::ProgressManager::createProgressItem(
"MailCheck" + mName,
escapedName,
- i18n("Preparing transmission from \"%1\"...").arg( escapedName ),
+ i18n("Preparing transmission from \"%1\"...").tqarg( escapedName ),
false, // cannot be canceled
false ); // no tls/ssl
@@ -130,7 +130,7 @@ void KMAcctMaildir::processNewMail(bool)
rc = mailFolder.open("acctmaildirMail");
if (rc)
{
- TQString aStr = i18n("<qt>Cannot open folder <b>%1</b>.</qt>").arg( mailFolder.location() );
+ TQString aStr = i18n("<qt>Cannot open folder <b>%1</b>.</qt>").tqarg( mailFolder.location() );
KMessageBox::sorry(0, aStr);
kdDebug(5006) << "cannot open folder " << mailFolder.location() << endl;
checkDone( hasNewMail, CheckError );
@@ -148,7 +148,7 @@ void KMAcctMaildir::processNewMail(bool)
// prepare the static parts of the status message:
TQString statusMsgStub = i18n("Moving message %3 of %2 from %1.")
- .arg(mailFolder.location()).arg(num);
+ .tqarg(mailFolder.location()).tqarg(num);
mMailCheckProgressItem->setTotalItems( num );
@@ -162,15 +162,15 @@ void KMAcctMaildir::processNewMail(bool)
}
if (!addedOk) break;
- TQString statusMsg = statusMsgStub.arg(i);
+ TQString statusMsg = statusMsgStub.tqarg(i);
mMailCheckProgressItem->incCompletedItems();
mMailCheckProgressItem->updateProgress();
- mMailCheckProgressItem->seStatus( statusMsg );
+ mMailCheckProgressItem->setqStatus( statusMsg );
msg = mailFolder.take(0);
if (msg)
{
- msg->seStatus(msg->headerField("Status").latin1(),
+ msg->setqStatus(msg->headerField("Status").latin1(),
msg->headerField("X-Status").latin1());
msg->setEncryptionStateChar( msg->headerField( "X-KMail-EncryptionState" ).at(0));
msg->setSignatureStateChar( msg->headerField( "X-KMail-SignatureState" ).at(0));
@@ -189,10 +189,10 @@ void KMAcctMaildir::processNewMail(bool)
if( mMailCheckProgressItem ) { // do this only once...
BroadcastStatus::instance()->seStatusMsgTransmissionCompleted( num );
- mMailCheckProgressItem->seStatus(
+ mMailCheckProgressItem->setqStatus(
i18n( "Fetched 1 message from maildir folder %1.",
"Fetched %n messages from maildir folder %1.",
- num ).arg(mailFolder.location() ) );
+ num ).tqarg(mailFolder.location() ) );
mMailCheckProgressItem->setComplete();
mMailCheckProgressItem = 0;