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 #include "event.h"
15 #include "todo.h"
16 #include "journal.h"
17 #include "freebusy.h"
18 
19 using namespace KCalendarCore;
20 
22 {
23 }
24 
26 {
27 }
28 
29 bool Visitor::visit(const Event::Ptr &event)
30 {
31  Q_UNUSED(event);
32  return false;
33 }
34 
35 bool Visitor::visit(const Todo::Ptr &todo)
36 {
37  Q_UNUSED(todo);
38  return false;
39 }
40 
41 bool Visitor::visit(const Journal::Ptr &journal)
42 {
43  Q_UNUSED(journal);
44  return false;
45 }
46 
47 bool Visitor::visit(const FreeBusy::Ptr &freebusy)
48 {
49  Q_UNUSED(freebusy);
50  return false;
51 }
virtual ~Visitor()
Destruct Incidence::Visitor.
Definition: visitor.cpp:25
This file is part of the API for handling calendar data and defines the Todo class.
This file is part of the API for handling calendar data and defines the FreeBusy class.
Visitor()
Constructor is protected to prevent direct creation of visitor base class.
Definition: visitor.cpp:21
This file is part of the API for handling calendar data and defines the Journal class.
This file is part of the API for handling calendar data and defines the Event class.
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:29
Namespace for all KCalendarCore types.
Definition: alarm.h:36
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Aug 10 2020 22:54:15 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.