Changeset View
Changeset View
Standalone View
Standalone View
src/calendar/calendarfetchjob.h
| Show All 20 Lines | |||||
| 21 | */ | 21 | */ | ||
| 22 | 22 | | |||
| 23 | #ifndef LIBKGAPI2_CALENDARFETCHJOB_H | 23 | #ifndef LIBKGAPI2_CALENDARFETCHJOB_H | ||
| 24 | #define LIBKGAPI2_CALENDARFETCHJOB_H | 24 | #define LIBKGAPI2_CALENDARFETCHJOB_H | ||
| 25 | 25 | | |||
| 26 | #include "fetchjob.h" | 26 | #include "fetchjob.h" | ||
| 27 | #include "kgapicalendar_export.h" | 27 | #include "kgapicalendar_export.h" | ||
| 28 | 28 | | |||
| 29 | #include <QScopedPointer> | ||||
| 30 | | ||||
| 29 | namespace KGAPI2 { | 31 | namespace KGAPI2 { | ||
| 30 | 32 | | |||
| 31 | /** | 33 | /** | ||
| 32 | * @brief A job to fetch calendars from user's Google Calendar account. | 34 | * @brief A job to fetch calendars from user's Google Calendar account. | ||
| 33 | * | 35 | * | ||
| 34 | * @author Daniel Vrátil <dvratil@redhat.com> | 36 | * @author Daniel Vrátil <dvratil@redhat.com> | ||
| 35 | * @since 2.0 | 37 | * @since 2.0 | ||
| 36 | */ | 38 | */ | ||
| ▲ Show 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 70 | protected: | |||
| 78 | * @param reply | 80 | * @param reply | ||
| 79 | * @param rawData | 81 | * @param rawData | ||
| 80 | */ | 82 | */ | ||
| 81 | ObjectsList handleReplyWithItems(const QNetworkReply *reply, | 83 | ObjectsList handleReplyWithItems(const QNetworkReply *reply, | ||
| 82 | const QByteArray& rawData) override; | 84 | const QByteArray& rawData) override; | ||
| 83 | 85 | | |||
| 84 | private: | 86 | private: | ||
| 85 | class Private; | 87 | class Private; | ||
| 86 | Private * const d; | 88 | QScopedPointer<Private> const d; | ||
| 87 | friend class Private; | 89 | friend class Private; | ||
| 88 | 90 | | |||
| 89 | }; | 91 | }; | ||
| 90 | 92 | | |||
| 91 | } // namespace KGAPI2 | 93 | } // namespace KGAPI2 | ||
| 92 | 94 | | |||
| 93 | #endif // LIBKGAPI2_CALENDARFETCHJOB_H | 95 | #endif // LIBKGAPI2_CALENDARFETCHJOB_H | ||