Changeset View
Changeset View
Standalone View
Standalone View
src/calendar/calendar.h
| Show All 22 Lines | |||||
| 23 | #ifndef LIBKGAPI2_CALENDAR_H | 23 | #ifndef LIBKGAPI2_CALENDAR_H | ||
| 24 | #define LIBKGAPI2_CALENDAR_H | 24 | #define LIBKGAPI2_CALENDAR_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 <QColor> | 30 | #include <QColor> | ||
| 31 | #include <QScopedPointer> | ||||
| 31 | 32 | | |||
| 32 | namespace KGAPI2 | 33 | namespace KGAPI2 | ||
| 33 | { | 34 | { | ||
| 34 | 35 | | |||
| 35 | /** | 36 | /** | ||
| 36 | * @brief An object that represents a Google calendar. | 37 | * @brief An object that represents a Google calendar. | ||
| 37 | * | 38 | * | ||
| 38 | * @author Daniel Vrátil <dvratil@redhat.com> | 39 | * @author Daniel Vrátil <dvratil@redhat.com> | ||
| ▲ Show 20 Lines • Show All 140 Lines • ▼ Show 20 Line(s) | 45 | public: | |||
| 179 | * @param color | 180 | * @param color | ||
| 180 | * | 181 | * | ||
| 181 | * @since 2.1 | 182 | * @since 2.1 | ||
| 182 | */ | 183 | */ | ||
| 183 | void setForegroundColor(const QColor &color); | 184 | void setForegroundColor(const QColor &color); | ||
| 184 | 185 | | |||
| 185 | protected: | 186 | protected: | ||
| 186 | class Private; | 187 | class Private; | ||
| 187 | Private * const d; | 188 | QScopedPointer<Private> const d; | ||
| 188 | 189 | | |||
| 189 | }; | 190 | }; | ||
| 190 | 191 | | |||
| 191 | } // namespace KGAPI2 | 192 | } // namespace KGAPI2 | ||
| 192 | 193 | | |||
| 193 | #endif // LIBKGAPI2_CALENDAR_H | 194 | #endif // LIBKGAPI2_CALENDAR_H | ||