calamares/src/modules/keyboard/KeyboardViewStep.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

57 lines
1.3 KiB
C
Raw Normal View History

/* === This file is part of Calamares - <https://calamares.io> ===
*
2020-08-22 01:19:58 +02:00
* SPDX-FileCopyrightText: 2014-2015 Teo Mrnjavac <teo@kde.org>
* SPDX-FileCopyrightText: 2017 Adriaan de Groot <groot@kde.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*
* Calamares is Free Software: see the License-Identifier above.
*
*/
#ifndef KEYBOARDVIEWSTEP_H
#define KEYBOARDVIEWSTEP_H
#include "DllMacro.h"
#include "utils/PluginFactory.h"
#include "viewpages/ViewStep.h"
2015-09-09 18:52:24 +02:00
#include <QObject>
class Config;
class KeyboardPage;
class PLUGINDLLEXPORT KeyboardViewStep : public Calamares::ViewStep
{
Q_OBJECT
public:
explicit KeyboardViewStep( QObject* parent = nullptr );
~KeyboardViewStep() override;
QString prettyName() const override;
2014-07-08 18:25:39 +02:00
QString prettyStatus() const override;
QWidget* widget() override;
bool isNextEnabled() const override;
bool isBackEnabled() const override;
bool isAtBeginning() const override;
bool isAtEnd() const override;
Calamares::JobList jobs() const override;
2014-11-26 18:56:09 +01:00
void onActivate() override;
2014-07-08 18:25:39 +02:00
void onLeave() override;
void setConfigurationMap( const QVariantMap& configurationMap ) override;
private:
Config* m_config;
KeyboardPage* m_widget;
};
2015-09-09 18:52:24 +02:00
CALAMARES_PLUGIN_FACTORY_DECLARATION( KeyboardViewStepFactory )
#endif // KEYBOARDVIEWSTEP_H