KCalendarCore

visitor.cpp
1 /*
2  This file is part of the kcalcore library.
3 
4  SPDX-FileCopyrightText: 2001-2003 Cornelius Schumacher <[email protected]>
5  SPDX-FileCopyrightText: 2003-2004 Reinhold Kainhofer <[email protected]>
6  SPDX-FileCopyrightText: 2005 Rafal Rzepecki <[email protected]>
7  SPDX-FileCopyrightText: 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
8  SPDX-FileContributor: Alvaro Manera <[email protected]>
9 
10  SPDX-License-Identifier: LGPL-2.0-or-later
11 */
12 
13 #include "visitor.h"
14 
15 using namespace KCalendarCore;
16 
18 {
19 }
20 
22 {
23 }
24 
25 bool Visitor::visit(const Event::Ptr &event)
26 {
27  Q_UNUSED(event);
28  return false;
29 }
30 
31 bool Visitor::visit(const Todo::Ptr &todo)
32 {
33  Q_UNUSED(todo);
34  return false;
35 }
36 
37 bool Visitor::visit(const Journal::Ptr &journal)
38 {
39  Q_UNUSED(journal);
40  return false;
41 }
42 
43 bool Visitor::visit(const FreeBusy::Ptr &freebusy)
44 {
45  Q_UNUSED(freebusy);
46  return false;
47 }
virtual ~Visitor()
Destruct Incidence::Visitor.
Definition: visitor.cpp:21
Visitor()
Constructor is protected to prevent direct creation of visitor base class.
Definition: visitor.cpp:17
virtual bool visit(const Event::Ptr &event)
Reimplement this function in your concrete subclass of IncidenceBase::Visitor to perform actions on a...
Definition: visitor.cpp:25
Namespace for all KCalendarCore types.
Definition: alarm.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Sep 18 2021 22:51:44 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.