KCalendarCore::Calendar::CalendarObserver Class
class KCalendarCore::Calendar::CalendarObserverThe CalendarObserver class. More...
Public Functions
virtual | ~CalendarObserver() |
virtual void | calendarIncidenceAboutToBeDeleted(const KCalendarCore::Incidence::Ptr &incidence) |
virtual void | calendarIncidenceAdded(const KCalendarCore::Incidence::Ptr &incidence) |
virtual void | calendarIncidenceAdditionCanceled(const KCalendarCore::Incidence::Ptr &incidence) |
virtual void | calendarIncidenceChanged(const KCalendarCore::Incidence::Ptr &incidence) |
(since 4.83.0) virtual void | calendarIncidenceDeleted(const KCalendarCore::Incidence::Ptr &incidence, const KCalendarCore::Calendar *calendar) |
virtual void | calendarModified(bool modified, KCalendarCore::Calendar *calendar) |
Detailed Description
Member Function Documentation
[virtual noexcept]
CalendarObserver::~CalendarObserver()
Destructor.
[virtual]
void CalendarObserver::calendarIncidenceAboutToBeDeleted(const KCalendarCore::Incidence::Ptr &incidence)
Notify the Observer that an Incidence will be removed.
incidence is a pointer to the Incidence that will be removed.
[virtual]
void CalendarObserver::calendarIncidenceAdded(const KCalendarCore::Incidence::Ptr &incidence)
Notify the Observer that an Incidence has been inserted.
incidence is a pointer to the Incidence that was inserted.
[virtual]
void CalendarObserver::calendarIncidenceAdditionCanceled(const KCalendarCore::Incidence::Ptr &incidence)
Notify the Observer that an addition of Incidence has been canceled.
incidence is a pointer to the Incidence that was removed.
[virtual]
void CalendarObserver::calendarIncidenceChanged(const KCalendarCore::Incidence::Ptr &incidence)
Notify the Observer that an Incidence has been modified.
incidence is a pointer to the Incidence that was modified.
[virtual, since 4.83.0]
void CalendarObserver::calendarIncidenceDeleted(const KCalendarCore::Incidence::Ptr &incidence, const KCalendarCore::Calendar *calendar)
Notify the Observer that an Incidence has been removed.
incidence is a pointer to the Incidence that was removed.
calendar is a pointer to the calendar where the incidence was part of, because the incidence was deleted, there is now way to determine the calendar
This function was introduced in 4.83.0.
[virtual]
void CalendarObserver::calendarModified(bool modified, KCalendarCore::Calendar *calendar)
Notify the Observer that a Calendar has been modified.
modified set if the calendar has been modified.
calendar is a pointer to the Calendar object that is being observed.