libkcal
KCal::ICalFormat Class Reference
#include <icalformat.h>
Inheritance diagram for KCal::ICalFormat:

Detailed Description
This class implements the iCalendar format.iCalendar format implementation.It provides methods for loading/saving/converting iCalendar format data into the internal KOrganizer representation as Calendar and Events.
Definition at line 43 of file icalformat.h.
Public Member Functions | |
ICalFormat () | |
virtual | ~ICalFormat () |
bool | load (Calendar *calendar, const QString &fileName) |
bool | save (Calendar *calendar, const QString &fileName) |
bool | fromString (Calendar *calendar, const QString &) |
Incidence * | fromString (const QString &) |
QString | toString (Calendar *) |
QString | toICalString (Incidence *) |
QString | toString (Incidence *) |
QString | toString (RecurrenceRule *) |
bool | fromString (RecurrenceRule *, const QString &) |
QString | createScheduleMessage (IncidenceBase *e, Scheduler::Method m) |
ScheduleMessage * | parseScheduleMessage (Calendar *, const QString &s) |
FreeBusy * | parseFreeBusy (const QString &) |
void | setTimeZone (const QString &id, bool utc) |
QString | timeZoneId () const |
bool | utc () const |
Protected Member Functions | |
bool | fromRawString (Calendar *calendar, const QCString &) |
void | setImplementation (ICalFormatImpl *impl) |
Member Function Documentation
|
Create a scheduling message for event
Definition at line 321 of file icalformat.cpp. |
|
Parse string and return first ical component of a raw byte array of a utf8 encoded string. This is an overload used for efficiency reading to avoid utf8 conversions, which are expensive, when reading from disk. Definition at line 142 of file icalformat.cpp. |
|
Parse string and fill recurrence object with that information.
Definition at line 302 of file icalformat.cpp. |
|
Parse string and return first ical component.
Definition at line 197 of file icalformat.cpp. |
|
Parse string and populate calendar with that information.
Implements KCal::CalFormat. Definition at line 137 of file icalformat.cpp. |
|
Loads a calendar on disk in iCalendar format into calendar. Returns true if successful, else returns false. Provides more error information by exception().
Implements KCal::CalFormat. Definition at line 78 of file icalformat.cpp. |
|
Parse FREEBUSY object.
Definition at line 358 of file icalformat.cpp. |
|
Parse scheduling message provided as string
Definition at line 388 of file icalformat.cpp. |
|
Writes out the calendar to disk in iCalendar format. Returns true if successful and false on error.
Implements KCal::CalFormat. Definition at line 102 of file icalformat.cpp. |
|
Set id of used time zone and whether this time zone is UTC or not.
Definition at line 563 of file icalformat.cpp. |
|
Return id string of timezone used.
Definition at line 569 of file icalformat.cpp. |
|
Return incidence as full iCalendar formatted text.
Definition at line 273 of file icalformat.cpp. |
|
Return recurrence rule as iCalendar formatted text.
Definition at line 293 of file icalformat.cpp. |
|
Return incidence as iCalendar formatted text.
Definition at line 280 of file icalformat.cpp. |
|
Return calendar information as string.
Implements KCal::CalFormat. Definition at line 221 of file icalformat.cpp. |
|
Return true if timezone used is UTC, otherwise return false.
Definition at line 574 of file icalformat.cpp. |
The documentation for this class was generated from the following files: