KCalCore Library
icalformat.cpp
Go to the documentation of this file.
159 kError() << "parse error from icalcomponent_new_from_string. string=" << QString::fromLatin1(string);
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
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
Exception base class, currently used as a fancy kind of error code and not as an C++ exception.
Definition exceptions.h:51
This class provides the libical dependent functions for ICalFormat.
Definition icalformat_p.h:90
KDateTime::Spec timeSpec() const
Returns the iCalendar time specification.
Definition icalformat.cpp:625
FreeBusy::Ptr parseFreeBusy(const QString &string)
Converts a QString into a FreeBusy object.
Definition icalformat.cpp:416
void setTimeSpec(const KDateTime::Spec &timeSpec)
Sets the iCalendar time specification (time zone, etc.).
Definition icalformat.cpp:620
QString createScheduleMessage(const IncidenceBase::Ptr &incidence, iTIPMethod method)
Creates a scheduling message string for an Incidence.
Definition icalformat.cpp:367
virtual void virtual_hook(int id, void *data)
Definition icalformat.cpp:636
bool fromString(const Calendar::Ptr &calendar, const QString &string, bool deleted=false, const QString ¬ebook=QString())
Definition icalformat.cpp:142
QString toICalString(const Incidence::Ptr &incidence)
Converts an Incidence to iCalendar formatted text.
Definition icalformat.cpp:296
QByteArray toRawString(const Incidence::Ptr &incidence)
Converts an Incidence to a QByteArray.
Definition icalformat.cpp:308
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
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
ScheduleMessage::Ptr parseScheduleMessage(const Calendar::Ptr &calendar, const QString &string)
Parses a Calendar scheduling message string into ScheduleMessage object.
Definition icalformat.cpp:450
QString toString(const Calendar::Ptr &calendar, const QString ¬ebook=QString(), bool deleted=false)
Definition icalformat.cpp:213
bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string, bool deleted=false, const QString ¬ebook=QString())
Definition icalformat.cpp:148
A class which reads and parses iCalendar VTIMEZONE components, and accesses libical time zone data.
Definition icaltimezones.h:406
ICalTimeZone parse(icalcomponent *vtimezone)
Creates an ICalTimeZone instance containing the detailed information parsed from an iCalendar VTIMEZO...
Definition icaltimezones.cpp:852
The ICalTimeZones class represents a time zone database which consists of a collection of individual ...
Definition icaltimezones.h:66
An abstract class that provides a common base for all calendar incidence classes.
Definition incidencebase.h:110
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition incidencebase.h:115
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition incidence.h:70
This class provides a calendar stored in memory.
Definition memorycalendar.h:47
QSharedPointer< MemoryCalendar > Ptr
A shared pointer to a MemoryCalendar.
Definition memorycalendar.h:53
This class represents a recurrence rule for a calendar incidence.
Definition recurrencerule.h:44
QSharedPointer< ScheduleMessage > Ptr
A shared pointer to a ScheduleMessage.
Definition schedulemessage.h:72
static QString methodName(iTIPMethod method)
Returns a machine-readable (not translatable) name for a iTIP method.
Definition schedulemessage.cpp:70
This file is part of the API for handling calendar data and defines the FreeBusy class.
This file is part of the API for handling calendar data and defines the ICalFormat class.
This file is part of the API for handling calendar data and defines the internal ICalFormatImpl class...
This file is part of the API for handling calendar data and defines the MemoryCalendar class.
static uint qHash(const KDateTime &dt)
Private class that helps to provide binary compatibility between releases.
Definition occurrenceiterator.cpp:157
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.