KCalendarCore

visitor.cpp
1/*
2 This file is part of the kcalcore library.
3
4 SPDX-FileCopyrightText: 2001-2003 Cornelius Schumacher <schumacher@kde.org>
5 SPDX-FileCopyrightText: 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
6 SPDX-FileCopyrightText: 2005 Rafal Rzepecki <divide@users.sourceforge.net>
7 SPDX-FileCopyrightText: 2009 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
8 SPDX-FileContributor: Alvaro Manera <alvaro.manera@nokia.com>
9
10 SPDX-License-Identifier: LGPL-2.0-or-later
11*/
12
13#include "visitor.h"
14
15using namespace KCalendarCore;
16
20
24
25bool Visitor::visit(const Event::Ptr &event)
26{
27 Q_UNUSED(event);
28 return false;
29}
30
31bool Visitor::visit(const Todo::Ptr &todo)
32{
33 Q_UNUSED(todo);
34 return false;
35}
36
37bool Visitor::visit(const Journal::Ptr &journal)
38{
39 Q_UNUSED(journal);
40 return false;
41}
42
43bool 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:37
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:40 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.