handleEvent() is a DCOP call to display or cancel the specified alarm message. KAlarm retrieves the alarm message from the calendar file and then determines what action to take. If the late-cancel flag is set and the alarm is late, i.e. the scheduled time of display was more than a minute ago, KAlarm does not display the message; otherwise, KAlarm displays the alarm message. If no repetitions of the alarm are still scheduled, KAlarm then deletes the alarm message from the calendar file.
![]() |
The calendarFile parameter is only used for integrity checking: if the URL does not specify KAlarm's current default calendar file, the request will be ignored. |