• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

KCal Library

  • sources
  • kde-4.12
  • kdepimlibs
  • kcal
calstorage.cpp
Go to the documentation of this file.
1 /*
2  This file is part of the kcal library.
3 
4  Copyright (c) 2002,2003 Cornelius Schumacher <schumacher@kde.org>
5 
6  This library is free software; you can redistribute it and/or
7  modify it under the terms of the GNU Library General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
32 #include "calstorage.h"
33 #include "calendar.h"
34 
35 using namespace KCal;
36 
41 //@cond PRIVATE
42 class KCal::CalStorage::Private
43 {
44  public:
45  Private( Calendar *cal )
46  : mCalendar( cal )
47  {}
48  Calendar *mCalendar;
49 };
50 //@endcond
51 
52 CalStorage::CalStorage( Calendar *calendar )
53  : d( new KCal::CalStorage::Private ( calendar ) )
54 {
55 }
56 
57 CalStorage::~CalStorage()
58 {
59  delete d;
60 }
61 
62 Calendar *CalStorage::calendar() const
63 {
64  return d->mCalendar;
65 }
KCal::CalStorage::CalStorage
CalStorage(Calendar *calendar)
Construcst a new storage object for a calendar.
Definition: calstorage.cpp:52
calstorage.h
This file is part of the API for handling calendar data and defines the CalStorage abstract base clas...
KCal::Calendar
Represents the main calendar class.
Definition: calendar.h:119
KCal::CalStorage::calendar
Calendar * calendar() const
Returns a pointer to the calendar whose storage is being managed.
Definition: calstorage.cpp:62
calendar.h
This file is part of the API for handling calendar data and defines the Calendar class.
KCal::CalStorage::~CalStorage
virtual ~CalStorage()
Destuctor.
Definition: calstorage.cpp:57
KCal::CalStorage
An abstract base class that provides a calendar storage interface.
Definition: calstorage.h:46
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:57 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KCal Library

Skip menu "KCal Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal