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 ()
boolisSet () const
MessageFlag &operator= (const MessageFlag &other)
voidset (bool flag)

Public Functions

MessageFlag (
  • boolflag)

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).

Since:

BlackBerry 10.0.0

MessageFlag (

Copy constructor.

This function constructs a MessageFlag containing exactly the same values as the provided MessageFlag.

Parameters
other

The MessageFlag to be copied.

Since:

BlackBerry 10.0.0

~MessageFlag ()

Destructor.

Since:

BlackBerry 10.0.0

bool isSet ()

Indicates whether the follow-up flag is set for this MessageFlag.

Return:

true if the follow-up flag is set, false otherwise.

Since:

BlackBerry 10.0.0

MessageFlag & operator= (

Assignment operator.

This operator copies all values from the provided MessageFlag into this MessageFlag.

Parameters
other

The MessageFlag from which to copy all values.

Return:

A MessageFlag with all copied data.

Since:

BlackBerry 10.0.0

void set (
  • boolflag)

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.

Since:

BlackBerry 10.0.0

Last modified: 2014-06-24



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus