KCal::Incidence::Visitor Class Reference
This class provides the interface for a visitor of calendar components. More...
#include <incidence.h>
Inheritance diagram for KCal::Incidence::Visitor:

Public Methods | |
virtual | ~Visitor () |
virtual bool | visit (Event *) |
virtual bool | visit (Todo *) |
virtual bool | visit (Journal *) |
Protected Methods | |
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 52 of file incidence.h.
Constructor & Destructor Documentation
|
Destruct Incidence::Visitor.
Definition at line 56 of file incidence.h. |
|
Constructor is protected to prevent direct creation of visitor base class.
Definition at line 76 of file incidence.h. |
Member Function Documentation
|
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Event object.
Reimplemented in KCal::Incidence::AddVisitor< T >, and KCal::Incidence::DeleteVisitor< T >. Definition at line 62 of file incidence.h. |
|
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Todo object.
Reimplemented in KCal::Incidence::AddVisitor< T >, and KCal::Incidence::DeleteVisitor< T >. Definition at line 67 of file incidence.h. |
|
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Journal object.
Reimplemented in KCal::Incidence::AddVisitor< T >, and KCal::Incidence::DeleteVisitor< T >. Definition at line 72 of file incidence.h. |
The documentation for this class was generated from the following file: