Notify deletion in two steps.

Authored by cmollekopf on Jul 20 2015, 7:08 AM.

Description

Notify deletion in two steps.

Notify clients before we actually remove the incidence in notifyIncidenceAboutToBeDeleted.
And after the deleted with notifyIncidenceDeleted, if the incided was removed from the calendar.

API addition:

calendarIncidenceDeleted now have a pointer to the calendar.
It needs to provide a pointer to the calendar, because otherwise
that's impossible to find out (the incidence is already removed,
at that point).

Differential revision: https://phabricator.kde.org/D589

Details

Committed
knaussDec 28 2015, 5:21 PM
Differential Revision
D589: Added a post incidence removal handler.
Parents
R172:4c9906e686b2: Only set isDirty if something was changed
Branches
Unknown
Tags
Unknown