diff options
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.h')
-rw-r--r-- | plugins/ProfileEditor/profileeditorplugin.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/plugins/ProfileEditor/profileeditorplugin.h b/plugins/ProfileEditor/profileeditorplugin.h index db82cfb..bc95708 100644 --- a/plugins/ProfileEditor/profileeditorplugin.h +++ b/plugins/ProfileEditor/profileeditorplugin.h @@ -9,7 +9,7 @@ #ifndef PROFILEEDITOR_PLUGIN_H #define PROFILEEDITOR_PLUGIN_H -#include <QHash> +#include <QVector> #include <interfaces.h> class QWebEngineProfile; @@ -25,11 +25,13 @@ public: QHash<QString, std::function<int()>> commands() override; // ProfileInterface - void setProfiles(QHash<QString, WebProfile *> *profiles) override; QDialog *createWidget(QWidget *parent) override; +public slots: + void registerProfile(WebProfile *profile) override; + private: - QHash<QString, WebProfile *> *profiles; + QVector<WebProfile *> profiles; }; #endif //PROFILEEDITOR_PLUGIN_H |