• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

KCalCore Library

  • KCalCore
  • Visitor
Public Member Functions | Protected Member Functions

KCalCore::Visitor Class Reference

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

#include <visitor.h>

List of all members.

Public Member Functions

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

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 43 of file visitor.h.


Constructor & Destructor Documentation

Visitor::~Visitor ( ) [virtual]

Destruct Incidence::Visitor.

Definition at line 38 of file visitor.cpp.

Visitor::Visitor ( ) [protected]

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

Definition at line 34 of file visitor.cpp.


Member Function Documentation

bool Visitor::visit ( Event::Ptr  event) [virtual]

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

Parameters:
eventis a pointer to a valid Event object.

Definition at line 42 of file visitor.cpp.

bool Visitor::visit ( FreeBusy::Ptr  freebusy) [virtual]

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

Parameters:
freebusyis a pointer to a valid FreeBusy object.

Definition at line 60 of file visitor.cpp.

bool Visitor::visit ( Journal::Ptr  journal) [virtual]

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

Parameters:
journalis a pointer to a valid Journal object.

Definition at line 54 of file visitor.cpp.

bool Visitor::visit ( Todo::Ptr  todo) [virtual]

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

Parameters:
todois a pointer to a valid Todo object.

Definition at line 48 of file visitor.cpp.


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

KCalCore Library

Skip menu "KCalCore 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
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
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