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);
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Fri Jan 17 2014 22:11:59 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.