KCalendarCore

calstorage.cpp
Go to the documentation of this file.
1 /*
2  This file is part of the kcalcore library.
3 
4  SPDX-FileCopyrightText: 2002, 2003 Cornelius Schumacher <[email protected]>
5 
6  SPDX-License-Identifier: LGPL-2.0-or-later
7 */
19 #include "calstorage.h"
20 
21 using namespace KCalendarCore;
22 
27 //@cond PRIVATE
28 class Q_DECL_HIDDEN KCalendarCore::CalStorage::Private
29 {
30 public:
31  Private(const Calendar::Ptr &cal)
32  : mCalendar(cal)
33  {}
34  Calendar::Ptr mCalendar;
35 };
36 //@endcond
37 
39  : d(new KCalendarCore::CalStorage::Private(calendar))
40 {
41 }
42 
44 {
45  delete d;
46 }
47 
49 {
50  return d->mCalendar;
51 }
This file is part of the API for handling calendar data and defines the CalStorage abstract base clas...
CalStorage(const Calendar::Ptr &calendar)
Constructs a new storage object for a calendar.
Definition: calstorage.cpp:38
Calendar::Ptr calendar() const
Returns the calendar for this storage object.
Definition: calstorage.cpp:48
An abstract base class that provides a calendar storage interface.
Definition: calstorage.h:34
~CalStorage() override
Destuctor.
Definition: calstorage.cpp:43
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 Jun 1 2020 22:54:21 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.