filestorage.cpp
Provides the main "calendar" object class.
const TQString & loadedProductId()
Return the PRODID string loaded from calendar file.
Definition calformat.h:89
virtual bool load(Calendar *, const TQString &fileName)=0
loads a calendar on disk into the calendar associated with this format.
virtual bool save(Calendar *, const TQString &fileName)=0
writes out the calendar to disk.
ErrorFormat * exception()
Return exception, if there is any, containing information about the last error that occurred.
Definition calformat.cpp:56
static const TQString & productId()
Return the PRODID string to write into calendar files.
Definition calformat.h:87
This class provides the interface to the storage of a calendar.
Definition calstorage.h:34
void setProductId(const TQString &productId)
Set the Calendar Product ID.
Definition calendar.cpp:1018
void setSaveFormat(CalFormat *)
FileStorage takes ownership of format object.
Definition filestorage.cpp:63
bool load(Calendar *calendar, const TQString &fileName)
Loads a calendar on disk in iCalendar format into calendar.
Definition icalformat.cpp:78
bool load(Calendar *calendar, const TQString &fileName)
Loads a calendar on disk in vCalendar format into the given calendar.
Definition vcalformat.cpp:58