AttendeeInEvents
#include <bb/pim/calendar/AttendeeInEvents>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The AttendeeInEvents class represents a participant of an event.
This class includes information about an event participant, such as the attendee type, name, email address, and so on. This class is very similar to the Attendee class, but an AttendeeInEvents object contains information that specifies what events that attendee participates in. You can use functions such as AttendeeInEvents::events() and AttendeeInEvents::addEvent() to retrieve and manipulate the events that this attendee participates in.
You can retrieve a list of an event's participants by calling CalendarService::attendees(). This function returns a list of AttendeeInEvents objects, each of which corresponds to a participant of an event.
BlackBerry 10.0.0
Public Functions Index
| AttendeeInEvents () | |
| ~AttendeeInEvents () | |
| AttendeeInEvents (const AttendeeInEvents &other) | |
| AttendeeInEvents & | operator= (const AttendeeInEvents &other) |
| QString | email () const |
| QString | name () const |
| QList< EventKey > | events () const |
| void | setEmail (const QString &email) |
| void | setName (const QString &name) |
| void | addEvent (const EventKey &event) |
| void | resetEvents () |
| void | setEvents (const QList< EventKey > &events) |
| bool | isValid () const |
Public Functions
Destructor.
BlackBerry 10.0.0
Copy constructor.
This function constructs an AttendeeInEvents containing exactly the same values as the provided AttendeeInEvents.
| Parameters | |
|---|---|
| other |
The AttendeeInEvents to be copied. |
BlackBerry 10.0.0
AttendeeInEvents &
Assignment operator.
This operator copies all values from the provided AttendeeInEvents into this AttendeeInEvents.
| Parameters | |
|---|---|
| other |
The AttendeeInEvents from which to copy all values. |
A reference to this AttendeeInEvents.
BlackBerry 10.0.0
QString
Retrieves the email address of this AttendeeInEvents.
The email address of this AttendeeInEvents.
BlackBerry 10.0.0
QString
Retrieves the name of this AttendeeInEvents.
The name of this AttendeeInEvents.
BlackBerry 10.0.0
QList< EventKey >
Retrieves the list of events that this AttendeeInEvents participates in.
This function returns a list of event keys, each of which represents an event that this attendee participates in. An event key contains the primary key for an event in the calendar database.
The list of events that this AttendeeInEvents participates in.
BlackBerry 10.0.0
void
Sets the email address of this AttendeeInEvents.
| Parameters | |
|---|---|
|
The new email address. |
|
BlackBerry 10.0.0
void
Adds an event key to this AttendeeInEvents.
This function appends a new event key to the list of event keys for this AttendeeInEvents object.
| Parameters | |
|---|---|
| event |
The event key to add. |
BlackBerry 10.0.0
void
Clears the event keys for this AttendeeInEvents.
This function removes all event keys from this AttendeeInEvents object.
BlackBerry 10.0.0
void
Sets the list of event keys for this AttendeeInEvents.
This function clears the list of event keys for this AttendeeInEvents object and then populates it with EventKey objects from the provided list.
| Parameters | |
|---|---|
| events |
The new list of event keys. |
BlackBerry 10.0.0
bool
Indicates whether this AttendeeInEvents is valid.
This function determines whether the attributes of this AttendeeInEvents object have acceptable values.
true if this AttendeeInEvents is valid, false otherwise.
BlackBerry 10.0.0