KCalendarCore
vcalformat.h
Go to the documentation of this file.
95 Q_REQUIRED_RESULT bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string) override;
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...
An abstract base class that provides an interface to various calendar formats.
Definition calformat.h:39
QString qDateTimeToISO(const QDateTime &date, bool zulu=true)
Takes a QDateTime and returns a string in format YYYYMMDDTHHMMSS.
Definition vcalformat.cpp:1192
QDateTime ISOToQDateTime(const QString &dtStr)
Takes a string in YYYYMMDDTHHMMSS format and returns a valid QDateTime.
Definition vcalformat.cpp:1218
QByteArray writeStatus(Attendee::PartStat status) const
Converts an Attendee::PartStat into a QByteArray string.
Definition vcalformat.cpp:1608
QString qDateToISO(const QDate &date)
Takes a QDate and returns a string in the format YYYYMMDDTHHMMSS.
Definition vcalformat.cpp:1183
Todo::Ptr VTodoToEvent(VObject *vtodo)
Translates a VObject of the TODO type into an Event.
Definition vcalformat.cpp:166
void populate(VObject *vcal)
Takes a vCalendar tree of VObjects, and puts all of them that have the "event" property into the dict...
Definition vcalformat.cpp:1320
QString parseDst(QByteArray &timezone) const
Parse DAYLIGHT tag from vtimezone.
Definition vcalformat.cpp:1162
Attendee::PartStat readStatus(const char *s) const
Converts a status string into an Attendee::PartStat.
Definition vcalformat.cpp:1576
bool load(const Calendar::Ptr &calendar, const QString &fileName) override
Definition vcalformat.cpp:89
bool parseTZOffsetISO8601(const QString &s, int &result)
Parse one of the myriad of ISO8601 timezone offset formats, e.g.
Definition vcalformat.cpp:1258
QString parseTZ(const QByteArray &timezone) const
Parse TZ tag from vtimezone.
Definition vcalformat.cpp:1155
QDate ISOToQDate(const QString &dtStr)
Takes a string in the YYYYMMDD format and returns a valid QDate.
Definition vcalformat.cpp:1247
Event::Ptr VEventToEvent(VObject *vevent)
Translates a VObject into a Event and returns a pointer to it.
Definition vcalformat.cpp:625
QString toString(const Calendar::Ptr &calendar) override
Definition vcalformat.cpp:158
bool save(const Calendar::Ptr &calendar, const QString &fileName) override
Definition vcalformat.cpp:121
bool fromRawString(const Calendar::Ptr &calendar, const QByteArray &string) override
Definition vcalformat.cpp:129
int numFromDay(const QString &day)
Converts a two letter representation of the day (i.e.
Definition vcalformat.cpp:1549
This file is part of the API for handling calendar data and defines the Event class.
Q_SCRIPTABLE CaptureState status()
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 24 2025 11:53:54 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:54 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.