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