libkcal
KCal::IncidenceBase::Visitor Class Reference
This class provides the interface for a visitor of calendar components. More...
#include <incidencebase.h>
Public Member Functions | |
virtual bool | visit (FreeBusy *) |
virtual bool | visit (Journal *) |
virtual bool | visit (Todo *) |
virtual bool | visit (Event *) |
virtual | ~Visitor () |
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 54 of file incidencebase.h.
Constructor & Destructor Documentation
virtual KCal::IncidenceBase::Visitor::~Visitor | ( | ) | [inline, virtual] |
KCal::IncidenceBase::Visitor::Visitor | ( | ) | [inline, protected] |
Constructor is protected to prevent direct creation of visitor base class.
Definition at line 83 of file incidencebase.h.
Member Function Documentation
virtual bool KCal::IncidenceBase::Visitor::visit | ( | FreeBusy * | ) | [inline, virtual] |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a FreeBusy object.
Definition at line 79 of file incidencebase.h.
virtual bool KCal::IncidenceBase::Visitor::visit | ( | Journal * | ) | [inline, virtual] |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on an Journal object.
Reimplemented in KCal::Incidence::AddVisitor< T >, and KCal::Incidence::DeleteVisitor< T >.
Definition at line 74 of file incidencebase.h.
virtual bool KCal::IncidenceBase::Visitor::visit | ( | Todo * | ) | [inline, virtual] |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a Todo object.
Reimplemented in KCal::Incidence::AddVisitor< T >, and KCal::Incidence::DeleteVisitor< T >.
Definition at line 69 of file incidencebase.h.
virtual bool KCal::IncidenceBase::Visitor::visit | ( | Event * | ) | [inline, virtual] |
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on an Event object.
Reimplemented in KCal::Incidence::AddVisitor< T >, and KCal::Incidence::DeleteVisitor< T >.
Definition at line 64 of file incidencebase.h.
The documentation for this class was generated from the following file: