aboutsummaryrefslogtreecommitdiff
path: root/plugins/ProfileEditor/profileeditorplugin.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2020-04-25 22:09:13 +0300
committerAqua-sama <aqua@iserlohn-fortress.net>2020-05-26 12:50:15 +0300
commit0492a063806b6d63e4f378908b809de104a24820 (patch)
tree2e285d0c9b5067dc9395bfb751fe84bb8ac2a5f4 /plugins/ProfileEditor/profileeditorplugin.h
parentlibwebengine (diff)
downloadsmolbote-0492a063806b6d63e4f378908b809de104a24820.tar.xz
Update ProfileEditor plugin
ProfileEditor: - add tests - disable read-only settings on otr profiles Add WebProfile::setHeaders and WebProfile::setCookies
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.h')
-rw-r--r--plugins/ProfileEditor/profileeditorplugin.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/ProfileEditor/profileeditorplugin.h b/plugins/ProfileEditor/profileeditorplugin.h
index a673436..13f6d90 100644
--- a/plugins/ProfileEditor/profileeditorplugin.h
+++ b/plugins/ProfileEditor/profileeditorplugin.h
@@ -9,7 +9,7 @@
#ifndef PROFILEEDITOR_PLUGIN_H
#define PROFILEEDITOR_PLUGIN_H
-#include <plugininterface.h>
+#include <smolbote/plugininterface.hpp>
class QDialog;
class ProfileEditorPlugin : public QObject, public PluginInterface
@@ -19,10 +19,7 @@ class ProfileEditorPlugin : public QObject, public PluginInterface
Q_INTERFACES(PluginInterface)
public:
- // PluginInterface
- QHash<QString, std::function<int()>> commands() override;
-
- // ProfileInterface
+ ~ProfileEditorPlugin() override = default;
QDialog *createWidget(QWidget *parent) const override;
};