PluginFactory in Finished module.
This commit is contained in:
parent
4f84e9ad14
commit
d91f00f334
@ -40,7 +40,7 @@ FinishedViewStep::~FinishedViewStep()
|
||||
QString
|
||||
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 "viewpages/ViewStep.h"
|
||||
#include "PluginDllMacro.h"
|
||||
#include <utils/PluginFactory.h>
|
||||
#include <viewpages/ViewStep.h>
|
||||
|
||||
#include <PluginDllMacro.h>
|
||||
|
||||
class FinishedPage;
|
||||
|
||||
class PLUGINDLLEXPORT FinishedViewStep : public Calamares::ViewStep
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PLUGIN_METADATA( IID "calamares.ViewModule/1.0" )
|
||||
|
||||
Q_INTERFACES( Calamares::ViewStep )
|
||||
|
||||
public:
|
||||
explicit FinishedViewStep( QObject* parent = nullptr );
|
||||
@ -60,4 +59,6 @@ private:
|
||||
FinishedPage* m_widget;
|
||||
};
|
||||
|
||||
CALAMARES_PLUGIN_FACTORY_DECLARATION( FinishedViewStepFactory )
|
||||
|
||||
#endif // FINISHEDPAGEPLUGIN_H
|
||||
|
Loading…
Reference in New Issue
Block a user