summaryrefslogtreecommitdiffstats
path: root/kmail/kmmessage.cpp
diff options
context:
space:
mode:
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 2f27c305b..1e666701d 100644
--- a/kmail/kmmessage.cpp
+++ b/kmail/kmmessage.cpp
@@ -337,7 +337,7 @@ TQCString KMMessage::headerAsSendableString() const
void KMMessage::removePrivateHeaderFields() {
removeHeaderField("Status");
- removeHeaderField("X-tqStatus");
+ removeHeaderField("X-Status");
removeHeaderField("X-KMail-EncryptionState");
removeHeaderField("X-KMail-SignatureState");
removeHeaderField("X-KMail-MDN-Sent");
@@ -356,7 +356,7 @@ void KMMessage::seStatusFields()
char str[2] = { 0, 0 };
setHeaderField("Status", status() & KMMsgStatusNew ? "R" : "RO");
- setHeaderField("X-tqStatus", statusToStr(status()));
+ setHeaderField("X-Status", statusToStr(status()));
str[0] = (char)encryptionState();
setHeaderField("X-KMail-EncryptionState", str);
@@ -410,7 +410,7 @@ void KMMessage::fromDwString(const DwString& str, bool aSetqStatus)
mMsg->Parse();
if (aSetqStatus) {
- setqStatus(headerField("Status").latin1(), headerField("X-tqStatus").latin1());
+ setqStatus(headerField("Status").latin1(), headerField("X-Status").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() ) );