libkcal Library API Documentation

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:

KCal::Incidence::AddVisitor< T > KCal::Incidence::DeleteVisitor< T > List of all members.

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

virtual KCal::Incidence::Visitor::~Visitor   [inline, virtual]
 

Destruct Incidence::Visitor.

Definition at line 56 of file incidence.h.

KCal::Incidence::Visitor::Visitor   [inline, protected]
 

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

Definition at line 76 of file incidence.h.


Member Function Documentation

virtual bool KCal::Incidence::Visitor::visit Event   [inline, virtual]
 

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.

virtual bool KCal::Incidence::Visitor::visit Todo   [inline, virtual]
 

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.

virtual bool KCal::Incidence::Visitor::visit Journal   [inline, virtual]
 

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:
KDE Logo
This file is part of the documentation for libkcal Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat May 1 11:36:24 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003