KCalCore Library
icalformat.cpp
Go to the documentation of this file.
bool fromString(const Calendar::Ptr &calendar, const QString &string, bool deleted=false, const QString ¬ebook=QString())
Definition: icalformat.cpp:142
const ZoneMap zones() const
Returns all the time zones defined in this collection.
Definition: icaltimezones.cpp:126
The ICalTimeZones class represents a time zone database which consists of a collection of individual ...
Definition: icaltimezones.h:66
static QString methodName(iTIPMethod method)
Returns a machine-readable (not translatable) name for a iTIP method.
Definition: schedulemessage.cpp:70
KDateTime::Spec timeSpec() const
Returns the iCalendar time specification.
Definition: icalformat.cpp:625
QString timeZoneId() const
Returns the timezone id string used by the iCalendar; an empty string if the iCalendar does not have ...
Definition: icalformat.cpp:630
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition: incidencebase.h:115
void setTimeSpec(const KDateTime::Spec &timeSpec)
Sets the iCalendar time specification (time zone, etc.).
Definition: icalformat.cpp:620
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:70
FreeBusy::Ptr parseFreeBusy(const QString &string)
Converts a QString into a FreeBusy object.
Definition: icalformat.cpp:416
An abstract class that provides a common base for all calendar incidence classes.
Definition: incidencebase.h:110
virtual void virtual_hook(int id, void *data)
Definition: icalformat.cpp:636
ICalTimeZone parse(icalcomponent *vtimezone)
Creates an ICalTimeZone instance containing the detailed information parsed from an iCalendar VTIMEZO...
Definition: icaltimezones.cpp:852
QString createScheduleMessage(const IncidenceBase::Ptr &incidence, iTIPMethod method)
Creates a scheduling message string for an Incidence.
Definition: icalformat.cpp:367
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
QSharedPointer< MemoryCalendar > Ptr
A shared pointer to a MemoryCalendar.
Definition: memorycalendar.h:53
QString toICalString(const Incidence::Ptr &incidence)
Converts an Incidence to iCalendar formatted text.
Definition: icalformat.cpp:296
bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string, bool deleted=false, const QString ¬ebook=QString())
Definition: icalformat.cpp:148
This class represents a recurrence rule for a calendar incidence.
Definition: recurrencerule.h:44
This class provides the libical dependent functions for ICalFormat.
Definition: icalformat_p.h:90
void setLoadedProductId(const QString &id)
Sets the PRODID string loaded from calendar file.
Definition: calformat.cpp:118
A class which reads and parses iCalendar VTIMEZONE components, and accesses libical time zone data.
Definition: icaltimezones.h:406
QByteArray toRawString(const Incidence::Ptr &incidence)
Converts an Incidence to a QByteArray.
Definition: icalformat.cpp:308
ScheduleMessage::Ptr parseScheduleMessage(const Calendar::Ptr &calendar, const QString &string)
Parses a Calendar scheduling message string into ScheduleMessage object.
Definition: icalformat.cpp:450
This class provides a calendar stored in memory.
Definition: memorycalendar.h:47
QString toString(const Calendar::Ptr &calendar, const QString ¬ebook=QString(), bool deleted=false)
Definition: icalformat.cpp:213
bool save(const Calendar::Ptr &calendar, const QString &fileName)
Definition: icalformat.cpp:104
bool load(const Calendar::Ptr &calendar, const QString &fileName)
Definition: icalformat.cpp:79
Exception base class, currently used as a fancy kind of error code and not as an C++ exception.
Definition: exceptions.h:51
Exception * exception() const
Returns an exception, if there is any, containing information about the last error that occurred.
Definition: calformat.cpp:91
QSharedPointer< ScheduleMessage > Ptr
A shared pointer to a ScheduleMessage.
Definition: schedulemessage.h:72
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.