KCal Library
#include <incidencebase.h>
Public Member Functions | |
virtual | ~Visitor () |
virtual bool | visit (Event *event) |
virtual bool | visit (Todo *todo) |
virtual bool | visit (Journal *journal) |
virtual bool | visit (FreeBusy *freebusy) |
Protected Member Functions | |
Visitor () | |
Detailed Description
This class provides the interface for a visitor of calendar components.
It serves as base class for concrete visitors, which implement certain actions on calendar components. It allows to add functions, which operate on the concrete types of calendar components, without changing the calendar component classes.
Definition at line 112 of file incidencebase.h.
Constructor & Destructor Documentation
|
inlinevirtual |
Destruct Incidence::Visitor.
Definition at line 116 of file incidencebase.h.
|
inlineprotected |
Constructor is protected to prevent direct creation of visitor base class.
Definition at line 151 of file incidencebase.h.
Member Function Documentation
|
virtual |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on an Event object.
- Parameters
-
event is a pointer to a valid Event object.
Reimplemented in KCal::AssignmentVisitor, and KCal::ComparisonVisitor.
Definition at line 513 of file incidencebase.cpp.
|
virtual |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a Todo object.
- Parameters
-
todo is a pointer to a valid Todo object.
Reimplemented in KCal::AssignmentVisitor, and KCal::ComparisonVisitor.
Definition at line 519 of file incidencebase.cpp.
|
virtual |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on an Journal object.
- Parameters
-
journal is a pointer to a valid Journal object.
Reimplemented in KCal::AssignmentVisitor, and KCal::ComparisonVisitor.
Definition at line 525 of file incidencebase.cpp.
|
virtual |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a FreeBusy object.
- Parameters
-
freebusy is a pointer to a valid FreeBusy object.
Reimplemented in KCal::AssignmentVisitor, and KCal::ComparisonVisitor.
Definition at line 531 of file incidencebase.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.