mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-27 01:15:38 -04:00
PluginFactory in Finished module.
This commit is contained in:
parent
4f84e9ad14
commit
d91f00f334
2 changed files with 8 additions and 6 deletions
|
@ -40,7 +40,7 @@ FinishedViewStep::~FinishedViewStep()
|
||||||
QString
|
QString
|
||||||
FinishedViewStep::prettyName() const
|
FinishedViewStep::prettyName() const
|
||||||
{
|
{
|
||||||
return tr( "All done" );
|
return tr( "Finish" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -129,3 +129,4 @@ FinishedViewStep::setConfigurationMap( const QVariantMap& configurationMap )
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CALAMARES_PLUGIN_FACTORY_DEFINITION( FinishedViewStepFactory, registerPlugin<FinishedViewStep>(); )
|
||||||
|
|
|
@ -21,17 +21,16 @@
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
|
|
||||||
#include "viewpages/ViewStep.h"
|
#include <utils/PluginFactory.h>
|
||||||
#include "PluginDllMacro.h"
|
#include <viewpages/ViewStep.h>
|
||||||
|
|
||||||
|
#include <PluginDllMacro.h>
|
||||||
|
|
||||||
class FinishedPage;
|
class FinishedPage;
|
||||||
|
|
||||||
class PLUGINDLLEXPORT FinishedViewStep : public Calamares::ViewStep
|
class PLUGINDLLEXPORT FinishedViewStep : public Calamares::ViewStep
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_PLUGIN_METADATA( IID "calamares.ViewModule/1.0" )
|
|
||||||
|
|
||||||
Q_INTERFACES( Calamares::ViewStep )
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit FinishedViewStep( QObject* parent = nullptr );
|
explicit FinishedViewStep( QObject* parent = nullptr );
|
||||||
|
@ -60,4 +59,6 @@ private:
|
||||||
FinishedPage* m_widget;
|
FinishedPage* m_widget;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CALAMARES_PLUGIN_FACTORY_DECLARATION( FinishedViewStepFactory )
|
||||||
|
|
||||||
#endif // FINISHEDPAGEPLUGIN_H
|
#endif // FINISHEDPAGEPLUGIN_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue