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 Attica::DeleteJob |
22 | * \inheaderfile Attica/DeleteJob |
23 | * \inmodule Attica |
24 | * |
25 | * \brief Represents a delete job. |
26 | */ |
27 | class ATTICA_EXPORT DeleteJob : public Attica::BaseJob |
28 | { |
29 | Q_OBJECT |
30 | |
31 | protected: |
32 | DeleteJob(PlatformDependent *internals, const QNetworkRequest &request); |
33 | |
34 | private: |
35 | QNetworkReply *executeRequest() override; |
36 | const QNetworkRequest m_request; |
37 | }; |
38 | |
39 | } |
40 | |
41 | #endif |
42 | |