2020-02-09 01:03:52 +01:00
|
|
|
/* === This file is part of Calamares - <https://github.com/calamares> ===
|
|
|
|
*
|
2020-08-22 01:19:58 +02:00
|
|
|
* SPDX-FileCopyrightText: 2020 Adriaan de Groot <groot@kde.org>
|
|
|
|
* SPDX-FileCopyrightText: 2020 Anke Boersma <demm@kaosx.us>
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
2020-02-09 01:03:52 +01:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef NOTESQMLVIEWSTEP_H
|
|
|
|
#define NOTESQMLVIEWSTEP_H
|
|
|
|
|
2020-02-17 11:37:35 +01:00
|
|
|
#include "DllMacro.h"
|
2020-02-09 01:03:52 +01:00
|
|
|
#include "locale/TranslatableConfiguration.h"
|
|
|
|
#include "utils/CalamaresUtilsSystem.h"
|
|
|
|
#include "utils/PluginFactory.h"
|
2020-08-22 01:19:58 +02:00
|
|
|
#include "utils/Variant.h"
|
2020-02-09 01:03:52 +01:00
|
|
|
#include "viewpages/QmlViewStep.h"
|
|
|
|
|
|
|
|
class PLUGINDLLEXPORT NotesQmlViewStep : public Calamares::QmlViewStep
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
NotesQmlViewStep( QObject* parent = nullptr );
|
|
|
|
virtual ~NotesQmlViewStep() override;
|
|
|
|
|
|
|
|
QString prettyName() const override;
|
2020-08-22 01:19:58 +02:00
|
|
|
|
2020-02-09 01:03:52 +01:00
|
|
|
void setConfigurationMap( const QVariantMap& configurationMap ) override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
CalamaresUtils::Locale::TranslatedString* m_notesName; // As it appears in the sidebar
|
|
|
|
};
|
|
|
|
|
|
|
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( NotesQmlViewStepFactory )
|
|
|
|
|
|
|
|
#endif
|