• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KCal Library

KCal::IncidenceBase::Visitor

KCal::IncidenceBase::Visitor Class Reference

This class provides the interface for a visitor of calendar components. More...

#include <incidencebase.h>

List of all members.


Public Member Functions

virtual bool visit (FreeBusy *freebusy)
virtual bool visit (Journal *journal)
virtual bool visit (Todo *todo)
virtual bool visit (Event *event)
virtual ~Visitor ()

Protected Member Functions

 Visitor ()

Detailed Description

This class provides the interface for a visitor of calendar components.

It serves as base class for concrete visitors, which implement certain actions on calendar components. It allows to add functions, which operate on the concrete types of calendar components, without changing the calendar component classes.

Definition at line 112 of file incidencebase.h.


Constructor & Destructor Documentation

virtual KCal::IncidenceBase::Visitor::~Visitor (  )  [inline, virtual]

Destruct Incidence::Visitor.

Definition at line 116 of file incidencebase.h.

KCal::IncidenceBase::Visitor::Visitor (  )  [inline, protected]

Constructor is protected to prevent direct creation of visitor base class.

Definition at line 151 of file incidencebase.h.


Member Function Documentation

bool IncidenceBase::Visitor::visit ( FreeBusy *  freebusy  )  [virtual]

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

Parameters:
freebusy is a pointer to a valid FreeBusy object.

Definition at line 522 of file incidencebase.cpp.

bool IncidenceBase::Visitor::visit ( Journal *  journal  )  [virtual]

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

Parameters:
journal is a pointer to a valid Journal object.

Definition at line 516 of file incidencebase.cpp.

bool IncidenceBase::Visitor::visit ( Todo *  todo  )  [virtual]

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

Parameters:
todo is a pointer to a valid Todo object.

Definition at line 510 of file incidencebase.cpp.

bool IncidenceBase::Visitor::visit ( Event *  event  )  [virtual]

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

Parameters:
event is a pointer to a valid Event object.

Definition at line 504 of file incidencebase.cpp.


The documentation for this class was generated from the following files:
  • incidencebase.h
  • incidencebase.cpp

KCal Library

Skip menu "KCal Library"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.7
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal