diff options
author | Don Sanders <don.sanders@nokia.com> | 2012-05-15 13:03:03 +0300 |
---|---|---|
committer | Don Sanders <don.sanders@nokia.com> | 2012-05-15 13:03:03 +0300 |
commit | e3e86a452aac08eb65c49127aabd6841be35fa0f (patch) | |
tree | 87d8241d263f7e27ab88211e27d51c2286454ee4 /src/libraries/qmfclient/qmailmessage.cpp | |
parent | 46bc5a5dae70e3ed82b53390799757f6ed03e9f2 (diff) |
Add new QMailMessage::NoNotification flag
This flag indicates that a new message notification should not be shown
for the message. e.g. an older message retrieved in a folder that has previously
been synchronized, or an existing message moved to a folder such as trash, or a
message externalized by saving in a drafts or sent folder
It should only be used for new messages, e.g. messageAdded signal.
(I've also included some missing doc in the commit.)
Diffstat (limited to 'src/libraries/qmfclient/qmailmessage.cpp')
-rw-r--r-- | src/libraries/qmfclient/qmailmessage.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/libraries/qmfclient/qmailmessage.cpp b/src/libraries/qmfclient/qmailmessage.cpp index 08a972f2..c8d297b1 100644 --- a/src/libraries/qmfclient/qmailmessage.cpp +++ b/src/libraries/qmfclient/qmailmessage.cpp @@ -6324,6 +6324,7 @@ static quint64 highPriorityFlag = 0; static quint64 lowPriorityFlag = 0; static quint64 calendarInvitationFlag = 0; static quint64 todoFlag = 0; +static quint64 noNotificationFlag = 0; /* QMailMessageMetaData */ @@ -6940,6 +6941,35 @@ void QMailMessageMetaDataPrivate::deserialize(Stream &stream) \sa QMailMessage::fromRfc2822() */ +/*! + \variable QMailMessageMetaData::CalendarInvitation + + The status mask needed for testing the value of the registered status flag named + \c "CalendarInvitation" against the result of QMailMessage::status(). + + This flag indicates that the message includes a calendar invitation request part. +*/ + +/*! + \variable QMailMessageMetaData::Todo + + The status mask needed for testing the value of the registered status flag named + \c "Todo" against the result of QMailMessage::status(). + + This flag indicates that the message has been marked as a todo item. +*/ + +/*! + \variable QMailMessageMetaData::NoNotification + + The status mask needed for testing the value of the registered status flag named + \c "NoNotification" against the result of QMailMessage::status(). + + This flag indicates that a new message notification should not be shown + for the message. e.g. an older message retrieved in a folder that has previously + been synchronized, or an existing message moved to a folder such as trash, or a + message externalized by saving in a drafts or sent folder. +*/ const quint64 &QMailMessageMetaData::Incoming = incomingFlag; const quint64 &QMailMessageMetaData::Outgoing = outgoingFlag; @@ -6971,6 +7001,7 @@ const quint64 &QMailMessageMetaData::HighPriority = highPriorityFlag; const quint64 &QMailMessageMetaData::LowPriority = lowPriorityFlag; const quint64 &QMailMessageMetaData::CalendarInvitation = calendarInvitationFlag; const quint64 &QMailMessageMetaData::Todo = todoFlag; +const quint64 &QMailMessageMetaData::NoNotification = noNotificationFlag; /*! Constructs an empty message meta data object. |