KCalCore Library
filestorage.cpp
Go to the documentation of this file.
This file is part of the API for handling calendar data and defines the MemoryCalendar class...
An abstract base class that provides an interface to various calendar formats.
Definition: calformat.h:48
virtual bool load(const Calendar::Ptr &calendar, const QString &fileName)=0
Loads a calendar on disk into the calendar associated with this format.
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 Exception class...
QString fileName() const
Returns a string containing the name of the calendar file.
Definition: filestorage.cpp:76
void setSaveFormat(KCalCore::CalFormat *format)
Sets the CalFormat object to use for this storage.
Definition: filestorage.cpp:81
QString loadedProductId()
Returns the PRODID string loaded from calendar file.
Definition: calformat.cpp:111
virtual bool save(const Calendar::Ptr &calendar, const QString &fileName)=0
Writes the calendar to disk.
void setFileName(const QString &fileName)
Sets the name of the file that contains the calendar data.
Definition: filestorage.cpp:71
Exception * exception() const
Returns an exception, if there is any, containing information about the last error that occurred...
Definition: calformat.cpp:89
bool load(const Calendar::Ptr &calendar, const QString &fileName)
Definition: vcalformat.cpp:103
Calendar::Ptr calendar() const
Returns a pointer to the calendar whose storage is being managed.
Definition: calstorage.cpp:61
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:59
This file is part of the API for handling calendar data and defines the VCalFormat base class...
bool load(const Calendar::Ptr &calendar, const QString &fileName)
Definition: icalformat.cpp:77
CalFormat * saveFormat() const
Returns a pointer to the CalFormat object used by this storage.
Definition: filestorage.cpp:87
An abstract base class that provides a calendar storage interface.
Definition: calstorage.h:46
This file is part of the API for handling calendar data and defines the ICalFormat class...
This file is part of the KDE documentation.
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Nov 25 2015 21:41:01 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2015 The KDE developers.
Generated on Wed Nov 25 2015 21:41:01 by doxygen 1.8.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.