File indexing completed on 2024-04-21 14:52:17

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 #ifndef ATTICA_GETJOB_H
0010 #define ATTICA_GETJOB_H
0011 
0012 #include <QNetworkRequest>
0013 
0014 #include "attica_export.h"
0015 #include "atticabasejob.h"
0016 
0017 namespace Attica
0018 {
0019 
0020 /**
0021  * @class GetJob getjob.h <Attica/GetJob>
0022  *
0023  * Represents a get job.
0024  */
0025 class ATTICA_EXPORT GetJob : public Attica::BaseJob
0026 {
0027     Q_OBJECT
0028 
0029 protected:
0030     GetJob(PlatformDependent *internals, const QNetworkRequest &request);
0031 
0032 private:
0033     QNetworkReply *executeRequest() override;
0034     const QNetworkRequest m_request;
0035 };
0036 
0037 }
0038 
0039 #endif