From 2a696a57abafb25978aef1af5758fe75b706d1f0 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 16 Jan 2019 16:52:07 +0100 Subject: Rewrite lib/web to lib/webprofile - libweb was supposed to be a general QtWebEngine wrapper, but only turned out to do profiles and profile management. The new name should make this more obvious. - Renamed ProfileManager to WebProfileManager, and cut out duplicate code. - Temporary profiles: temporary profiles are not kept after closing the browser. --- src/browser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/browser.h') diff --git a/src/browser.h b/src/browser.h index 8a40152..32011e0 100644 --- a/src/browser.h +++ b/src/browser.h @@ -24,7 +24,7 @@ class Configuration; class BookmarksWidget; class DownloadsWidget; class MainWindow; -class ProfileManager; +class WebProfileManager; class Browser : public SingleApplication, public BrowserInterface { Q_OBJECT @@ -43,7 +43,7 @@ public: const QString configuration(const QString &key) const override; void setConfiguration(const QString &key, const QString &value) override; - ProfileManager *getProfileManager(); + WebProfileManager *getProfileManager(); const QList> profileList() const override; QPair loadProfile(const QString &id, bool isOffTheRecord = true) override; void removeProfile(const QString &id) override; @@ -90,7 +90,7 @@ private: std::unique_ptr m_config; std::shared_ptr m_bookmarks; std::unique_ptr m_downloads; - ProfileManager *m_profileManager; + WebProfileManager *m_profileManager; QVector m_filters; QVector m_windows; -- cgit v1.2.1