calamares/src/modules/notesqml/NotesQmlViewStep.h

38 lines
1009 B
C
Raw Normal View History

/* === 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
*
*/
#ifndef NOTESQMLVIEWSTEP_H
#define NOTESQMLVIEWSTEP_H
#include "DllMacro.h"
#include "locale/TranslatableConfiguration.h"
#include "utils/CalamaresUtilsSystem.h"
#include "utils/PluginFactory.h"
2020-08-22 01:19:58 +02:00
#include "utils/Variant.h"
#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
void setConfigurationMap( const QVariantMap& configurationMap ) override;
private:
CalamaresUtils::Locale::TranslatedString* m_notesName; // As it appears in the sidebar
};
CALAMARES_PLUGIN_FACTORY_DECLARATION( NotesQmlViewStepFactory )
#endif