MessageFlag
Since: BlackBerry 10.0.0
#include <bb/pim/message/MessageFlag>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The MessageFlag class represents the follow-up flag for a message.
You can use this class to mark a Message for follow-up, and you can choose to display this flag in the UI of your apps. You can set the follow-up flag for a message by calling MessageService::setFollowupFlag().
Overview
Public Functions Index
MessageFlag (bool flag) | |
MessageFlag (const MessageFlag &other) | |
~MessageFlag () | |
bool | isSet () const |
MessageFlag & | operator= (const MessageFlag &other) |
void | set (bool flag) |
Public Functions
Constructs a new MessageFlag with the provided value.
Parameters | |
---|---|
If |
true the follow-up flag is set (enabled), if false the follow-up flag is not set (disabled). |
BlackBerry 10.0.0
Copy constructor.
This function constructs a MessageFlag containing exactly the same values as the provided MessageFlag.
Parameters | |
---|---|
other |
The MessageFlag to be copied. |
BlackBerry 10.0.0
Destructor.
BlackBerry 10.0.0
bool
Indicates whether the follow-up flag is set for this MessageFlag.
true if the follow-up flag is set, false otherwise.
BlackBerry 10.0.0
MessageFlag &
Assignment operator.
This operator copies all values from the provided MessageFlag into this MessageFlag.
Parameters | |
---|---|
other |
The MessageFlag from which to copy all values. |
A MessageFlag with all copied data.
BlackBerry 10.0.0
void
Sets the follow-up flag for this MessageFlag.
Parameters | |
---|---|
flag |
If true the follow-up flag is set, if false the follow-up flag is not set. |
BlackBerry 10.0.0