ICalendarDataPath

Since: BlackBerry 10.0.0

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

See also:

CalendarService


Overview

Public Functions Index

ICalendarDataPath ()
ICalendarDataPath (const ICalendarDataPath &other)
~ICalendarDataPath ()
boolisValid () const
QStringmimeType () const
ICalendarDataPath &operator= (const ICalendarDataPath &other)
voidsetMimeType (const QString &mimeType)
voidsetSize (int size)
voidsetSystemPath (const QString &systemPath)
intsize () const
QStringsystemPath () const

Public Functions

ICalendarDataPath ()

Constructs a new ICalendarDataPath.

Since:

BlackBerry 10.0.0

ICalendarDataPath (

Copy constructor.

This function constructs an ICalendarDataPath containing exactly the same values as the provided ICalendarDataPath.

Parameters
other

The ICalendarDataPath to be copied.

Since:

BlackBerry 10.0.0

~ICalendarDataPath ()

Destructor.

Since:

BlackBerry 10.0.0

bool isValid ()

Indicates whether this ICalendarDataPath is valid.

This function determines whether the attributes of this ICalendarDataPath object have acceptable values.

Return:

true if this ICalendarDataPath is valid, false otherwise.

Since:

BlackBerry 10.0.0

QString mimeType ()

Retrieves the MIME type of the iCalendar file.

This function returns the MIME type (RFC 2046) of the iCalendar file.

Return:

The MIME type of the iCalendar file.

Since:

BlackBerry 10.0.0

ICalendarDataPath & operator= (

Assignment operator.

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

Parameters
other

The ICalendarDataPath from which to copy all values.

Return:

A reference to this ICalendarDataPath.

Since:

BlackBerry 10.0.0

void setMimeType (

Sets the MIME type of the iCalendar file.

Parameters
mimeType

The new MIME type.

Since:

BlackBerry 10.0.0

void setSize (
  • intsize)

Sets the size of the iCalendar file.

Parameters
size

The new size.

Since:

BlackBerry 10.0.0

void setSystemPath (

Sets the path for the iCalendar file.

Parameters
systemPath

The new path.

Since:

BlackBerry 10.0.0

int size ()

Retrieves the size of the iCalendar file.

Return:

The size of the iCalendar file.

Since:

BlackBerry 10.0.0

QString systemPath ()

Retrieves the path for the iCalendar file.

This function returns the path in the device's file system for the created iCalendar file.

Return:

The path for the iCalendar file.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus