KCalendarCore::Calendar::CalendarObserver

KCalendarCore::Calendar::CalendarObserver Class Reference

#include <calendar.h>

Public Member Functions

virtual ~CalendarObserver ()
 
virtual void calendarIncidenceAboutToBeDeleted (const Incidence::Ptr &incidence)
 
virtual void calendarIncidenceAdded (const Incidence::Ptr &incidence)
 
virtual void calendarIncidenceAdditionCanceled (const Incidence::Ptr &incidence)
 
virtual void calendarIncidenceChanged (const Incidence::Ptr &incidence)
 
virtual void calendarIncidenceDeleted (const Incidence::Ptr &incidence, const Calendar *calendar)
 
virtual void calendarModified (bool modified, Calendar *calendar)
 

Detailed Description

The CalendarObserver class.

Definition at line 1207 of file calendar.h.

Constructor & Destructor Documentation

Calendar::CalendarObserver::~CalendarObserver ( )
virtual

Destructor.

Definition at line 964 of file calendar.cpp.

Member Function Documentation

void Calendar::CalendarObserver::calendarIncidenceAboutToBeDeleted ( const Incidence::Ptr incidence)
virtual

Notify the Observer that an Incidence will be removed.

Parameters
incidenceis a pointer to the Incidence that will be removed.

Definition at line 984 of file calendar.cpp.

void Calendar::CalendarObserver::calendarIncidenceAdded ( const Incidence::Ptr incidence)
virtual

Notify the Observer that an Incidence has been inserted.

Parameters
incidenceis a pointer to the Incidence that was inserted.

Definition at line 974 of file calendar.cpp.

void Calendar::CalendarObserver::calendarIncidenceAdditionCanceled ( const Incidence::Ptr incidence)
virtual

Notify the Observer that an addition of Incidence has been canceled.

Parameters
incidenceis a pointer to the Incidence that was removed.

Definition at line 995 of file calendar.cpp.

void Calendar::CalendarObserver::calendarIncidenceChanged ( const Incidence::Ptr incidence)
virtual

Notify the Observer that an Incidence has been modified.

Parameters
incidenceis a pointer to the Incidence that was modified.

Definition at line 979 of file calendar.cpp.

void Calendar::CalendarObserver::calendarIncidenceDeleted ( const Incidence::Ptr incidence,
const Calendar calendar 
)
virtual

Notify the Observer that an Incidence has been removed.

Parameters
incidenceis a pointer to the Incidence that was removed.
calendaris a pointer to the calendar where the incidence was part of, because the incidence was deleted, there is now way to determine the calendar
Since
4.83.0

Definition at line 989 of file calendar.cpp.

void Calendar::CalendarObserver::calendarModified ( bool  modified,
Calendar calendar 
)
virtual

Notify the Observer that a Calendar has been modified.

Parameters
modifiedset if the calendar has been modified.
calendaris a pointer to the Calendar object that is being observed.

Definition at line 968 of file calendar.cpp.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Sep 24 2020 22:51:32 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.