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

#include <incidence.h>

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

Public Member Functions

 AddVisitor (T *r)
 
bool visit (Event *e)
 
bool visit (Todo *t)
 
bool visit (Journal *j)
 
- Public Member Functions inherited from KCal::IncidenceBase::Visitor
virtual ~Visitor ()
 
virtual bool visit (FreeBusy *)
 

Additional Inherited Members

- Protected Member Functions inherited from KCal::IncidenceBase::Visitor
 Visitor ()
 

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

Member Function Documentation

◆ visit() [1/3]

template<class T >
bool KCal::Incidence::AddVisitor< T >::visit ( Event )
inlinevirtual

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

◆ visit() [2/3]

template<class T >
bool KCal::Incidence::AddVisitor< T >::visit ( Journal )
inlinevirtual

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

◆ visit() [3/3]

template<class T >
bool KCal::Incidence::AddVisitor< T >::visit ( Todo )
inlinevirtual

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


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