[welcomeq] Add QML machinery (uninitialized)

This commit is contained in:
Adriaan de Groot 2019-12-14 13:11:14 +01:00
parent 53b208e891
commit 8e2d257040

View File

@ -40,6 +40,10 @@ class Handler;
class GeneralRequirements; class GeneralRequirements;
class QQmlComponent;
class QQuickItem;
class QQuickWidget;
// TODO: Needs a generic Calamares::QmlViewStep as base class // TODO: Needs a generic Calamares::QmlViewStep as base class
// TODO: refactor and move what makes sense to base class // TODO: refactor and move what makes sense to base class
class PLUGINDLLEXPORT WelcomeQmlViewStep : public Calamares::ViewStep class PLUGINDLLEXPORT WelcomeQmlViewStep : public Calamares::ViewStep
@ -78,6 +82,12 @@ private:
// TODO: a generic QML viewstep should return a config object from a method // TODO: a generic QML viewstep should return a config object from a method
Config m_config; Config m_config;
GeneralRequirements* m_requirementsChecker; GeneralRequirements* m_requirementsChecker;
// TODO: these need to be in the base class (also a base class of ExecutionViewStep)
QQuickWidget* m_qmlWidget;
QQmlComponent* m_qmlComponent;
QQuickItem* m_qmlItem;
}; };
CALAMARES_PLUGIN_FACTORY_DECLARATION( WelcomeQmlViewStepFactory ) CALAMARES_PLUGIN_FACTORY_DECLARATION( WelcomeQmlViewStepFactory )