Changeset View
Changeset View
Standalone View
Standalone View
src/calendar/event.h
| Show All 23 Lines | |||||
| 24 | #define LIBKGAPI2_EVENT_H | 24 | #define LIBKGAPI2_EVENT_H | ||
| 25 | 25 | | |||
| 26 | #include "object.h" | 26 | #include "object.h" | ||
| 27 | #include "types.h" | 27 | #include "types.h" | ||
| 28 | #include "kgapicalendar_export.h" | 28 | #include "kgapicalendar_export.h" | ||
| 29 | 29 | | |||
| 30 | #include <KCalendarCore/Event> | 30 | #include <KCalendarCore/Event> | ||
| 31 | 31 | | |||
| 32 | #include <QScopedPointer> | ||||
| 33 | | ||||
| 32 | namespace KGAPI2 | 34 | namespace KGAPI2 | ||
| 33 | { | 35 | { | ||
| 34 | 36 | | |||
| 35 | /** | 37 | /** | ||
| 36 | * @brief Represents a single event from Google Calendar | 38 | * @brief Represents a single event from Google Calendar | ||
| 37 | * | 39 | * | ||
| 38 | * @author Daniel Vrátil <dvratil@redhat.com> | 40 | * @author Daniel Vrátil <dvratil@redhat.com> | ||
| 39 | * @since 0.1 | 41 | * @since 0.1 | ||
| ▲ Show 20 Lines • Show All 57 Lines • ▼ Show 20 Line(s) | 46 | public: | |||
| 97 | 99 | | |||
| 98 | /** | 100 | /** | ||
| 99 | * @brief Sets event ID used by Google to identify the event in calendar. | 101 | * @brief Sets event ID used by Google to identify the event in calendar. | ||
| 100 | */ | 102 | */ | ||
| 101 | void setId(const QString &id); | 103 | void setId(const QString &id); | ||
| 102 | 104 | | |||
| 103 | private: | 105 | private: | ||
| 104 | class Private; | 106 | class Private; | ||
| 105 | Private * const d; | 107 | QScopedPointer<Private> const d; | ||
| 106 | 108 | | |||
| 107 | }; | 109 | }; | ||
| 108 | 110 | | |||
| 109 | } // namespace KGAPI | 111 | } // namespace KGAPI | ||
| 110 | 112 | | |||
| 111 | #endif // LIBKGAPI2_EVENT_H | 113 | #endif // LIBKGAPI2_EVENT_H | ||