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

#include <incidence.h>

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

Public Member Functions

 AddSubResourceVisitor (T *r, const TQString &subResource)
 
- Public Member Functions inherited from KCal::IncidenceBase::Visitor
virtual ~Visitor ()
 
virtual bool visit (FreeBusy *)
 

Protected Member Functions

bool visit (Event *e)
 
bool visit (Todo *t)
 
bool visit (Journal *j)
 
- Protected Member Functions inherited from KCal::IncidenceBase::Visitor
 Visitor ()
 

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

◆ visit() [1/3]

template<class T >
bool KCal::Incidence::AddSubResourceVisitor< T >::visit ( Event )
inlineprotectedvirtual

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.

◆ visit() [2/3]

template<class T >
bool KCal::Incidence::AddSubResourceVisitor< T >::visit ( Journal )
inlineprotectedvirtual

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.

◆ visit() [3/3]

template<class T >
bool KCal::Incidence::AddSubResourceVisitor< T >::visit ( Todo )
inlineprotectedvirtual

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: