33 #ifndef KCALCORE_ICALFORMAT_P_H
34 #define KCALCORE_ICALFORMAT_P_H
43 #include "schedulemessage.h"
71 #define _ICAL_VERSION "2.0"
77 #define _ICAL_IMPLEMENTATION_VERSION "1.0"
109 bool deleted =
false,
const QString ¬ebook = QString());
128 void writeIncidence(icalcomponent *parent,
const Incidence::Ptr &incidence,
131 icalproperty *writeDescription(
const QString &description,
bool isRich =
false);
132 icalproperty *writeSummary(
const QString &summary,
bool isRich =
false);
133 icalproperty *writeLocation(
const QString &location,
bool isRich =
false);
135 icalproperty *writeOrganizer(
const Person::Ptr &organizer);
137 icalproperty *writeRecurrenceRule(
Recurrence *);
139 icalcomponent *writeAlarm(
const Alarm::Ptr &alarm);
141 QString extractErrorProperty(icalcomponent *);
147 Person::Ptr readOrganizer(icalproperty *organizer);
149 void readIncidence(icalcomponent *parent,
Incidence::Ptr incidence,
151 void readRecurrenceRule(icalproperty *rrule,
Incidence::Ptr event);
152 void readExceptionRule(icalproperty *rrule,
Incidence::Ptr incidence);
153 void readRecurrence(
const struct icalrecurrencetype &r,
163 static icaltimetype writeICalDate(
const QDate &);
165 static QDate readICalDate(icaltimetype);
167 static icaltimetype writeICalDateTime(
const KDateTime &);
169 static icaltimetype writeICalUtcDateTime(
const KDateTime &);
244 static icaldurationtype writeICalDuration(
const Duration &duration);
246 static Duration readICalDuration(icaldurationtype d);
248 static icaldatetimeperiodtype writeICalDatePeriod(
const QDate &date);