KCal::VCalFormat Class Reference
This class implements the vCalendar format.vCalendar format implementation. More...
#include <vcalformat.h>
Inherits KCal::CalFormat.
Public Member Functions
- bool load (Calendar *calendar, const QString &fileName)
- bool save (Calendar *calendar, const QString &fileName)
- bool fromString (Calendar *, const QString &)
- QString toString (Calendar *)
Protected Member Functions
- Todo * VTodoToEvent (VObject *vtodo)
- Event * VEventToEvent (VObject *vevent)
- VObject * eventToVTodo (const Todo *anEvent)
- VObject * eventToVEvent (const Event *anEvent)
- QString qDateToISO (const QDate &)
- QString qDateTimeToISO (const QDateTime &, bool zulu=TRUE)
- QDateTime ISOToQDateTime (const QString &dtStr)
- QDate ISOToQDate (const QString &dtStr)
- void populate (VObject *vcal)
- const char * dayFromNum (int day)
- int numFromDay (const QString &day)
- Attendee::PartStat readStatus (const char *s) const
- QCString writeStatus (Attendee::PartStat status) const
Detailed Description
This class implements the vCalendar format.vCalendar format implementation.It provides methods for loading/saving/converting vCalendar format data into the internal KOrganizer representation as Calendar and Events.
Member Function Documentation
|
Loads a calendar on disk in vCalendar format into the given calendar.
Implements KCal::CalFormat. |
|
Writes out the given calendar to disk in vCalendar format.
Implements KCal::CalFormat. |
|
Parse string and populate calendar with that information.
Implements KCal::CalFormat. |
|
Return calendar information as string.
Implements KCal::CalFormat. |
|
translates a VObject of the TODO type into a Event
|
|
translates a VObject into a Event and returns a pointer to it.
|
|
translate a Event into a VTodo-type VObject and return pointer
|
|
translate a Event into a VObject and returns a pointer to it.
|
|
takes a QDate and returns a string in the format YYYYMMDDTHHMMSS
|
|
takes a QDateTime and returns a string in format YYYYMMDDTHHMMSS
|
|
takes a string in the format YYYYMMDDTHHMMSS and returns a valid QDateTime.
|
|
takes a string in the format YYYYMMDD and returns a valid QDate.
|
|
takes a vCalendar tree of VObjects, and puts all of them that have the "event" property into the dictionary, todos in the todo-list, etc.
|
|
takes a number 0 - 6 and returns the two letter string of that day, i.e. MO, TU, WE, etc. |
|
the reverse of the above function.
|
The documentation for this class was generated from the following files:
- vcalformat.h
- vcalformat.cpp