diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/ProfileEditor/ProfileEditor.json | 6 | ||||
-rw-r--r-- | plugins/interfaces.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/ProfileEditor/ProfileEditor.json b/plugins/ProfileEditor/ProfileEditor.json index 8b2677b..ffb1c32 100644 --- a/plugins/ProfileEditor/ProfileEditor.json +++ b/plugins/ProfileEditor/ProfileEditor.json @@ -1,7 +1,5 @@ { "name": "Profile Editor", - "author": "Aqua-sama [aqua@iserlohn-fortress.net]", - "shortcut": "Ctrl+F2", - "addToMenu": false, - "addToToolbar": true + "author": "Aqua-sama", + "shortcut": "Ctrl+F2" } diff --git a/plugins/interfaces.h b/plugins/interfaces.h index 8b5b78c..1b653cd 100644 --- a/plugins/interfaces.h +++ b/plugins/interfaces.h @@ -10,6 +10,7 @@ #define SMOLBOTE_PLUGIN_INTERFACES_H #include <QtPlugin> +#include <QKeySequence> #include <memory> #include <functional> @@ -20,6 +21,9 @@ class WebProfile; struct Plugin { + QString name; + QString author; + QKeySequence shortcut; std::shared_ptr<QObject> instance; }; |