KCal::ICalFormat Class Reference
This class implements the iCalendar format.iCalendar format implementation. More...
#include <icalformat.h>
Inherits KCal::CalFormat.
Public Member Functions
- 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 (Recurrence *)
- bool fromString (Recurrence *, 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 &)
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.
Member Function Documentation
|
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. |
|
Writes out the calendar to disk in iCalendar format. Returns true if successful and false on error.
Implements KCal::CalFormat. |
|
Parse string and populate calendar with that information.
Implements KCal::CalFormat. |
|
Parse string and return first ical component.
|
|
Return calendar information as string.
Implements KCal::CalFormat. |
|
Return incidence as full iCalendar formatted text.
|
|
Return incidence as iCalendar formatted text.
|
|
Return recurrence as iCalendar formatted text.
|
|
Parse string and fill recurrence object with that information.
|
|
Create a scheduling message for event
|
|
Parse scheduling message provided as string
|
|
Parse FREEBUSY object.
|
|
Set id of used time zone and whether this time zone is UTC or not.
|
|
Return id string of timezone used.
|
|
Return true if timezone used is UTC, otherwise return false.
|
|
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. |
The documentation for this class was generated from the following files:
- icalformat.h
- icalformat.cpp