Home · All Classes · Grouped Classes · Annotated · Functions

AlarmServerService Class Reference

Provides the Qtopia AlarmServer service. More...

    #include <AlarmServerService>

Inherits QtopiaIpcAdaptor.

Public Functions

Public Slots

Additional Inherited Members


Detailed Description

Provides the Qtopia AlarmServer service.

The AlarmServer service is used by Qtopia 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 alarm server is started automatically by the Qtopia server application.

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


Member Function Documentation

AlarmServerService::AlarmServerService ( QObject * parent = 0 )

Create an AlarmServerService instance with the passed parent.

AlarmServerService::~AlarmServerService ()

Destroy the AlarmServerService instance.

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

Schedules an alarm to go off at (or soon after) time when. When the alarm goes off, the Qtopia IPC message msg 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 & msg, int data )   [slot]

Deletes previously scheduled alarms which match when, channel, msg, and data.

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

See also Qtopia::deleteAlarm().


Copyright © 2008 Nokia Trademarks
Qtopia 4.3.3