KCalCore Library
vcalformat.h
Go to the documentation of this file.
This file is part of the API for handling calendar data and defines the Attendee class.
This file is part of the API for handling calendar data and defines the CalFormat abstract base class...
void populate(VObject *vcal, bool deleted=false, const QString ¬ebook=QString())
Takes a vCalendar tree of VObjects, and puts all of them that have the "event" property into the dict...
Definition vcalformat.cpp:2265
bool load(const Calendar::Ptr &calendar, const QString &fileName)
Definition vcalformat.cpp:103
VObject * eventToVTodo(const Todo::Ptr &todo)
Translates a Todo into a VTodo-type VObject and return pointer.
Definition vcalformat.cpp:314
QByteArray writeStatus(Attendee::PartStat status) const
Converts an Attendee::PartStat into a QByteArray string.
Definition vcalformat.cpp:2615
QString qDateToISO(const QDate &date)
Takes a QDate and returns a string in the format YYYYMMDDTHHMMSS.
Definition vcalformat.cpp:2122
QString kDateTimeToISO(const KDateTime &date, bool zulu=true)
Takes a KDateTime and returns a string in format YYYYMMDDTHHMMSS.
Definition vcalformat.cpp:2135
Todo::Ptr VTodoToEvent(VObject *vtodo)
Translates a VObject of the TODO type into an Event.
Definition vcalformat.cpp:1029
bool fromString(const Calendar::Ptr &calendar, const QString &string, bool deleted=false, const QString ¬ebook=QString())
Definition vcalformat.cpp:200
QString parseDst(QByteArray &timezone) const
Parse DAYLIGHT tag from vtimezone.
Definition vcalformat.cpp:2101
Attendee::PartStat readStatus(const char *s) const
Converts a status string into an Attendee::PartStat.
Definition vcalformat.cpp:2583
bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string, bool deleted=false, const QString ¬ebook=QString())
Definition vcalformat.cpp:206
bool parseTZOffsetISO8601(const QString &s, int &result)
Parse one of the myriad of ISO8601 timezone offset formats, e.g.
Definition vcalformat.cpp:2203
virtual void virtual_hook(int id, void *data)
Definition vcalformat.cpp:2680
QString parseTZ(const QByteArray &timezone) const
Parse TZ tag from vtimezone.
Definition vcalformat.cpp:2094
QDate ISOToQDate(const QString &dtStr)
Takes a string in the YYYYMMDD format and returns a valid QDate.
Definition vcalformat.cpp:2192
VObject * eventToVEvent(const Event::Ptr &event)
Translates an Event into a VEvent-type VObject and returns a pointer to it.
Definition vcalformat.cpp:656
Event::Ptr VEventToEvent(VObject *vevent)
Translates a VObject into a Event and returns a pointer to it.
Definition vcalformat.cpp:1518
KDateTime ISOToKDateTime(const QString &dtStr)
Takes a string in YYYYMMDDTHHMMSS format and returns a valid KDateTime.
Definition vcalformat.cpp:2163
QString toString(const Calendar::Ptr &calendar, const QString ¬ebook=QString(), bool deleted=false)
Definition vcalformat.cpp:235
const char * dayFromNum(int day)
Takes a number 0 - 6 and returns the two letter string of that day, i.e.
Definition vcalformat.cpp:2549
int numFromDay(const QString &day)
Converts a two letter representation of the day (i.e.
Definition vcalformat.cpp:2556
bool save(const Calendar::Ptr &calendar, const QString &fileName)
Definition vcalformat.cpp:134
This file is part of the API for handling calendar data and defines the Event class.
This file is part of the API for handling calendar data and defines the Journal class.
This file is part of the API for handling calendar data and defines the Todo class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.