KCalCore Library
filestorage.cpp
Go to the documentation of this file.
An abstract base class that provides an interface to various calendar formats.
Definition calformat.h:49
QString loadedProductId()
Returns the PRODID string loaded from calendar file.
Definition calformat.cpp:113
virtual bool load(const Calendar::Ptr &calendar, const QString &fileName)=0
Loads a calendar on disk into the calendar associated with this format.
An abstract base class that provides a calendar storage interface.
Definition calstorage.h:47
Calendar::Ptr calendar() const
Returns the calendar for this storage object.
Definition calstorage.cpp:61
void setSaveFormat(KCalCore::CalFormat *format)
Sets the CalFormat object to use for this storage.
Definition filestorage.cpp:83
FileStorage(const Calendar::Ptr &calendar, const QString &fileName=QString(), KCalCore::CalFormat *format=0)
Constructs a new FileStorage object for Calendar calendar with format format, and storage to file fil...
Definition filestorage.cpp:61
CalFormat * saveFormat() const
Returns the CalFormat object used by this storage.
Definition filestorage.cpp:89
void setFileName(const QString &fileName)
Sets the name of the file that contains the calendar data.
Definition filestorage.cpp:73
bool save(const Calendar::Ptr &calendar, const QString &fileName)
Definition icalformat.cpp:104
bool load(const Calendar::Ptr &calendar, const QString &fileName)
Definition icalformat.cpp:79
bool load(const Calendar::Ptr &calendar, const QString &fileName)
Definition vcalformat.cpp:103
This file is part of the API for handling calendar data and defines the Exception class.
This file is part of the API for handling calendar data and defines the FileStorage class.
This file is part of the API for handling calendar data and defines the ICalFormat class.
This file is part of the API for handling calendar data and defines the MemoryCalendar class.
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition occurrenceiterator.cpp:157
This file is part of the API for handling calendar data and defines the VCalFormat base class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.