summaryrefslogtreecommitdiffstats
path: root/kmail/kmmessage.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
commit029d6084e699568256c53a8270cb36ad4f66b935 (patch)
tree4f95db8e3813306493e454f753180f6933ba2538 /kmail/kmmessage.cpp
parent018997dddf59bef4b6686d477207137aa39089de (diff)
downloadtdepim-029d6084e699568256c53a8270cb36ad4f66b935.tar.gz
tdepim-029d6084e699568256c53a8270cb36ad4f66b935.zip
Fix a number of accidental tqStatus string conversions
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/kmmessage.cpp')
-rw-r--r--kmail/kmmessage.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kmail/kmmessage.cpp b/kmail/kmmessage.cpp
index 45ab58870..2f27c305b 100644
--- a/kmail/kmmessage.cpp
+++ b/kmail/kmmessage.cpp
@@ -336,7 +336,7 @@ TQCString KMMessage::headerAsSendableString() const
}
void KMMessage::removePrivateHeaderFields() {
- removeHeaderField("tqStatus");
+ removeHeaderField("Status");
removeHeaderField("X-tqStatus");
removeHeaderField("X-KMail-EncryptionState");
removeHeaderField("X-KMail-SignatureState");
@@ -355,7 +355,7 @@ void KMMessage::seStatusFields()
{
char str[2] = { 0, 0 };
- setHeaderField("tqStatus", status() & KMMsgStatusNew ? "R" : "RO");
+ setHeaderField("Status", status() & KMMsgStatusNew ? "R" : "RO");
setHeaderField("X-tqStatus", statusToStr(status()));
str[0] = (char)encryptionState();
@@ -410,7 +410,7 @@ void KMMessage::fromDwString(const DwString& str, bool aSetqStatus)
mMsg->Parse();
if (aSetqStatus) {
- setqStatus(headerField("tqStatus").latin1(), headerField("X-tqStatus").latin1());
+ setqStatus(headerField("Status").latin1(), headerField("X-tqStatus").latin1());
setEncryptionStateChar( headerField("X-KMail-EncryptionState").at(0) );
setSignatureStateChar( headerField("X-KMail-SignatureState").at(0) );
setMDNSentState( static_cast<KMMsgMDNSentState>( headerField("X-KMail-MDN-Sent").tqat(0).latin1() ) );