ICalendarData
#include <bb/pim/calendar/ICalendarData>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The ICalendarData class represents iCalendar file data for a calendar event.
This class includes additional information for a calendar event that's created from an iCalendar attachment, such as method, event sequence, and history.
You can call CalendarService::parseICalendarData() to parse an iCalendar file. This function returns a CalendarEvent object that's created using information from the iCalendar file. To retrieve information about the original iCalendar file (in the form of an ICalendarData object), you can call CalendarEvent::iCalendarData().
BlackBerry 10.0.0
Public Functions Index
| ICalendarData () | |
| ~ICalendarData () | |
| ICalendarData (const ICalendarData &other) | |
| ICalendarData & | operator= (const ICalendarData &other) |
| QString | method () const |
| unsigned int | eventSequence () const |
| MeetingHistory | history () const |
| QString | comment () const |
| QDateTime | originalStartTime () const |
| QString | bodyMimeType () const |
| void | setMethod (const QString &method) |
| void | setEventSequence (unsigned int eventSequence) |
| void | setHistory (const MeetingHistory &history) |
| void | setComment (const QString &comment) |
| void | setOriginalStartTime (const QDateTime &originalStartTime) |
| void | setBodyMimeType (const QString &bodyMimeType) |
| bool | isValid () const |
Public Functions
Destructor.
BlackBerry 10.0.0
Copy constructor.
This function constructs an ICalendarData containing exactly the same values as the provided ICalendarData.
| Parameters | |
|---|---|
| other |
The ICalendarData to be copied. |
BlackBerry 10.0.0
ICalendarData &
Assignment operator.
This operator copies all values from the provided ICalendarData into this ICalendarData.
| Parameters | |
|---|---|
| other |
The ICalendarData from which to copy all values. |
A reference to this ICalendarData.
BlackBerry 10.0.0
QString
Retrieves the iCalendar method of this ICalendarData.
This function returns the method attribute in the iCalendar file: REPLY, REQUEST, or CANCEL.
The iCalendar method of this ICalendarData.
BlackBerry 10.0.0
unsigned int
Retrieves the sequence number of this ICalendarData.
This function returns the attribute in the iCalendar file that increases for each new version of the event.
The sequence number of this ICalendarData.
BlackBerry 10.0.0
MeetingHistory
Retrieves the meeting history of this ICalendarData.
This function returns the local database history of the event that's associated with the iCalendar file.
The meeting history of this ICalendarData.
BlackBerry 10.0.0
QString
Retrieves the comments of this ICalendarData.
This function returns the comments from the iCalendar file.
The comments of this ICalendarData.
BlackBerry 10.0.0
QDateTime
Retrieves the original start time of this ICalendarData.
This function returns the original start time from the iCalendar file.
The original start time of this ICalendarData.
QString
Retrieves the MIME type for the body of this ICalendarData.
This function returns the MIME type for the body from the iCalendar file.
The MIME type for the body of this ICalendarData.
void
Sets the iCalendar method of this ICalendarData.
| Parameters | |
|---|---|
| method |
The new iCalendar method. |
BlackBerry 10.0.0
void
Sets the sequence number of this ICalendarData.
| Parameters | |
|---|---|
| eventSequence |
The new sequence number. |
BlackBerry 10.0.0
void
Sets the meeting history of this ICalendarData.
| Parameters | |
|---|---|
| history |
The new meeting history. |
BlackBerry 10.0.0
void
Sets the comments of this ICalendarData.
| Parameters | |
|---|---|
| comment |
The new comments. |
BlackBerry 10.0.0
void
Sets the original start time of this ICalendarData.
| Parameters | |
|---|---|
| comment |
The new original start time. |
bool
Indicates whether this ICalendarData is valid.
This function determines whether the attributes of this ICalendarData object have acceptable values.
true if this ICalendarData is valid, false otherwise.
BlackBerry 10.0.0