21 #ifndef KCALCORE_ICALTIMEZONES_H
22 #define KCALCORE_ICALTIMEZONES_H
24 #include "kcalcore_export.h"
26 #include <KDE/KTimeZone>
28 #include <QtCore/QMap>
30 #ifndef ICALCOMPONENT_H
31 typedef struct icalcomponent_impl icalcomponent;
33 #ifndef ICALTIMEZONE_DEFINED
34 #define ICALTIMEZONE_DEFINED
35 typedef struct _icaltimezone icaltimezone;
41 class ICalTimeZoneSource;
42 class ICalTimeZoneData;
43 class ICalTimeZonesPrivate;
44 class ICalTimeZonePrivate;
45 class ICalTimeZoneSourcePrivate;
46 class ICalTimeZoneDataPrivate;
114 typedef QMap<QString, ICalTimeZone> ZoneMap;
121 const ZoneMap zones()
const;
163 ICalTimeZonesPrivate *
const d;
203 explicit ICalTimeZone(
const KTimeZone &tz,
const QDate &earliest = QDate());
216 QString city()
const;
223 QByteArray url()
const;
230 QDateTime lastModified()
const;
237 QByteArray vtimezone()
const;
246 icaltimezone *icalTimezone()
const;
279 virtual void virtual_hook(
int id,
void *data);
315 const QString &countryCode = QString(),
316 float latitude = KTimeZone::UNKNOWN,
317 float longitude = KTimeZone::UNKNOWN,
318 const QString &comment = QString());
334 virtual KTimeZoneBackend *clone()
const;
341 virtual QByteArray type()
const;
351 virtual bool hasTransitions(
const KTimeZone *caller)
const;
358 virtual void virtual_hook(
int id,
void *data);
362 ICalTimeZonePrivate *d;
381 qint16 wMilliseconds;
384 typedef struct _MSTimeZone {
386 QString StandardName;
389 QString DaylightName;
485 ICalTimeZone parse(
const QString &name,
const QStringList &tzList);
527 ICalTimeZone standardZone(
const QString &zone,
bool icalBuiltIn =
false);
537 static QByteArray icalTzidPrefix();
539 using KTimeZoneSource::parse;
546 virtual void virtual_hook(
int id,
void *data);
550 ICalTimeZoneSourcePrivate *
const d;
592 ICalTimeZoneData(
const KTimeZoneData &rhs,
const KTimeZone &tz,
const QDate &earliest);
613 virtual KTimeZoneData *clone()
const;
621 QString city()
const;
628 QByteArray url()
const;
635 QDateTime lastModified()
const;
642 QByteArray vtimezone()
const;
651 icaltimezone *icalTimezone()
const;
658 virtual bool hasTransitions()
const;
665 virtual void virtual_hook(
int id,
void *data);
669 ICalTimeZoneDataPrivate *
const d;
A class which reads and parses iCalendar VTIMEZONE components, and accesses libical time zone data...
struct KCalCore::_MSSystemTime MSSystemTime
Placeholhers for Microsoft and ActiveSync timezone data.
Parsed iCalendar VTIMEZONE data.
Backend class for KICalTimeZone class.
The ICalTimeZones class represents a time zone database which consists of a collection of individual ...
The ICalTimeZone class represents an iCalendar VTIMEZONE component.
Placeholhers for Microsoft and ActiveSync timezone data.