summaryrefslogtreecommitdiffstats
path: root/kmail/kmaccount.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:59:01 -0600
commit716a5de8870d7c02bb4d0aed72f30291b17b763a (patch)
tree29e58b213ead28151ccf7eb33d12c968ea844120 /kmail/kmaccount.cpp
parent0e00c0a86a4c9d7e80c7b66d91940cc7dcb79f78 (diff)
downloadtdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.tar.gz
tdepim-716a5de8870d7c02bb4d0aed72f30291b17b763a.zip
Remove additional unneeded tq method conversions
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 fa013b8d0..72a68c655 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)));