KCalCore Library
calformat.cpp
Go to the documentation of this file.
Exception base class, currently used as a fancy kind of error code and not as an C++ exception...
Definition: exceptions.h:50
int minute() const
static const QString & productId()
Returns the our library's PRODID string to write into calendar files.
Definition: calformat.cpp:108
void setException(Exception *error)
Sets an exception that is to be used by the functions of this class to report errors.
Definition: calformat.cpp:85
virtual void virtual_hook(int id, void *data)
Definition: calformat.cpp:144
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:96
An abstract base class that provides an interface to various calendar formats.
Definition: calformat.h:48
This file is part of the API for handling calendar data and defines the CalFormat abstract base class...
int second() const
This file is part of the API for handling calendar data and defines the Exception class...
int hour() const
int msec() const
QString loadedProductId()
Returns the PRODID string loaded from calendar file.
Definition: calformat.cpp:113
void setLoadedProductId(const QString &id)
Sets the PRODID string loaded from calendar file.
Definition: calformat.cpp:118
Exception * exception() const
Returns an exception, if there is any, containing information about the last error that occurred...
Definition: calformat.cpp:91
QTime currentTime()
static const QString & application()
Returns the application name used in unique IDs and error messages.
Definition: calformat.cpp:103
QString fromLatin1(const char *str, int size)
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:36:53 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.