calamares/src/modules/tracking/TrackingViewStep.h

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

58 lines
1.2 KiB
C
Raw Normal View History

/* === This file is part of Calamares - <https://calamares.io> ===
2017-08-29 14:00:37 +02: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-08-29 14:00:37 +02:00
*
* Calamares is Free Software: see the License-Identifier above.
2017-08-29 14:00:37 +02:00
*
*/
#ifndef TRACKINGVIEWSTEP_H
#define TRACKINGVIEWSTEP_H
#include "TrackingType.h"
#include "DllMacro.h"
#include "utils/PluginFactory.h"
#include "viewpages/ViewStep.h"
2017-08-29 14:00:37 +02:00
#include <QObject>
#include <QUrl>
#include <QVariantMap>
class Config;
2017-08-29 14:00:37 +02:00
class TrackingPage;
class PLUGINDLLEXPORT TrackingViewStep : public Calamares::ViewStep
{
Q_OBJECT
public:
explicit TrackingViewStep( QObject* parent = nullptr );
~TrackingViewStep() override;
2017-08-29 14:00:37 +02:00
QString prettyName() const override;
QWidget* widget() override;
bool isNextEnabled() const override;
bool isBackEnabled() const override;
bool isAtBeginning() const override;
bool isAtEnd() const override;
void onLeave() override;
Calamares::JobList jobs() const override;
2017-09-26 11:07:15 +02:00
2017-08-29 14:00:37 +02:00
void setConfigurationMap( const QVariantMap& configurationMap ) override;
private:
Config* m_config;
TrackingPage* m_widget;
2017-08-29 14:00:37 +02:00
};
CALAMARES_PLUGIN_FACTORY_DECLARATION( TrackingViewStepFactory )
2019-08-01 23:05:42 +02:00
#endif // TRACKINGVIEWSTEP_H