diff options
Diffstat (limited to 'kmail/kmaccount.cpp')
-rw-r--r-- | kmail/kmaccount.cpp | 20 |
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 } |