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

AlarmServerService Class Reference
[QtBaseModule]

The AlarmServerService class provides the Qt Extended AlarmServer service. More...

    #include <AlarmServerService>

Inherits QtopiaIpcAdaptor.

Public Slots

Additional Inherited Members


Detailed Description

The AlarmServerService class provides the Qt Extended AlarmServer service.

The AlarmServer service is used by Qt Extended applications to add and delete alarm events. It is normally accessed through Qtopia::addAlarm() and Qtopia::deleteAlarm().

Messages for the alarm server are sent on the QPE/AlarmServer QCop channel. The standard alarm server implementation is provided by the AlarmControl server task.

See also Qtopia::addAlarm(), Qtopia::deleteAlarm(), and AlarmControl.


Member Function Documentation

void AlarmServerService::addAlarm ( QDateTime when, const QString & channel, const QString & message, int data )   [slot]

Schedules an alarm to go off at (or soon after) time when. When the alarm goes off, the Qt Extended IPC message will be sent to channel, with data as a parameter.

This slot corresponds to the QCop message addAlarm(QDateTime,QString,QString,int) on the QPE/AlarmServer channel.

See also Qtopia::addAlarm().

void AlarmServerService::dailyAlarmEnabled ( bool flag )   [slot]

Message that indicates when the clock application turns the daily alarm on or off, according to flag.

This slot corresponds to the QCop message dailyAlarmEnabled(bool) on the QPE/AlarmServer channel.

void AlarmServerService::deleteAlarm ( QDateTime when, const QString & channel, const QString & message, int data )   [slot]

Deletes previously scheduled alarms which match when, channel, message, and data. If when is null any scheduled alarm that matches channel, message and data is deleted.

This slot corresponds to the QCop message deleteAlarm(QDateTime,QString,QString,int) on the QPE/AlarmServer channel.

See also Qtopia::deleteAlarm().


Copyright © 2009 Nokia Trademarks
Qt Extended 4.4.3