Changeset View
Changeset View
Standalone View
Standalone View
src/calendar/eventfetchjob.h
| Show All 20 Lines | |||||
| 21 | */ | 21 | */ | ||
| 22 | 22 | | |||
| 23 | #ifndef LIBKGAPI2_EVENTFETCHJOB_H | 23 | #ifndef LIBKGAPI2_EVENTFETCHJOB_H | ||
| 24 | #define LIBKGAPI2_EVENTFETCHJOB_H | 24 | #define LIBKGAPI2_EVENTFETCHJOB_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 all events from given calendar in user's Google | 34 | * @brief A job to fetch all events from given calendar in user's Google | ||
| 33 | * Calendar account. | 35 | * Calendar account. | ||
| 34 | * | 36 | * | ||
| 35 | * @author Daniel Vrátil <dvratil@redhat.com> | 37 | * @author Daniel Vrátil <dvratil@redhat.com> | ||
| 36 | * @since 2.0 | 38 | * @since 2.0 | ||
| ▲ Show 20 Lines • Show All 188 Lines • ▼ Show 20 Line(s) | 217 | protected: | |||
| 225 | * @param reply | 227 | * @param reply | ||
| 226 | * @param rawData | 228 | * @param rawData | ||
| 227 | */ | 229 | */ | ||
| 228 | ObjectsList handleReplyWithItems(const QNetworkReply *reply, | 230 | ObjectsList handleReplyWithItems(const QNetworkReply *reply, | ||
| 229 | const QByteArray& rawData) override; | 231 | const QByteArray& rawData) override; | ||
| 230 | 232 | | |||
| 231 | private: | 233 | private: | ||
| 232 | class Private; | 234 | class Private; | ||
| 233 | Private * const d; | 235 | QScopedPointer<Private> const d; | ||
| 234 | friend class Private; | 236 | friend class Private; | ||
| 235 | 237 | | |||
| 236 | }; | 238 | }; | ||
| 237 | 239 | | |||
| 238 | } // namespace KGAPI2 | 240 | } // namespace KGAPI2 | ||
| 239 | 241 | | |||
| 240 | #endif // LIBKGAPI2_EVENTFETCHJOB_H | 242 | #endif // LIBKGAPI2_EVENTFETCHJOB_H | ||