aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-15 09:59:57 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-15 09:59:57 +0200
commitfeaec1906ea336b77022809aacc2ec4115b329c2 (patch)
tree7d7c88d5e2e0df9822b826583d2eeaf75bdec659 /plugins
parentProfileEditor: add delete button (diff)
downloadsmolbote-feaec1906ea336b77022809aacc2ec4115b329c2.tar.xz
AboutDialog: add profile list to details tab
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ProfileEditor/ProfileEditor.json6
-rw-r--r--plugins/interfaces.h4
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;
};