1 | /* |
2 | This file is part of KDE. |
3 | |
4 | SPDX-FileCopyrightText: 2011 Laszlo Papp <djszapi@archlinux.us> |
5 | |
6 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
7 | */ |
8 | |
9 | #ifndef ATTICA_DELETEJOB_H |
10 | #define ATTICA_DELETEJOB_H |
11 | |
12 | #include <QNetworkRequest> |
13 | |
14 | #include "attica_export.h" |
15 | #include "atticabasejob.h" |
16 | |
17 | namespace Attica |
18 | { |
19 | |
20 | /** |
21 | * @class DeleteJob deletejob.h <Attica/DeleteJob> |
22 | * |
23 | * Represents a delete job. |
24 | */ |
25 | class ATTICA_EXPORT DeleteJob : public Attica::BaseJob |
26 | { |
27 | Q_OBJECT |
28 | |
29 | protected: |
30 | DeleteJob(PlatformDependent *internals, const QNetworkRequest &request); |
31 | |
32 | private: |
33 | QNetworkReply *executeRequest() override; |
34 | const QNetworkRequest m_request; |
35 | }; |
36 | |
37 | } |
38 | |
39 | #endif |
40 | |