Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions codeless banner

CalendarService Class Reference
[QtPimModule]

The CalendarService class provides the Calendar service. More...

    #include <CalendarService>

Inherits QtopiaAbstractService.

Public Slots

Additional Inherited Members


Detailed Description

The CalendarService class provides the Calendar service.

The Calendar service enables applications to access features of the Calendar application.


Member Function Documentation

void CalendarService::activateLink ( const QDSActionRequest & request )   [slot]

Activate the QDL link contained within request.

The slot corresponds to a QDS service with a request data type of QDLLink::mimeType() and no response data.

The slot corresponds to the QCop service message Calendar::activateLink(QDSActionRequest).

void CalendarService::addAppointment ( const QAppointment & appointment )   [slot]

Add the specified appointment to the calendar. The request will be ignored if the system is currently syncing.

This slot corresponds to the QCop service message Calendar::addAppointment(QAppointment).

void CalendarService::alarm ( const QDateTime & time, int delay )   [slot]

Activates the alarm dialog for appointments with alarms occurring at the given time. The specified delay indicates how many minutes before the start of the appointment that the alarm has been activated.

void CalendarService::cleanByDate ( const QDate & date )   [slot]

Allow the system cleanup wizard to recover some space. The date to clean from is a hint only. The calendar program should only remove appointments and occurrences where doing so will save space.

This slot corresponds to the QCop service message Calendar::cleanByDate(QDate).

void CalendarService::newAppointment ()   [slot]

Open a dialog so the user can create a new appointment. Default values are used.

This slot corresponds to the QCop service message Calendar::newAppointment().

void CalendarService::newAppointment ( const QDateTime & start, const QDateTime & end, const QString & description, const QString & notes )   [slot]

This is an overloaded member function, provided for convenience.

Open a dialog so the user can create a new appointment. The new appointment will use the specified start and end times, description and notes.

This slot corresponds to the QCop service message Calendar::newAppointment(QDateTime,QDateTime,QString,QString).

void CalendarService::nextView ()   [slot]

Switch the calendar to the next view.

This slot corresponds to the QCop service message Calendar::nextView().

void CalendarService::raiseToday ()   [slot]

Open the calendar user interface and show the appointments for today.

This slot corresponds to the QCop service message Calendar::raiseToday().

void CalendarService::removeAppointment ( const QAppointment & appointment )   [slot]

Remove the specified appointment from the calendar. The request will be ignored if the system is currently syncing.

This slot corresponds to the QCop service message Calendar::removeAppointment(QAppointment).

void CalendarService::requestLinks ( const QDSActionRequest & request )   [slot]

Request for one or more QDL links using the hint contained within request.

The slot corresponds to a QDS service with a request data type of "text/x-qstring" and response data type of QDLLink::listMimeType().

The slot corresponds to the QCop service message Calendar::requestLinks(QDSActionRequest).

void CalendarService::showAppointment ( const QUniqueId & uid )   [slot]

Show the appointment indicated by uid in the calendar application, wither the next upcoming occurrence from the current date, or the first occurrence if there is no upcoming occurrence.

This slot corresponds to the QCop service message Calendar::showAppointment(QUniqueId).

void CalendarService::showAppointment ( const QUniqueId & uid, const QDate & date )   [slot]

This is an overloaded member function, provided for convenience.

Show the occurrence of the appointment indicated by uid on date.

This slot corresponds to the QCop service message Calendar::showAppointment(QUniqueId,QDate).

void CalendarService::updateAppointment ( const QAppointment & appointment )   [slot]

Update the specified appointment in the calendar. The request will be ignored if the system is currently syncing.

This slot corresponds to the QCop service message Calendar::updateAppointment(QAppointment).


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3