• Skip to content
  • Skip to link menu
Brand

API Documentation

  1. KDE API Reference
  2. The KDE Frameworks
  3. KCalendarCore
  • KDE Home
  • Contact Us

Quick Links

Skip menu "KCalendarCore"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • File List
  • File Members
  • Dependencies
  • Related Pages

Class Picker

About

The KDE calendar access library

Maintainer
Volker Krause
Supported platforms
Android, FreeBSD, iOS, Linux, MacOSX, Windows
Community
IRC: #kde-devel on Freenode
Mailing list: kde-frameworks-devel
Use with CMake
find_package(KF5CalendarCore)
target_link_libraries(yourapp  KF5::CalendarCore)
Use with QMake
QT += KCalendarCore 
Clone
git clone git://anongit.kde.org/kcalendarcore.git
Browse source
KCalendarCore on cgit.kde.org

KCalendarCore

  • View on LXR
  • KCalendarCore
  • CalStorage
Public Member Functions | List of all members
KCalendarCore::CalStorage Class Referenceabstract

#include <calstorage.h>

Inheritance diagram for KCalendarCore::CalStorage:
Inheritance graph
[legend]

Public Member Functions

 CalStorage (const Calendar::Ptr &calendar)
 
 ~CalStorage () override
 
Calendar::Ptr calendar () const
 
virtual bool close ()=0
 
virtual bool load ()=0
 
virtual bool open ()=0
 
virtual bool save ()=0
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
bool blockSignals (bool block)
 
const QObjectList & children () const
 
QMetaObject::Connection connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method) const
 
bool disconnect (const QObject *receiver, const char *method) const
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name, QFlags< Qt::FindChildOption > options) const
 
QList< T > findChildren (const QString &name, QFlags< Qt::FindChildOption > options) const
 
QList< T > findChildren (const QRegExp &regExp, QFlags< Qt::FindChildOption > options) const
 
QList< T > findChildren (const QRegularExpression &re, QFlags< Qt::FindChildOption > options) const
 
bool inherits (const char *className) const
 
void installEventFilter (QObject *filterObj)
 
bool isWidgetType () const
 
bool isWindowType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
QString objectName () const
 
void objectNameChanged (const QString &objectName)
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeEventFilter (QObject *obj)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval, Qt::TimerType timerType)
 
QThread * thread () const
 

Additional Inherited Members

- Properties inherited from QObject
 objectName
 
- Static Public Member Functions inherited from QObject
QMetaObject::Connection connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, Functor functor)
 
QMetaObject::Connection connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type)
 
bool disconnect (const QMetaObject::Connection &connection)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const QMetaMethod &signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const QMetaMethod &signal)
 
bool isSignalConnected (const QMetaMethod &signal) const
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 

Detailed Description

An abstract base class that provides a calendar storage interface.

This is the base class for calendar storage. It provides an interface for the loading and saving of calendars.

Definition at line 47 of file calstorage.h.

Constructor & Destructor Documentation

CalStorage::CalStorage ( const Calendar::Ptr &  calendar)
explicit

Constructs a new storage object for a calendar.

Private class that helps to provide binary compatibility between releases.

Parameters
calendaris a pointer to a valid Calendar object.

Definition at line 51 of file calstorage.cpp.

CalStorage::~CalStorage ( )
override

Destuctor.

Definition at line 56 of file calstorage.cpp.

Member Function Documentation

Calendar::Ptr CalStorage::calendar ( ) const

Returns the calendar for this storage object.

Returns
A pointer to the calendar whose storage is being managed.

Definition at line 61 of file calstorage.cpp.

virtual bool KCalendarCore::CalStorage::close ( )
pure virtual

Closes the calendar storage.

Returns
true if the close was successful; false otherwise.

Implemented in KCalendarCore::FileStorage.

virtual bool KCalendarCore::CalStorage::load ( )
pure virtual

Loads the calendar into memory.

Returns
true if the load was successful; false otherwise.

Implemented in KCalendarCore::FileStorage.

virtual bool KCalendarCore::CalStorage::open ( )
pure virtual

Opens the calendar for storage.

Returns
true if the open was successful; false otherwise.

Implemented in KCalendarCore::FileStorage.

virtual bool KCalendarCore::CalStorage::save ( )
pure virtual

Saves the calendar.

Returns
true if the save was successful; false otherwise.

Implemented in KCalendarCore::FileStorage.


The documentation for this class was generated from the following files:
  • calstorage.h
  • calstorage.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sun Dec 8 2019 03:36:37 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

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