From b27e55b0bbba9a1678159abe44280e173374f971 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sat, 16 Jun 2018 13:55:35 +0200 Subject: Sort .profile by time Remove ProfileInterface::setProfiles ProfileView: Add General tab ProfileView: some cleanup ProfileView: Add Cookies tab --- plugins/ProfileEditor/profileeditorplugin.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'plugins/ProfileEditor/profileeditorplugin.h') 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 +#include #include class QWebEngineProfile; @@ -25,11 +25,13 @@ public: QHash> commands() override; // ProfileInterface - void setProfiles(QHash *profiles) override; QDialog *createWidget(QWidget *parent) override; +public slots: + void registerProfile(WebProfile *profile) override; + private: - QHash *profiles; + QVector profiles; }; #endif //PROFILEEDITOR_PLUGIN_H -- cgit v1.2.1