KCal::Incidence::Visitor Class Reference
This class provides the interface for a visitor of calendar components. More...
#include <incidence.h>
Public Member Functions | |
virtual | ~Visitor () |
Destruct Incidence::Visitor. | |
virtual bool | visit (Event *) |
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Event object. | |
virtual bool | visit (Todo *) |
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Todo object. | |
virtual bool | visit (Journal *) |
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Journal object. | |
Protected Member Functions | |
Visitor () | |
Constructor is protected to prevent direct creation of visitor base class. |
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 53 of file incidence.h.
Constructor & Destructor Documentation
|
Destruct Incidence::Visitor.
Definition at line 57 of file incidence.h. |
|
Constructor is protected to prevent direct creation of visitor base class.
Definition at line 77 of file incidence.h. |
Member Function Documentation
|
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Event object.
Definition at line 63 of file incidence.h. |
|
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Todo object.
Definition at line 68 of file incidence.h. |
|
Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Journal object.
Definition at line 73 of file incidence.h. |
The documentation for this class was generated from the following file: