summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/webengine/api/qquickwebenginecertificateerror.cpp15
-rw-r--r--src/webengine/doc/src/webengineview.qdoc11
2 files changed, 15 insertions, 11 deletions
diff --git a/src/webengine/api/qquickwebenginecertificateerror.cpp b/src/webengine/api/qquickwebenginecertificateerror.cpp
index ea9b2bc1..7b06696d 100644
--- a/src/webengine/api/qquickwebenginecertificateerror.cpp
+++ b/src/webengine/api/qquickwebenginecertificateerror.cpp
@@ -66,8 +66,19 @@ public:
\brief A utility type for ignoring certificate errors or rejecting erroneous certificates.
- This QML type contains information about a certificate error that occurred and provides a way
- to ignore the error or reject the certificate.
+ This QML type contains information about a certificate error that occurred. The \l error
+ property holds the reason that the error occurred and the \l description property holds a
+ short localized description of the error. The \l url property holds the URL that triggered
+ the error.
+
+ The certificate can be rejected by calling \l rejectCertificate, which will stop loading the
+ web engine request. By default, an invalid certificate will be automatically rejected.
+
+ The certificate error can be ignored by calling \l ignoreCertificateError, which will
+ resume loading the request.
+
+ It is possible to defer the decision of rejecting a certificate by calling \l defer,
+ which is useful when waiting for user input.
\sa WebEngineView::certificateError
*/
diff --git a/src/webengine/doc/src/webengineview.qdoc b/src/webengine/doc/src/webengineview.qdoc
index 0ce2f77b..3c27c293 100644
--- a/src/webengine/doc/src/webengineview.qdoc
+++ b/src/webengine/doc/src/webengineview.qdoc
@@ -418,15 +418,8 @@
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 certificate error can be handled by using the methods of the WebEngineCertificateError
+ type.
The corresponding handler is \c onCertificateError.