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 | #include "getjob.h" |
10 | |
11 | #include <QNetworkAccessManager> |
12 | |
13 | #include "platformdependent.h" |
14 | #include <attica_debug.h> |
15 | |
16 | using namespace Attica; |
17 | |
18 | GetJob::GetJob(PlatformDependent *internals, const QNetworkRequest &request) |
19 | : BaseJob(internals) |
20 | , m_request(request) |
21 | { |
22 | } |
23 | |
24 | QNetworkReply *GetJob::executeRequest() |
25 | { |
26 | return internals()->get(request: m_request); |
27 | } |
28 | |
29 | #include "moc_getjob.cpp" |
30 | |