2020-08-25 16:05:56 +02:00
|
|
|
/* === This file is part of Calamares - <https://calamares.io> ===
|
2020-03-03 14:22:59 +01:00
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2020-03-03 14:22:59 +01:00
|
|
|
*
|
2020-08-25 16:05:56 +02:00
|
|
|
* Calamares is Free Software: see the License-Identifier above.
|
2020-03-03 14:22:59 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef REMOVEUSERJOB_H
|
|
|
|
#define REMOVEUSERJOB_H
|
|
|
|
|
|
|
|
#include "CppJob.h"
|
|
|
|
#include "DllMacro.h"
|
|
|
|
#include "utils/PluginFactory.h"
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
#include <QVariantMap>
|
|
|
|
|
|
|
|
class PLUGINDLLEXPORT RemoveUserJob : public Calamares::CppJob
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit RemoveUserJob( QObject* parent = nullptr );
|
2020-09-22 22:49:30 +02:00
|
|
|
~RemoveUserJob() override;
|
2020-03-03 14:22:59 +01:00
|
|
|
|
|
|
|
QString prettyName() const override;
|
|
|
|
|
|
|
|
Calamares::JobResult exec() override;
|
|
|
|
|
|
|
|
void setConfigurationMap( const QVariantMap& configurationMap ) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
QString m_username;
|
|
|
|
};
|
|
|
|
|
|
|
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( RemoveUserJobFactory )
|
|
|
|
|
|
|
|
#endif // REMOVEUSERJOB_H
|