diff options
author | Allan Sandfeld Jensen <allan.jensen@digia.com> | 2014-12-08 15:56:32 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2015-01-08 16:50:51 +0100 |
commit | 4557ccd9785f53abc11460211c84db3e564b364f (patch) | |
tree | d087bcf820ede65c098469671c8157184e9bc99a /src/webenginewidgets/api/qwebengineprofile.h | |
parent | 89027eb534aae302ab6f87a3bcfa94e53db02e5d (diff) |
API for controlling tracking of visited links
Also fixes updating the visited links manager when off-the-record
changes or a storage path is set or changed.
Change-Id: Iffa90edde35f2d84146f3ab3b3861ef113e321f3
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webenginewidgets/api/qwebengineprofile.h')
-rw-r--r-- | src/webenginewidgets/api/qwebengineprofile.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebengineprofile.h b/src/webenginewidgets/api/qwebengineprofile.h index d21eed372..0536d711f 100644 --- a/src/webenginewidgets/api/qwebengineprofile.h +++ b/src/webenginewidgets/api/qwebengineprofile.h @@ -46,6 +46,7 @@ QT_BEGIN_NAMESPACE class QObject; +class QUrl; class QWebEnginePage; class QWebEnginePagePrivate; class QWebEngineProfilePrivate; @@ -89,6 +90,10 @@ public: int httpCacheMaximumSize() const; void setHttpCacheMaximumSize(int maxSize); + void clearAllVisitedLinks(); + void clearVisitedLinks(const QList<QUrl> &urls); + bool visitedLinksContainsUrl(const QUrl &url) const; + static QWebEngineProfile *defaultProfile(); private: |