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 <schumacher@kde.org>
5
6 SPDX-License-Identifier: LGPL-2.0-or-later
7*/
8/**
9 @file
10 This file is part of the API for handling calendar data and
11 defines the CalStorage abstract base class.
12
13 @brief
14 An abstract base class that provides a calendar storage interface.
15
16 @author Cornelius Schumacher <schumacher@kde.org>
17*/
18
19#include "calstorage.h"
20
21using namespace KCalendarCore;
22
23/**
24 Private class that helps to provide binary compatibility between releases.
25 @internal
26*/
27//@cond PRIVATE
28class Q_DECL_HIDDEN KCalendarCore::CalStorage::Private
29{
30public:
31 Private(const Calendar::Ptr &cal)
32 : mCalendar(cal)
33 {
34 }
35 Calendar::Ptr mCalendar;
36};
37//@endcond
38
40 : d(new KCalendarCore::CalStorage::Private(calendar))
41{
42}
43
45{
46 delete d;
47}
48
50{
51 return d->mCalendar;
52}
53
54#include "moc_calstorage.cpp"
This file is part of the API for handling calendar data and defines the CalStorage abstract base clas...
An abstract base class that provides a calendar storage interface.
Definition calstorage.h:34
~CalStorage() override
Destuctor.
Calendar::Ptr calendar() const
Returns the calendar for this storage object.
CalStorage(const Calendar::Ptr &calendar)
Constructs a new storage object for a calendar.
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.