Changeset View
Changeset View
Standalone View
Standalone View
src/icaltimezones_p.h
Show All 30 Lines | |||||
31 | #ifndef ICALCOMPONENT_H | 31 | #ifndef ICALCOMPONENT_H | ||
32 | typedef struct icalcomponent_impl icalcomponent; | 32 | typedef struct icalcomponent_impl icalcomponent; | ||
33 | #endif | 33 | #endif | ||
34 | #ifndef ICALTIMEZONE_DEFINED | 34 | #ifndef ICALTIMEZONE_DEFINED | ||
35 | #define ICALTIMEZONE_DEFINED | 35 | #define ICALTIMEZONE_DEFINED | ||
36 | typedef struct _icaltimezone icaltimezone; | 36 | typedef struct _icaltimezone icaltimezone; | ||
37 | #endif | 37 | #endif | ||
38 | 38 | | |||
39 | namespace KCalCore | 39 | namespace KCalendarCore | ||
40 | { | 40 | { | ||
41 | 41 | | |||
42 | class ICalTimeZonePhase; | 42 | class ICalTimeZonePhase; | ||
43 | 43 | | |||
44 | class ICalTimeZonePhase | 44 | class ICalTimeZonePhase | ||
45 | { | 45 | { | ||
46 | public: | 46 | public: | ||
47 | void dump(); | 47 | void dump(); | ||
▲ Show 20 Lines • Show All 50 Lines • ▼ Show 20 Line(s) | 95 | private: | |||
98 | 98 | | |||
99 | ICalTimeZone parseTimeZone(icalcomponent *zone); | 99 | ICalTimeZone parseTimeZone(icalcomponent *zone); | ||
100 | bool parsePhase(icalcomponent *c, bool daylight, ICalTimeZonePhase &phase); | 100 | bool parsePhase(icalcomponent *c, bool daylight, ICalTimeZonePhase &phase); | ||
101 | QTimeZone resolveICalTimeZone(const ICalTimeZone &icalZone); | 101 | QTimeZone resolveICalTimeZone(const ICalTimeZone &icalZone); | ||
102 | 102 | | |||
103 | ICalTimeZoneCache *mCache; | 103 | ICalTimeZoneCache *mCache; | ||
104 | }; | 104 | }; | ||
105 | 105 | | |||
106 | } // namespace KCalCore | 106 | } // namespace KCalendarCore | ||
107 | 107 | | |||
108 | inline uint qHash(const QTimeZone &tz) | 108 | inline uint qHash(const QTimeZone &tz) | ||
109 | { | 109 | { | ||
110 | return qHash(tz.id()); | 110 | return qHash(tz.id()); | ||
111 | } | 111 | } | ||
112 | 112 | | |||
113 | #endif | 113 | #endif |