summaryrefslogtreecommitdiffstats
path: root/src/webengine/doc/src
diff options
context:
space:
mode:
authorPaulo Pinheiro <paulovap.os@gmail.com>2015-03-20 18:13:22 -0300
committerAndras Becsi <andras.becsi@theqtcompany.com>2015-04-07 11:17:48 +0000
commita0d66fc16f63e4230604fbad20254afb093af6fb (patch)
tree785b2d7fee066c2f24c06107eaef3339c009beb8 /src/webengine/doc/src
parentdc0b9a995da7c4147b878cbaa8e7e144bc62bec4 (diff)
Improve documentation about certificate errors
Documentation about how to handle certificate errors was poor, so this patch try to improve that. [ChangeLog][QtWebEngineQML][QQuickWebEngineCertificateError] New API for handling certificate errors in the QML API. Change-Id: I9234f5c8296651e7634ee41827fc6dcce503398b Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Diffstat (limited to 'src/webengine/doc/src')
-rw-r--r--src/webengine/doc/src/qquickwebengineview_lgpl.qdoc20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/webengine/doc/src/qquickwebengineview_lgpl.qdoc b/src/webengine/doc/src/qquickwebengineview_lgpl.qdoc
index 5179f31b8..6d04473d3 100644
--- a/src/webengine/doc/src/qquickwebengineview_lgpl.qdoc
+++ b/src/webengine/doc/src/qquickwebengineview_lgpl.qdoc
@@ -301,6 +301,26 @@
*/
/*!
+ \qmlsignal WebEngineView::certificateError(error)
+
+ This signal is emitted when an invalid certificate error is raised while loading a given request.
+
+ The certificate error can be rejected by calling WebEngineCertificateError::rejectCertificate,
+ which will stop loading the request.
+
+ The certificate error can be ignored by calling WebEngineCertificateError::ignoreCertificateError
+ which will resume loading the request.
+
+ It is possible to defer the decision of rejecting the given certificate by calling
+ WebEngineCertificateError::defer, which is useful when waiting for user input.
+ By default the invalid certificate will be automatically rejected.
+
+ The corresponding handler is onCertificateError.
+
+ \sa WebEngineCertificateError
+*/
+
+/*!
\qmlsignal WebEngineView::linkHovered(hoveredUrl)
Within a mouse-driven interface, this signal is emitted when a mouse