libkcal

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

List of all members.


Public Member Functions

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

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 51 of file incidence.h.


Constructor & Destructor Documentation

template<class T>
KCal::Incidence::AddVisitor< T >::AddVisitor ( T *  r  )  [inline]

Definition at line 54 of file incidence.h.


Member Function Documentation

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

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

Reimplemented from KCal::IncidenceBase::Visitor.

Definition at line 58 of file incidence.h.

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

Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a Todo object.

Reimplemented from KCal::IncidenceBase::Visitor.

Definition at line 57 of file incidence.h.

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

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

Reimplemented from KCal::IncidenceBase::Visitor.

Definition at line 56 of file incidence.h.


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