KDE PIM / Developers / API Docs / libkcal

KCal::IncidenceBase::Visitor Class Reference

This class provides the interface for a visitor of calendar components. More...

#include <incidencebase.h>

Inherited by ICalFormatImpl::ToComponentVisitor, IncidenceFormatter::EventViewerVisitor, IncidenceFormatter::MailBodyVisitor, IncidenceFormatter::ScheduleMessageVisitor, IncidenceFormatter::ToolTipVisitor, KCal::Incidence::AddVisitor< T >, and KCal::Incidence::DeleteVisitor< T >.

List of all members.

Public Member Functions

Protected Member Functions


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.


Constructor & Destructor Documentation

virtual KCal::IncidenceBase::Visitor::~Visitor  )  [inline, virtual]
 

Destruct Incidence::Visitor.

KCal::IncidenceBase::Visitor::Visitor  )  [inline, protected]
 

Constructor is protected to prevent direct creation of visitor base class.


Member Function Documentation

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 >.

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 >.

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 >.

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.


The documentation for this class was generated from the following file: