KCalCore Library
calformat.h
Go to the documentation of this file.
This file is part of the API for handling calendar data and defines the Calendar class.
An abstract base class that provides an interface to various calendar formats.
Definition: calformat.h:49
virtual bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string, bool deleted=false, const QString ¬ebook=QString())=0
Parses a utf8 encoded string, returning the first iCal component encountered in that string.
virtual QString toString(const Calendar::Ptr &calendar, const QString ¬ebook=QString(), bool deleted=false)=0
Returns the calendar as a string.
virtual bool load(const Calendar::Ptr &calendar, const QString &fileName)=0
Loads a calendar on disk into the calendar associated with this format.
virtual bool save(const Calendar::Ptr &calendar, const QString &fileName)=0
Writes the calendar to disk.
virtual bool fromString(const Calendar::Ptr &calendar, const QString &string, bool deleted=false, const QString ¬ebook=QString())=0
Loads a calendar from a string.
Exception base class, currently used as a fancy kind of error code and not as an C++ exception.
Definition: exceptions.h:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.