• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. The KDE Frameworks
  3. KCalendarCore
  • KDE Home
  • Contact Us

Quick Links

Skip menu "KCalendarCore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • File Members
  • Dependencies
  • Related Pages

Class Picker

About

The KDE calendar access library

Maintainer
Volker Krause
Supported platforms
Android, FreeBSD, iOS, Linux, MacOSX, Windows
Community
IRC: #kde-devel on Freenode
Mailing list: kde-frameworks-devel
Use with CMake
find_package(KF5CalendarCore)
target_link_libraries(yourapp  KF5::CalendarCore)
Use with QMake
QT += KCalendarCore 
Clone
git clone git://anongit.kde.org/kcalendarcore.git
Browse source
KCalendarCore on cgit.kde.org

KCalendarCore

  • View on LXR
  • KCalendarCore
  • Visitor
Public Member Functions | Protected Member Functions | List of all members
KCalendarCore::Visitor Class Reference

#include <visitor.h>

Inherited by AddVisitor< T >, and DeleteVisitor< T >.

Public Member Functions

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

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 44 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 ( const 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 ( const 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.

bool Visitor::visit ( const 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 ( const 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.


The documentation for this class was generated from the following files:
  • visitor.h
  • visitor.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Fri Dec 13 2019 02:37:57 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal