KCalendarCore
calformat.cpp
Go to the documentation of this file.
30QString CalFormatPrivate::mProductId = QStringLiteral("-//K Desktop Environment//NONSGML libkcal 4.3//EN");
This file is part of the API for handling calendar data and defines the CalFormat abstract base class...
void setLoadedProductId(const QString &id)
Sets the PRODID string loaded from calendar file.
Definition calformat.cpp:83
QString loadedProductId()
Returns the PRODID string loaded from calendar file.
Definition calformat.cpp:78
static void setApplication(const QString &application, const QString &productID)
Sets the application name for use in unique IDs and error messages, and product ID for incidence PROD...
Definition calformat.cpp:62
static const QString & application()
Returns the application name used in unique IDs and error messages.
Definition calformat.cpp:68
Exception * exception() const
Returns an exception, if there is any, containing information about the last error that occurred.
Definition calformat.cpp:57
static const QString & productId()
Returns the our library's PRODID string to write into calendar files.
Definition calformat.cpp:73
void setException(Exception *error)
Sets an exception that is to be used by the functions of this class to report errors.
Definition calformat.cpp:52
bool fromString(const Calendar::Ptr &calendar, const QString &string)
Loads a calendar from a string.
Definition calformat.cpp:42
virtual bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string)=0
Parses a utf8 encoded string, returning the first iCal component encountered in that string.
Exception base class, currently used as a fancy kind of error code and not as an C++ exception.
Definition exceptions.h:42
This file is part of the API for handling calendar data and defines the Exception class.
WithoutBraces
QUuid createUuid()
QString toString(StringFormat mode) const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:07:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:07:48 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.