File indexing completed on 2024-07-21 12:05:01

0001 /*
0002     This file is part of KDE.
0003 
0004     SPDX-FileCopyrightText: 2011 Laszlo Papp <djszapi@archlinux.us>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #ifndef ATTICA_DELETEJOB_H
0010 #define ATTICA_DELETEJOB_H
0011 
0012 #include <QNetworkRequest>
0013 
0014 #include "attica_export.h"
0015 #include "atticabasejob.h"
0016 
0017 namespace Attica
0018 {
0019 
0020 /**
0021  * @class DeleteJob deletejob.h <Attica/DeleteJob>
0022  *
0023  * Represents a delete job.
0024  */
0025 class ATTICA_EXPORT DeleteJob : public Attica::BaseJob
0026 {
0027     Q_OBJECT
0028 
0029 protected:
0030     DeleteJob(PlatformDependent *internals, const QNetworkRequest &request);
0031 
0032 private:
0033     QNetworkReply *executeRequest() override;
0034     const QNetworkRequest m_request;
0035 };
0036 
0037 }
0038 
0039 #endif