Changeset View
Changeset View
Standalone View
Standalone View
src/calendar/calendardeletejob.h
| Show All 19 Lines | |||||
| 20 | * License along with this library. If not, see <https://www.gnu.org/licenses/>. | 20 | * License along with this library. If not, see <https://www.gnu.org/licenses/>. | ||
| 21 | */ | 21 | */ | ||
| 22 | #ifndef LIBKGAPI2_CALENDARDELETEJOB_H | 22 | #ifndef LIBKGAPI2_CALENDARDELETEJOB_H | ||
| 23 | #define LIBKGAPI2_CALENDARDELETEJOB_H | 23 | #define LIBKGAPI2_CALENDARDELETEJOB_H | ||
| 24 | 24 | | |||
| 25 | #include "deletejob.h" | 25 | #include "deletejob.h" | ||
| 26 | #include "kgapicalendar_export.h" | 26 | #include "kgapicalendar_export.h" | ||
| 27 | 27 | | |||
| 28 | #include <QScopedPointer> | ||||
| 29 | | ||||
| 28 | namespace KGAPI2 { | 30 | namespace KGAPI2 { | ||
| 29 | 31 | | |||
| 30 | /** | 32 | /** | ||
| 31 | * @brief A job to delete one or more calendars from user's Google Calendar | 33 | * @brief A job to delete one or more calendars from user's Google Calendar | ||
| 32 | * account. | 34 | * account. | ||
| 33 | * | 35 | * | ||
| 34 | * Note that all events in these calendars will be removed too. All operations | 36 | * Note that all events in these calendars will be removed too. All operations | ||
| 35 | * are irreversible. | 37 | * are irreversible. | ||
| ▲ Show 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 97 | protected: | |||
| 103 | * @brief KGAPI2::Job::handleReply implementation | 105 | * @brief KGAPI2::Job::handleReply implementation | ||
| 104 | * | 106 | * | ||
| 105 | * @param reply | 107 | * @param reply | ||
| 106 | * @param rawData | 108 | * @param rawData | ||
| 107 | */ | 109 | */ | ||
| 108 | void handleReply(const QNetworkReply* reply, const QByteArray& rawData) override; | 110 | void handleReply(const QNetworkReply* reply, const QByteArray& rawData) override; | ||
| 109 | private: | 111 | private: | ||
| 110 | class Private; | 112 | class Private; | ||
| 111 | Private * const d; | 113 | QScopedPointer<Private> const d; | ||
| 112 | friend class Private; | 114 | friend class Private; | ||
| 113 | 115 | | |||
| 114 | }; | 116 | }; | ||
| 115 | 117 | | |||
| 116 | } // namespace KGAPI2 | 118 | } // namespace KGAPI2 | ||
| 117 | 119 | | |||
| 118 | #endif // LIBKGAPI2_CALENDARDELETEJOB_H | 120 | #endif // LIBKGAPI2_CALENDARDELETEJOB_H | ||