KCalendarCore
icalformat.h
Go to the documentation of this file.
69 // make CalFromat::fromString(const Calendar::Ptr &calendar, const QString&, const QString&) visible here as well
83 Parses a bytearray, returning the first iCal component as an Incidence, ignoring timezone information.
85 This function is significantly faster than fromString by avoiding the overhead of parsing timezone information.
102 Q_REQUIRED_RESULT bool fromString(RecurrenceRule *rule, const QString &string); // TODO KF7: make this static
110 Q_REQUIRED_RESULT Duration durationFromString(const QString &duration) const; // TODO KF7: make this static
116 Q_REQUIRED_RESULT bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string) override;
177 Q_REQUIRED_RESULT QString createScheduleMessage(const IncidenceBase::Ptr &incidence, iTIPMethod method);
189 ScheduleMessage::Ptr parseScheduleMessage(const Calendar::Ptr &calendar, const QString &string);
This file is part of the API for handling calendar data and defines the CalFormat abstract base class...
An abstract base class that provides an interface to various calendar formats.
Definition calformat.h:39
bool fromString(const Calendar::Ptr &calendar, const QString &string)
Loads a calendar from a string.
Definition calformat.cpp:42
Represents a span of time measured in seconds or days.
Definition duration.h:44
Provides information about the free/busy time of a calendar.
Definition freebusy.h:43
Incidence::Ptr readIncidence(const QByteArray &string)
Parses a bytearray, returning the first iCal component as an Incidence, ignoring timezone information...
Definition icalformat.cpp:137
FreeBusy::Ptr parseFreeBusy(const QString &string)
Converts a QString into a FreeBusy object.
Definition icalformat.cpp:448
QString toString(const Calendar::Ptr &calendar) override
Definition icalformat.cpp:241
QString createScheduleMessage(const IncidenceBase::Ptr &incidence, iTIPMethod method)
Creates a scheduling message string for an Incidence.
Definition icalformat.cpp:402
bool save(const Calendar::Ptr &calendar, const QString &fileName) override
Definition icalformat.cpp:92
Duration durationFromString(const QString &duration) const
Parses a string representation of a duration.
Definition icalformat.cpp:391
QString toICalString(const Incidence::Ptr &incidence)
Converts an Incidence to iCalendar formatted text.
Definition icalformat.cpp:307
QByteArray toRawString(const Incidence::Ptr &incidence)
Converts an Incidence to a QByteArray.
Definition icalformat.cpp:321
bool load(const Calendar::Ptr &calendar, const QString &fileName) override
Definition icalformat.cpp:64
void setTimeZone(const QTimeZone &timeZone)
Sets the iCalendar time zone.
Definition icalformat.cpp:608
ScheduleMessage::Ptr parseScheduleMessage(const Calendar::Ptr &calendar, const QString &string)
Parses a Calendar scheduling message string into ScheduleMessage object.
Definition icalformat.cpp:482
Incidence::Ptr fromString(const QString &string)
Parses a string, returning the first iCal component as an Incidence.
Definition icalformat.cpp:230
QByteArray timeZoneId() const
Returns the timezone id string used by the iCalendar; an empty string if the iCalendar does not have ...
Definition icalformat.cpp:620
bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string) override
Definition icalformat.cpp:174
An abstract class that provides a common base for all calendar incidence classes.
Definition incidencebase.h:99
QSharedPointer< IncidenceBase > Ptr
A shared pointer to an IncidenceBase.
Definition incidencebase.h:113
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition incidence.h:60
This class represents a recurrence rule for a calendar incidence.
Definition recurrencerule.h:32
QSharedPointer< ScheduleMessage > Ptr
A shared pointer to a ScheduleMessage.
Definition schedulemessage.h:59
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 Incidence class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:51:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:51:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.