KCalendarCore::Calendar::CalendarObserver

Search for usage in LXR

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 962 of file calendar.h.

Constructor & Destructor Documentation

◆ ~CalendarObserver()

Calendar::CalendarObserver::~CalendarObserver ( )
virtual

Destructor.

Definition at line 572 of file calendar.cpp.

Member Function Documentation

◆ calendarIncidenceAboutToBeDeleted()

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 592 of file calendar.cpp.

◆ calendarIncidenceAdded()

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 582 of file calendar.cpp.

◆ calendarIncidenceAdditionCanceled()

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 603 of file calendar.cpp.

◆ calendarIncidenceChanged()

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 587 of file calendar.cpp.

◆ calendarIncidenceDeleted()

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 597 of file calendar.cpp.

◆ calendarModified()

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 576 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-2024 The KDE developers.
Generated on Fri Jun 14 2024 11:55:37 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.