Chapter 5. Developer's Guide to KAlarm

KAlarm provides an interface to allow other applications to request the following functions:

  • schedule a new alarm

  • cancel an already scheduled alarm

  • trigger an already scheduled alarm

  • display the Alarm Edit dialog

  • list scheduled alarms

Each of the above functions is implemented both by a D-Bus call and by the command line. D-Bus calls should be used in preference if KAlarm is already running.

D-Bus Interface

The D-Bus calls described in this document are all implemented in KAlarm's /kalarm D-Bus object path. The interface is defined in the files org.kde.kalarm.kalarm.xml and kalarmiface.h.