summaryrefslogtreecommitdiffstats
path: root/kmail/kmaccount.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kmail/kmaccount.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmaccount.cpp')
-rw-r--r--kmail/kmaccount.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmaccount.cpp b/kmail/kmaccount.cpp
index ad0f55b30..8ddf6899a 100644
--- a/kmail/kmaccount.cpp
+++ b/kmail/kmaccount.cpp
@@ -12,7 +12,7 @@ using KMail::AccountManager;
#include "messagesender.h"
#include "kmmessage.h"
#include "broadcaststatus.h"
-using KPIM::BroadcastStatus;
+using KPIM::BroadcasStatus;
#include "kmfoldercachedimap.h"
#include "progressmanager.h"
@@ -45,7 +45,7 @@ using KMail::FolderJob;
KMPrecommand::KMPrecommand(const TQString &precommand, TQObject *parent)
: TQObject(parent), mPrecommand(precommand)
{
- BroadcastStatus::instance()->setStatusMsg(
+ BroadcasStatus::instance()->seStatusMsg(
i18n("Executing precommand %1").arg(precommand ));
mPrecommandProcess.setUseShell(true);
@@ -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->setStatus(KMMsgStatusUnread); // -sanders
- // aMsg->setStatus(KMMsgStatusRead);
+ aMsg->seStatus(KMMsgStatusUnread); // -sanders
+ // aMsg->seStatus(KMMsgStatusRead);
else
- aMsg->setStatus(KMMsgStatusNew);
+ aMsg->seStatus(KMMsgStatusNew);
}
/*
TQFile fileD0( "testdat_xx-kmaccount-0" );
@@ -377,7 +377,7 @@ bool KMAccount::runPrecommand(const TQString &precommand)
KMPrecommand precommandProcess(precommand, this);
- BroadcastStatus::instance()->setStatusMsg(
+ BroadcasStatus::instance()->seStatusMsg(
i18n("Executing precommand %1").arg(precommand ));
connect(&precommandProcess, TQT_SIGNAL(finished(bool)),
@@ -426,9 +426,9 @@ TQString KMAccount::encryptStr(const TQString &aStr)
TQString result;
for (uint i = 0; i < aStr.length(); i++)
/* yes, no typo. can't encode ' ' or '!' because
- they're the unicode BOM. stupid scrambling. stupid. */
- result += (aStr[i].unicode() <= 0x21 ) ? aStr[i] :
- TQChar(0x1001F - aStr[i].unicode());
+ they're the tqunicode BOM. stupid scrambling. stupid. */
+ result += (aStr[i].tqunicode() <= 0x21 ) ? aStr[i] :
+ TQChar(0x1001F - aStr[i].tqunicode());
return result;
}
@@ -451,7 +451,7 @@ TQString KMAccount::importPassword(const TQString &aStr)
return encryptStr(result);
}
-void KMAccount::invalidateIMAPFolders()
+void KMAccount::tqinvalidateIMAPFolders()
{
// Default: Don't do anything. The IMAP account will handle it
}