summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael BrĂ¼ning <michael.bruning@qt.io>2017-03-28 13:23:30 +0200
committerMichael BrĂ¼ning <michael.bruning@qt.io>2017-03-30 08:19:53 +0000
commit293929c0d9be310cb38d7dfff02f1b38ae4615c6 (patch)
treef7046839482d0acc682664fd8bf9188165e66e78
parent300dd3ee677ce8c59d29317217d041996f92632f (diff)
[Doc] Add doc link between methods for request filtering
Adds a doc link between QWebEngineUrlRequestInterceptor and QWebEnginePage Task-number: QTBUG-54507 Change-Id: Ic9aa535fbf19c7c5ccf279ee660adf180057b56b Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
-rw-r--r--src/core/api/qwebengineurlrequestinfo.cpp3
-rw-r--r--src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc3
2 files changed, 6 insertions, 0 deletions
diff --git a/src/core/api/qwebengineurlrequestinfo.cpp b/src/core/api/qwebengineurlrequestinfo.cpp
index c03255a97..e6972932e 100644
--- a/src/core/api/qwebengineurlrequestinfo.cpp
+++ b/src/core/api/qwebengineurlrequestinfo.cpp
@@ -99,6 +99,9 @@ ASSERT_ENUMS_MATCH(QtWebEngineCore::WebContentsAdapterClient::OtherNavigation, Q
You can install the interceptor on a profile via QWebEngineProfile::setRequestInterceptor()
or QQuickWebEngineProfile::setRequestInterceptor().
+ When using the \l{Qt WebEngine Widgets Module}, \l{QWebEnginePage::acceptNavigationRequest()}
+ offers further options to accept or block requests.
+
\sa interceptRequest(), QWebEngineUrlRequestInfo
*/
diff --git a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc
index 20805cb71..6d9267d8d 100644
--- a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc
+++ b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc
@@ -325,6 +325,9 @@
engine process them by overloading this function. This is necessary when an HTML document is
used as part of the user interface, and not to display external data, for example, when
displaying a list of results.
+
+ The \l{QWebEngineUrlRequestInterceptor} class offers further options for intercepting and
+ manipulating requests.
*/
/*!