Kgapi

drivesdeletejob.h
1/*
2 * This file is part of LibKGAPI library
3 *
4 * SPDX-FileCopyrightText: 2019 David Barchiesi <david@barchie.si>
5 *
6 * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
7 */
8
9#pragma once
10
11#include "deletejob.h"
12#include "kgapidrive_export.h"
13
14namespace KGAPI2
15{
16
17namespace Drive
18{
19
20class KGAPIDRIVE_EXPORT DrivesDeleteJob : public KGAPI2::DeleteJob
21{
22 Q_OBJECT
23
24public:
25 DrivesDeleteJob(const QString &drivesId, const AccountPtr &account, QObject *parent = nullptr);
26 DrivesDeleteJob(const QStringList &drivesIds, const AccountPtr &account, QObject *parent = nullptr);
27 DrivesDeleteJob(const DrivesPtr &drives, const AccountPtr &account, QObject *parent = nullptr);
28 DrivesDeleteJob(const DrivesList &drives, const AccountPtr &account, QObject *parent = nullptr);
29 ~DrivesDeleteJob() override;
30
31protected:
32 void start() override;
33
34private:
35 class Private;
37 friend class Private;
38};
39
40} // namespace Drive
41
42} // namespace KGAPI2
Abstract superclass for all jobs that delete resources from Google.
Definition deletejob.h:25
Q_SCRIPTABLE Q_NOREPLY void start()
A job to fetch a single map tile described by a StaticMapUrl.
Definition blog.h:16
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 22 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.