libkcal

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

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

#include <incidence.h>

Inheritance diagram for KCal::Incidence::AddSubResourceVisitor< T >:
KCal::IncidenceBase::Visitor

List of all members.

Public Member Functions

 AddSubResourceVisitor (T *r, const TQString &subResource)

Protected Member Functions

bool visit (Event *e)
bool visit (Todo *t)
bool visit (Journal *j)

Detailed Description

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

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

Definition at line 73 of file incidence.h.


Member Function Documentation

template<class T>
bool KCal::Incidence::AddSubResourceVisitor< T >::visit ( Event  )  [inline, protected, 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 80 of file incidence.h.

template<class T>
bool KCal::Incidence::AddSubResourceVisitor< T >::visit ( Journal  )  [inline, protected, 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 88 of file incidence.h.

template<class T>
bool KCal::Incidence::AddSubResourceVisitor< T >::visit ( Todo  )  [inline, protected, 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 84 of file incidence.h.


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