ICalendarDataPath
#include <bb/pim/calendar/ICalendarDataPath>
To link against this class, add the following line to your .pro file: LIBS += -lbbpim
The ICalendarDataPath class contains information on exported iCalendar files.
This class contains attributes of files that are created by calling CalendarService::createICalendarData(), which exports calendar events to iCalendar files. These attributes include information such as system path, MIME type, and size.
BlackBerry 10.0.0
Public Functions Index
| ICalendarDataPath () | |
| ~ICalendarDataPath () | |
| ICalendarDataPath (const ICalendarDataPath &other) | |
| ICalendarDataPath & | operator= (const ICalendarDataPath &other) |
| QString | systemPath () const |
| QString | mimeType () const |
| int | size () const |
| void | setSystemPath (const QString &systemPath) |
| void | setMimeType (const QString &mimeType) |
| void | setSize (int size) |
| bool | isValid () const |
Public Functions
Destructor.
BlackBerry 10.0.0
Copy constructor.
This function constructs an ICalendarDataPath containing exactly the same values as the provided ICalendarDataPath.
| Parameters | |
|---|---|
| other |
The ICalendarDataPath to be copied. |
BlackBerry 10.0.0
ICalendarDataPath &
Assignment operator.
This operator copies all values from the provided ICalendarDataPath into this ICalendarDataPath.
| Parameters | |
|---|---|
| other |
The ICalendarDataPath from which to copy all values. |
A reference to this ICalendarDataPath.
BlackBerry 10.0.0
QString
Retrieves the path for the iCalendar file.
This function returns the path in the device's file system for the created iCalendar file.
The path for the iCalendar file.
BlackBerry 10.0.0
QString
Retrieves the MIME type of the iCalendar file.
This function returns the MIME type (RFC 2046) of the iCalendar file.
The MIME type of the iCalendar file.
BlackBerry 10.0.0
int
Retrieves the size of the iCalendar file.
The size of the iCalendar file.
BlackBerry 10.0.0
void
Sets the path for the iCalendar file.
| Parameters | |
|---|---|
| systemPath |
The new path. |
BlackBerry 10.0.0
void
Sets the MIME type of the iCalendar file.
| Parameters | |
|---|---|
| mimeType |
The new MIME type. |
BlackBerry 10.0.0
void
Sets the size of the iCalendar file.
| Parameters | |
|---|---|
| size |
The new size. |
BlackBerry 10.0.0
bool
Indicates whether this ICalendarDataPath is valid.
This function determines whether the attributes of this ICalendarDataPath object have acceptable values.
true if this ICalendarDataPath is valid, false otherwise.
BlackBerry 10.0.0