KCalCore Library
Go to the documentation of this file.
38 #ifndef KCALCORE_VCALFORMAT_H
39 #define KCALCORE_VCALFORMAT_H
41 #include "kcalcore_export.h"
54 #define _VCAL_VERSION "1.0"
86 bool load(
const Calendar::Ptr &calendar,
const QString &fileName);
92 bool save(
const Calendar::Ptr &calendar,
const QString &fileName);
98 bool fromString(
const Calendar::Ptr &calendar,
const QString &
string,
99 bool deleted =
false,
const QString ¬ebook = QString());
105 QString toString(
const Calendar::Ptr &calendar,
const QString ¬ebook = QString(),
106 bool deleted =
false);
112 bool fromRawString(
const Calendar::Ptr &calendar,
const QByteArray &
string,
113 bool deleted =
false,
const QString ¬ebook = QString());
132 VObject *eventToVEvent(
const Event::Ptr &event);
137 QString parseTZ(
const QByteArray &timezone)
const;
142 QString parseDst(QByteArray &timezone)
const;
148 VObject *eventToVTodo(
const Todo::Ptr &todo);
154 QString qDateToISO(
const QDate &date);
161 QString kDateTimeToISO(
const KDateTime &date,
bool zulu =
true);
168 KDateTime ISOToKDateTime(
const QString &dtStr);
175 QDate ISOToQDate(
const QString &dtStr);
187 bool parseTZOffsetISO8601(
const QString &s,
int &result);
193 void populate(VObject *vcal,
bool deleted =
false,
const QString ¬ebook = QString());
202 const char *dayFromNum(
int day);
210 int numFromDay(
const QString &day);
237 virtual void virtual_hook(
int id,
void *data);
QSharedPointer< Incidence > Ptr
A shared pointer to an Incidence.
This file is part of the API for handling calendar data and defines the Attendee class.
QSharedPointer< Todo > Ptr
A shared pointer to a Todo object.
QSharedPointer< Event > Ptr
A shared pointer to an Event object.
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.
QSharedPointer< Calendar > Ptr
A shared pointer to a Calendar.
PartStat
The different types of participant status.
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-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:50:26 by
doxygen 1.8.20 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.