PluginFactory in WebView module.

main
Teo Mrnjavac 9 years ago
parent 420c2cf7c4
commit bc9c451f33

@ -21,6 +21,8 @@
#include <QVariant>
#include <QWebView>
CALAMARES_PLUGIN_FACTORY_DEFINITION( WebViewStepFactory, registerPlugin<WebViewStep>(); )
WebViewStep::WebViewStep( QObject* parent )
: Calamares::ViewStep( parent )
{

@ -21,8 +21,10 @@
#include <QObject>
#include "viewpages/ViewStep.h"
#include "PluginDllMacro.h"
#include <utils/PluginFactory.h>
#include <viewpages/ViewStep.h>
#include <PluginDllMacro.h>
#include <QVariantMap>
@ -31,9 +33,6 @@ class QWebView;
class PLUGINDLLEXPORT WebViewStep : public Calamares::ViewStep
{
Q_OBJECT
Q_PLUGIN_METADATA( IID "calamares.ViewModule/1.0" )
Q_INTERFACES( Calamares::ViewStep )
public:
explicit WebViewStep( QObject* parent = nullptr );
@ -63,4 +62,6 @@ private:
QString m_prettyName;
};
CALAMARES_PLUGIN_FACTORY_DECLARATION( WebViewStepFactory )
#endif // WEBVIEWPLUGIN_H

Loading…
Cancel
Save