KCal Library
calformat.h
Exceptions base class along with the Calendar ErrorFormat class.
virtual bool save(Calendar *calendar, const QString &fileName)=0
Writes the calendar to disk.
An abstract base class that provides an interface to various calendar formats.
Definition: calformat.h:52
virtual QString toString(Calendar *calendar)=0
Returns the calendar as a string.
virtual bool fromRawString(Calendar *calendar, const QByteArray &string)=0
Parses a utf8 encoded string, returning the first iCal component encountered in that string.
virtual bool load(Calendar *calendar, const QString &fileName)=0
Loads a calendar on disk into the calendar associated with this format.
virtual bool fromString(Calendar *calendar, const QString &string)=0
Loads a calendar from a string.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Tue Jul 28 2020 00:00:00 by doxygen 1.8.18 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.