aboutsummaryrefslogtreecommitdiff
path: root/plugins/ProfileEditor/profileeditorplugin.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-06-16 13:55:35 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-06-16 13:55:35 +0200
commitb27e55b0bbba9a1678159abe44280e173374f971 (patch)
treea7a5bb75ad9b4dc3fc31b39b5ab2fe860b55a27e /plugins/ProfileEditor/profileeditorplugin.h
parentAdd extra-cmake-modules to make depends (diff)
downloadsmolbote-b27e55b0bbba9a1678159abe44280e173374f971.tar.xz
Sort .profile by time
Remove ProfileInterface::setProfiles ProfileView: Add General tab ProfileView: some cleanup ProfileView: Add Cookies tab
Diffstat (limited to 'plugins/ProfileEditor/profileeditorplugin.h')
-rw-r--r--plugins/ProfileEditor/profileeditorplugin.h8
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