summaryrefslogtreecommitdiffstats
path: root/kmail/kmaccount.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmaccount.cpp')
-rw-r--r--kmail/kmaccount.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kmail/kmaccount.cpp b/kmail/kmaccount.cpp
index fa013b8d..72a68c65 100644
--- a/kmail/kmaccount.cpp
+++ b/kmail/kmaccount.cpp
@@ -45,8 +45,8 @@ using KMail::FolderJob;
KMPrecommand::KMPrecommand(const TQString &precommand, TQObject *parent)
: TQObject(parent), mPrecommand(precommand)
{
- BroadcastStatus::instance()->seStatusMsg(
- i18n("Executing precommand %1").tqarg(precommand ));
+ BroadcastStatus::instance()->setStatusMsg(
+ i18n("Executing precommand %1").arg(precommand ));
mPrecommandProcess.setUseShell(true);
mPrecommandProcess << precommand;
@@ -66,7 +66,7 @@ bool KMPrecommand::start()
{
bool ok = mPrecommandProcess.start( KProcess::NotifyOnExit );
if (!ok) KMessageBox::error(0, i18n("Could not execute precommand '%1'.")
- .tqarg(mPrecommand));
+ .arg(mPrecommand));
return ok;
}
@@ -77,7 +77,7 @@ void KMPrecommand::precommandExited(KProcess *p)
int exitCode = p->normalExit() ? p->exitStatus() : -1;
if (exitCode)
KMessageBox::error(0, i18n("The precommand exited with code %1:\n%2")
- .tqarg(exitCode).tqarg(strerror(exitCode)));
+ .arg(exitCode).arg(strerror(exitCode)));
emit finished(!exitCode);
}
@@ -233,10 +233,10 @@ bool KMAccount::processNewMsg(KMMessage* aMsg)
// This is only valid for pop accounts and produces wrong stati for imap.
if ( type() != "cachedimap" && type() != "imap" ) {
if ( aMsg->isOld() )
- aMsg->seStatus(KMMsgStatusUnread); // -sanders
- // aMsg->seStatus(KMMsgStatusRead);
+ aMsg->setStatus(KMMsgStatusUnread); // -sanders
+ // aMsg->setStatus(KMMsgStatusRead);
else
- aMsg->seStatus(KMMsgStatusNew);
+ aMsg->setStatus(KMMsgStatusNew);
}
/*
TQFile fileD0( "testdat_xx-kmaccount-0" );
@@ -377,8 +377,8 @@ bool KMAccount::runPrecommand(const TQString &precommand)
KMPrecommand precommandProcess(precommand, this);
- BroadcastStatus::instance()->seStatusMsg(
- i18n("Executing precommand %1").tqarg(precommand ));
+ BroadcastStatus::instance()->setStatusMsg(
+ i18n("Executing precommand %1").arg(precommand ));
connect(&precommandProcess, TQT_SIGNAL(finished(bool)),
TQT_SLOT(precommandExited(bool)));