2020-08-25 16:05:56 +02:00
|
|
|
/* === This file is part of Calamares - <https://calamares.io> ===
|
2017-10-31 13:26:23 +01:00
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2017-10-31 13:26:23 +01:00
|
|
|
*
|
2020-08-25 16:05:56 +02:00
|
|
|
* Calamares is Free Software: see the License-Identifier above.
|
2017-10-31 13:26:23 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PLASMALNFJOB_H
|
|
|
|
#define PLASMALNFJOB_H
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QVariantMap>
|
|
|
|
|
2020-03-10 02:45:40 +01:00
|
|
|
#include "Job.h"
|
2017-10-31 13:26:23 +01:00
|
|
|
|
2017-12-03 15:26:59 +01:00
|
|
|
class PlasmaLnfJob : public Calamares::Job
|
2017-10-31 13:26:23 +01:00
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
2017-12-03 15:44:29 +01:00
|
|
|
explicit PlasmaLnfJob( const QString& lnfPath, const QString& id );
|
2020-09-22 22:49:30 +02:00
|
|
|
~PlasmaLnfJob() override;
|
2017-10-31 13:26:23 +01:00
|
|
|
|
|
|
|
QString prettyName() const override;
|
|
|
|
|
|
|
|
Calamares::JobResult exec() override;
|
|
|
|
|
|
|
|
private:
|
2017-12-03 15:44:29 +01:00
|
|
|
QString m_lnfPath;
|
2017-12-03 15:26:59 +01:00
|
|
|
QString m_id;
|
2017-10-31 13:26:23 +01:00
|
|
|
};
|
|
|
|
|
2020-08-22 01:19:58 +02:00
|
|
|
#endif // PLASMALNFJOB_H
|