Changeset View
Changeset View
Standalone View
Standalone View
src/calendar/eventcreatejob.h
| Show All 21 Lines | |||||
| 22 | 22 | | |||
| 23 | #ifndef LIBKGAPI2_EVENTCREATEJOB_H | 23 | #ifndef LIBKGAPI2_EVENTCREATEJOB_H | ||
| 24 | #define LIBKGAPI2_EVENTCREATEJOB_H | 24 | #define LIBKGAPI2_EVENTCREATEJOB_H | ||
| 25 | 25 | | |||
| 26 | #include "createjob.h" | 26 | #include "createjob.h" | ||
| 27 | #include "enums.h" | 27 | #include "enums.h" | ||
| 28 | #include "kgapicalendar_export.h" | 28 | #include "kgapicalendar_export.h" | ||
| 29 | 29 | | |||
| 30 | #include <QScopedPointer> | ||||
| 31 | | ||||
| 30 | namespace KGAPI2 { | 32 | namespace KGAPI2 { | ||
| 31 | 33 | | |||
| 32 | /** | 34 | /** | ||
| 33 | * @brief A job to create one or more new events in given calendar | 35 | * @brief A job to create one or more new events in given calendar | ||
| 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 | ||
| 37 | */ | 39 | */ | ||
| ▲ Show 20 Lines • Show All 53 Lines • ▼ Show 20 Line(s) | 84 | protected: | |||
| 91 | * | 93 | * | ||
| 92 | * @param reply | 94 | * @param reply | ||
| 93 | * @param rawData | 95 | * @param rawData | ||
| 94 | */ | 96 | */ | ||
| 95 | ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray& rawData) override; | 97 | ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray& rawData) override; | ||
| 96 | 98 | | |||
| 97 | private: | 99 | private: | ||
| 98 | class Private; | 100 | class Private; | ||
| 99 | Private * const d; | 101 | QScopedPointer<Private> const d; | ||
| 100 | friend class Private; | 102 | friend class Private; | ||
| 101 | 103 | | |||
| 102 | }; | 104 | }; | ||
| 103 | 105 | | |||
| 104 | } // namespace KGAPI2 | 106 | } // namespace KGAPI2 | ||
| 105 | 107 | | |||
| 106 | #endif // LIBKGAPI2_EVENTCREATEJOB_H | 108 | #endif // LIBKGAPI2_EVENTCREATEJOB_H | ||