File indexing completed on 2024-05-12 05:22:17

0001 /*
0002  * This file is part of LibKGAPI library
0003  *
0004  * SPDX-FileCopyrightText: 2019 David Barchiesi <david@barchie.si>
0005  *
0006  * SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007  */
0008 
0009 #pragma once
0010 
0011 #include "deletejob.h"
0012 #include "kgapidrive_export.h"
0013 
0014 namespace KGAPI2
0015 {
0016 
0017 namespace Drive
0018 {
0019 
0020 class KGAPIDRIVE_EXPORT DrivesDeleteJob : public KGAPI2::DeleteJob
0021 {
0022     Q_OBJECT
0023 
0024 public:
0025     DrivesDeleteJob(const QString &drivesId, const AccountPtr &account, QObject *parent = nullptr);
0026     DrivesDeleteJob(const QStringList &drivesIds, const AccountPtr &account, QObject *parent = nullptr);
0027     DrivesDeleteJob(const DrivesPtr &drives, const AccountPtr &account, QObject *parent = nullptr);
0028     DrivesDeleteJob(const DrivesList &drives, const AccountPtr &account, QObject *parent = nullptr);
0029     ~DrivesDeleteJob() override;
0030 
0031 protected:
0032     void start() override;
0033 
0034 private:
0035     class Private;
0036     QScopedPointer<Private> d;
0037     friend class Private;
0038 };
0039 
0040 } // namespace Drive
0041 
0042 } // namespace KGAPI2