File indexing completed on 2023-10-03 07:01:58

0001 /*
0002     This file is part of KDE.
0003 
0004     SPDX-FileCopyrightText: 2009 Eckhart W├Ârner <ewoerner@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0007 */
0008 
0009 #include "getjob.h"
0010 
0011 #include <QNetworkAccessManager>
0012 
0013 #include "platformdependent.h"
0014 #include <attica_debug.h>
0015 
0016 using namespace Attica;
0017 
0018 GetJob::GetJob(PlatformDependent *internals, const QNetworkRequest &request)
0019     : BaseJob(internals)
0020     , m_request(request)
0021 {
0022 }
0023 
0024 QNetworkReply *GetJob::executeRequest()
0025 {
0026     return internals()->get(m_request);
0027 }
0028 
0029 #include "moc_getjob.cpp"