File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ SamplePlugin::~SamplePlugin()
41
41
42
42
void SamplePlugin::initPlugin (MainWindow *main_wnd)
43
43
{
44
- PgModelerPlugin ::initPlugin (main_wnd);
44
+ PgModelerGuiPlugin ::initPlugin (main_wnd);
45
45
46
46
config_action = new QAction (QIcon (getPluginIcon (getPluginName ())), tr (" Sample plug-in" ), this );
47
47
toolbar_action = new QAction (QIcon (getPluginIcon (getPluginName ())), tr (" Sample plug-in" ), this );
Original file line number Diff line number Diff line change 25
25
#ifndef SAMPLE_PLUGIN_H
26
26
#define SAMPLE_PLUGIN_H
27
27
28
- #include " pgmodelerplugin .h"
28
+ #include " pgmodelerguiplugin .h"
29
29
30
- class SamplePlugin : public QObject , public PgModelerPlugin {
30
+ class SamplePlugin : public QObject , public PgModelerGuiPlugin {
31
31
private:
32
32
Q_OBJECT
33
33
34
- Q_PLUGIN_METADATA (IID " io.pgmodeler.PgModelerPlugin " FILE " sampleplugin.json" )
34
+ Q_PLUGIN_METADATA (IID " io.pgmodeler.PgModelerGuiPlugin " FILE " sampleplugin.json" )
35
35
36
36
// ! \brief Declares the interface which is used to implement the plugin
37
- Q_INTERFACES (PgModelerPlugin )
37
+ Q_INTERFACES (PgModelerGuiPlugin )
38
38
39
39
QAction *config_action, *toolbar_action, *model_action;
40
40
You can’t perform that action at this time.
0 commit comments