diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-08-25 20:07:54 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-08-25 20:07:54 +0200 |
commit | 3b611f42bf5c233ca66e406474896022b6ed78cc (patch) | |
tree | cbf30d20220f91c5eccaf8d89a2aac1989241b08 /plugins/ProfileEditor/profileeditorplugin.h | |
parent | MainWindow: fix load session action (diff) | |
download | smolbote-3b611f42bf5c233ca66e406474896022b6ed78cc.tar.xz |
Add BrowserInterface to simplify plugins a bit
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.h')
-rw-r--r-- | plugins/ProfileEditor/profileeditorplugin.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/plugins/ProfileEditor/profileeditorplugin.h b/plugins/ProfileEditor/profileeditorplugin.h index bc95708..c3e08af 100644 --- a/plugins/ProfileEditor/profileeditorplugin.h +++ b/plugins/ProfileEditor/profileeditorplugin.h @@ -14,11 +14,11 @@ class QWebEngineProfile; class QDialog; -class ProfileEditorPlugin : public QObject, public PluginInterface, public ProfileInterface +class ProfileEditorPlugin : public QObject, public PluginInterface { Q_OBJECT - Q_PLUGIN_METADATA(IID ProfileInterfaceIid FILE "ProfileEditor.json") - Q_INTERFACES(PluginInterface ProfileInterface) + Q_PLUGIN_METADATA(IID PluginInterfaceIid FILE "ProfileEditor.json") + Q_INTERFACES(PluginInterface) public: // PluginInterface @@ -26,12 +26,6 @@ public: // ProfileInterface QDialog *createWidget(QWidget *parent) override; - -public slots: - void registerProfile(WebProfile *profile) override; - -private: - QVector<WebProfile *> profiles; }; #endif //PROFILEEDITOR_PLUGIN_H |