libkcal Library API Documentation

KCal::Incidence::AddVisitor< T > Class Template Reference

This class implements a visitor for adding an Incidence to a resource supporting addEvent(), addTodo() and addJournal() calls. More...

#include <incidence.h>

Inheritance diagram for KCal::Incidence::AddVisitor< T >:

KCal::Incidence::Visitor List of all members.

Public Member Functions

 AddVisitor (T *r)
bool visit (Event *e)
bool visit (Todo *t)
bool visit (Journal *j)

Detailed Description

template<class T>
class KCal::Incidence::AddVisitor< T >

This class implements a visitor for adding an Incidence to a resource supporting addEvent(), addTodo() and addJournal() calls.

Definition at line 84 of file incidence.h.


Member Function Documentation

template<class T>
bool KCal::Incidence::AddVisitor< T >::visit Event e  )  [inline, virtual]
 

Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Event object.

Reimplemented from KCal::Incidence::Visitor.

Definition at line 89 of file incidence.h.

References KCal::Incidence::AddVisitor< T >::visit().

Referenced by KCal::Incidence::AddVisitor< T >::visit().

template<class T>
bool KCal::Incidence::AddVisitor< T >::visit Todo t  )  [inline, virtual]
 

Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Todo object.

Reimplemented from KCal::Incidence::Visitor.

Definition at line 90 of file incidence.h.

template<class T>
bool KCal::Incidence::AddVisitor< T >::visit Journal j  )  [inline, virtual]
 

Reimplement this function in your concrete subclass of IncidenceVisitor to perform actions on an Journal object.

Reimplemented from KCal::Incidence::Visitor.

Definition at line 91 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 Wed Jul 28 23:57:45 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003