Kgapi

eventdeletejob.h
1 /*
2  * This file is part of LibKGAPI library
3  *
4  * SPDX-FileCopyrightText: 2013 Daniel Vrátil <[email protected]>
5  *
6  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7  */
8 
9 #ifndef LIBKGAPI2_EVENTDELETEJOB_H
10 #define LIBKGAPI2_EVENTDELETEJOB_H
11 
12 #include "deletejob.h"
13 #include "kgapicalendar_export.h"
14 
15 #include <QScopedPointer>
16 
17 namespace KGAPI2 {
18 
28 class KGAPICALENDAR_EXPORT EventDeleteJob : public KGAPI2::DeleteJob
29 {
30  Q_OBJECT
31 
32  public:
33 
43  explicit EventDeleteJob(const EventPtr &event, const QString &calendarId,
44  const AccountPtr &account, QObject* parent);
45 
55  explicit EventDeleteJob(const EventsList &events, const QString &calendarId,
56  const AccountPtr &account, QObject* parent);
57 
67  explicit EventDeleteJob(const QString &eventId, const QString &calendarId,
68  const AccountPtr &account, QObject* parent);
69 
79  explicit EventDeleteJob(const QStringList &eventIds, const QString &calendarId,
80  const AccountPtr &account, QObject *parent);
81 
85  ~EventDeleteJob() override;
86 
87  protected:
88 
92  void start() override;
93 
100  void handleReply(const QNetworkReply* reply, const QByteArray& rawData) override;
101 
102  private:
103  class Private;
104  QScopedPointer<Private> const d;
105  friend class Private;
106 
107 };
108 
109 } // namespace KGAPI2
110 
111 #endif // LIBKGAPI2_EVENTDELETEJOB_H
A job to fetch a single map tile described by a StaticMapUrl.
Definition: blog.h:16
Abstract superclass for all jobs that delete resources from Google.
Definition: deletejob.h:24
A job to delete one or more events from calendar in user&#39;s Google Calendar account.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Fri Sep 18 2020 23:08:55 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.