summaryrefslogtreecommitdiffstats
path: root/kmail/folderstorage.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-16 09:59:50 -0600
commit9cc13dcbb01a96c9e60a07ca63c61d24b374f50d (patch)
treeab537a329b9613e11dce8195761f93ffe82aed24 /kmail/folderstorage.cpp
parent3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12 (diff)
downloadtdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.tar.gz
tdepim-9cc13dcbb01a96c9e60a07ca63c61d24b374f50d.zip
Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit 3ca10fd9a2dc631429d3b5d5c5e42a7d211d5a12.
Diffstat (limited to 'kmail/folderstorage.cpp')
-rw-r--r--kmail/folderstorage.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/folderstorage.cpp b/kmail/folderstorage.cpp
index 53d7f66d8..63dc91fb5 100644
--- a/kmail/folderstorage.cpp
+++ b/kmail/folderstorage.cpp
@@ -174,7 +174,7 @@ void FolderStorage::markNewAsUnread()
if (!(msgBase = getMsgBase(i))) continue;
if (msgBase->isNew())
{
- msgBase->seStatus(KMMsgStatusUnread);
+ msgBase->setqStatus(KMMsgStatusUnread);
msgBase->setDirty(true);
}
}
@@ -503,7 +503,7 @@ KMMessage* FolderStorage::getMsg(int idx)
kdDebug(5006) << "Error: " << location() <<
" Index file is inconsistent with folder file. This should never happen." << endl;
- // We can't recreate the index at this point, since that would invalidate the current
+ // We can't recreate the index at this point, since that would tqinvalidate the current
// message list and delete KMMsgBase or KMMessage objects that are in use.
// Do it later in KMFolderIndex::readIndexHeader() instead.
mCompactable = false; // Don't compact
@@ -861,18 +861,18 @@ bool FolderStorage::isCloseToQuota() const
}
//-----------------------------------------------------------------------------
-void FolderStorage::msgStatusChanged(const KMMsgStatus oldStatus,
- const KMMsgStatus newStatus, int idx)
+void FolderStorage::msgStatusChanged(const KMMsgtqStatus oldtqStatus,
+ const KMMsgtqStatus newtqStatus, int idx)
{
int oldUnread = 0;
int newUnread = 0;
- if (((oldStatus & KMMsgStatusUnread || oldStatus & KMMsgStatusNew) &&
- !(oldStatus & KMMsgStatusIgnored)) ||
+ if (((oldtqStatus & KMMsgStatusUnread || oldtqStatus & KMMsgStatusNew) &&
+ !(oldtqStatus & KMMsgStatusIgnored)) ||
(folder() == kmkernel->outboxFolder()))
oldUnread = 1;
- if (((newStatus & KMMsgStatusUnread || newStatus & KMMsgStatusNew) &&
- !(newStatus & KMMsgStatusIgnored)) ||
+ if (((newtqStatus & KMMsgStatusUnread || newtqStatus & KMMsgStatusNew) &&
+ !(newtqStatus & KMMsgStatusIgnored)) ||
(folder() == kmkernel->outboxFolder()))
newUnread = 1;
int deltaUnread = newUnread - oldUnread;
@@ -1040,24 +1040,24 @@ void FolderStorage::setRDict( KMMsgDictREntry *rentry ) const
}
//-----------------------------------------------------------------------------
-void FolderStorage::seStatus(int idx, KMMsgStatus status, bool toggle)
+void FolderStorage::setqStatus(int idx, KMMsgtqStatus status, bool toggle)
{
KMMsgBase *msg = getMsgBase(idx);
if ( msg ) {
if (toggle)
- msg->toggleStatus(status, idx);
+ msg->toggletqStatus(status, idx);
else
- msg->seStatus(status, idx);
+ msg->setqStatus(status, idx);
}
}
//-----------------------------------------------------------------------------
-void FolderStorage::seStatus(TQValueList<int>& ids, KMMsgStatus status, bool toggle)
+void FolderStorage::setqStatus(TQValueList<int>& ids, KMMsgtqStatus status, bool toggle)
{
for ( TQValueList<int>::Iterator it = ids.begin(); it != ids.end(); ++it )
{
- FolderStorage::seStatus(*it, status, toggle);
+ FolderStorage::setqStatus(*it, status, toggle);
}
}