KCal Library
filestorage.cpp
Go to the documentation of this file.
void setSaveFormat(CalFormat *format)
Sets the CalFormat object to use for this storage.
Definition: filestorage.cpp:85
const QString & loadedProductId()
Returns the PRODID string loaded from calendar file.
Definition: calformat.cpp:105
void setModified(bool modified)
Sets if the calendar has been modified.
Definition: calendar.cpp:1125
FileStorage(Calendar *calendar, const QString &fileName=QString(), CalFormat *format=0)
Constructs a new FileStorage object for Calendar calendar with format format, and storage to file fil...
Definition: filestorage.cpp:63
QString fileName() const
Returns a string containing the name of the calendar file.
Definition: filestorage.cpp:80
An abstract base class that provides an interface to various calendar formats.
Definition: calformat.h:51
virtual bool save(Calendar *calendar, const QString &fileName)=0
Writes the calendar to disk.
bool load(Calendar *calendar, const QString &fileName)
Definition: icalformat.cpp:85
This file is part of the API for handling calendar data and defines the Calendar class.
Calendar * calendar() const
Returns a pointer to the calendar whose storage is being managed.
Definition: calstorage.cpp:62
This file is part of the API for handling calendar data and defines the FileStorage class...
virtual bool load(Calendar *calendar, const QString &fileName)=0
Loads a calendar on disk into the calendar associated with this format.
CalFormat * saveFormat() const
Returns a pointer to the CalFormat object used by this storage.
Definition: filestorage.cpp:91
Definition: alarm.h:52
void setProductId(const QString &id)
Sets the calendar Product ID to id.
Definition: calendar.cpp:1197
void setFileName(const QString &fileName)
Sets the name of the file that contains the calendar data.
Definition: filestorage.cpp:75
This file is part of the API for handling calendar data and defines the VCalFormat base class...
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...
ErrorFormat * exception()
Returns an exception, if there is any, containing information about the last error that occurred...
Definition: calformat.cpp:83
This file is part of the KDE documentation.
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Jan 19 2017 10:28:34 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2017 The KDE developers.
Generated on Thu Jan 19 2017 10:28:34 by doxygen 1.8.13 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.