kmail
kmmsgbase.h File Reference#include <config.h>
#include <sys/types.h>
#include <qstring.h>
#include <time.h>
Go to the source code of this file.
|
Classes |
class | KMMsgBase |
Typedefs |
typedef uint | KMMsgStatus |
Enumerations |
enum | KMLegacyMsgStatus {
KMLegacyMsgStatusUnknown = ' ',
KMLegacyMsgStatusNew = 'N',
KMLegacyMsgStatusUnread = 'U',
KMLegacyMsgStatusRead = 'R',
KMLegacyMsgStatusOld = 'O',
KMLegacyMsgStatusDeleted = 'D',
KMLegacyMsgStatusReplied = 'A',
KMLegacyMsgStatusForwarded = 'F',
KMLegacyMsgStatusQueued = 'Q',
KMLegacyMsgStatusSent = 'S',
KMLegacyMsgStatusFlag = 'G'
} |
enum | KMMsgAttachmentState { KMMsgHasAttachment,
KMMsgHasNoAttachment,
KMMsgAttachmentUnknown
} |
enum | KMMsgDnDAction { KMMsgDnDActionMOVE = 0,
KMMsgDnDActionCOPY = 1,
KMMsgDnDActionASK = 2
} |
enum | KMMsgEncryptionState {
KMMsgEncryptionStateUnknown = ' ',
KMMsgNotEncrypted = 'N',
KMMsgPartiallyEncrypted = 'P',
KMMsgFullyEncrypted = 'F',
KMMsgEncryptionProblematic = 'X'
} |
enum | KMMsgMDNSentState {
KMMsgMDNStateUnknown = ' ',
KMMsgMDNNone = 'N',
KMMsgMDNIgnore = 'I',
KMMsgMDNDisplayed = 'R',
KMMsgMDNDeleted = 'D',
KMMsgMDNDispatched = 'F',
KMMsgMDNProcessed = 'P',
KMMsgMDNDenied = 'X',
KMMsgMDNFailed = 'E'
} |
enum | KMMsgSignatureState {
KMMsgSignatureStateUnknown = ' ',
KMMsgNotSigned = 'N',
KMMsgPartiallySigned = 'P',
KMMsgFullySigned = 'F',
KMMsgSignatureProblematic = 'X'
} |
enum | MsgStatus {
KMMsgStatusUnknown = 0x00000000,
KMMsgStatusNew = 0x00000001,
KMMsgStatusUnread = 0x00000002,
KMMsgStatusRead = 0x00000004,
KMMsgStatusOld = 0x00000008,
KMMsgStatusDeleted = 0x00000010,
KMMsgStatusReplied = 0x00000020,
KMMsgStatusForwarded = 0x00000040,
KMMsgStatusQueued = 0x00000080,
KMMsgStatusSent = 0x00000100,
KMMsgStatusFlag = 0x00000200,
KMMsgStatusWatched = 0x00000400,
KMMsgStatusIgnored = 0x00000800,
KMMsgStatusTodo = 0x00001000,
KMMsgStatusSpam = 0x00002000,
KMMsgStatusHam = 0x00004000,
KMMsgStatusHasAttach = 0x00008000,
KMMsgStatusHasNoAttach = 0x00010000
} |
Typedef Documentation
Enumeration Type Documentation
The old status format, only one at a time possible.
Needed for upgrade path purposes. - Enumerator:
-
KMLegacyMsgStatusUnknown |
|
KMLegacyMsgStatusNew |
|
KMLegacyMsgStatusUnread |
|
KMLegacyMsgStatusRead |
|
KMLegacyMsgStatusOld |
|
KMLegacyMsgStatusDeleted |
|
KMLegacyMsgStatusReplied |
|
KMLegacyMsgStatusForwarded |
|
KMLegacyMsgStatusQueued |
|
KMLegacyMsgStatusSent |
|
KMLegacyMsgStatusFlag |
|
Definition at line 68 of file kmmsgbase.h.
Flags for attachment state.
- Enumerator:
-
KMMsgHasAttachment |
|
KMMsgHasNoAttachment |
|
KMMsgAttachmentUnknown |
|
Definition at line 128 of file kmmsgbase.h.
Flags for the drag and drop action.
- Enumerator:
-
KMMsgDnDActionMOVE |
|
KMMsgDnDActionCOPY |
|
KMMsgDnDActionASK |
|
Definition at line 120 of file kmmsgbase.h.
Flags for the encryption state.
- Enumerator:
-
KMMsgEncryptionStateUnknown |
|
KMMsgNotEncrypted |
|
KMMsgPartiallyEncrypted |
|
KMMsgFullyEncrypted |
|
KMMsgEncryptionProblematic |
|
Definition at line 86 of file kmmsgbase.h.
Flags for the "MDN sent" state.
- Enumerator:
-
KMMsgMDNStateUnknown |
|
KMMsgMDNNone |
|
KMMsgMDNIgnore |
|
KMMsgMDNDisplayed |
|
KMMsgMDNDeleted |
|
KMMsgMDNDispatched |
|
KMMsgMDNProcessed |
|
KMMsgMDNDenied |
|
KMMsgMDNFailed |
|
Definition at line 106 of file kmmsgbase.h.
Flags for the signature state.
- Enumerator:
-
KMMsgSignatureStateUnknown |
|
KMMsgNotSigned |
|
KMMsgPartiallySigned |
|
KMMsgFullySigned |
|
KMMsgSignatureProblematic |
|
Definition at line 96 of file kmmsgbase.h.
The new status format.
These can be or'd together. Note, that the KMMsgStatusIgnored implies the status to be Read even if the flags are set to Unread or New. This is done in KMMsgBase::isRead() and related getters. So we can preserve the state when switching a thread to Ignored and back. - Enumerator:
-
KMMsgStatusUnknown |
|
KMMsgStatusNew |
|
KMMsgStatusUnread |
|
KMMsgStatusRead |
|
KMMsgStatusOld |
|
KMMsgStatusDeleted |
|
KMMsgStatusReplied |
|
KMMsgStatusForwarded |
|
KMMsgStatusQueued |
|
KMMsgStatusSent |
|
KMMsgStatusFlag |
|
KMMsgStatusWatched |
|
KMMsgStatusIgnored |
|
KMMsgStatusTodo |
|
KMMsgStatusSpam |
|
KMMsgStatusHam |
|
KMMsgStatusHasAttach |
|
KMMsgStatusHasNoAttach |
|
Definition at line 41 of file kmmsgbase.h.
|