diff options
author | Paulo Pinheiro <paulovap.os@gmail.com> | 2015-03-20 18:13:22 -0300 |
---|---|---|
committer | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-04-07 11:17:48 +0000 |
commit | a0d66fc16f63e4230604fbad20254afb093af6fb (patch) | |
tree | 785b2d7fee066c2f24c06107eaef3339c009beb8 /src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc | |
parent | dc0b9a995da7c4147b878cbaa8e7e144bc62bec4 (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/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc')
-rw-r--r-- | src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc index f5aa64eed..3088a66b6 100644 --- a/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc +++ b/src/webenginewidgets/doc/src/qwebenginepage_lgpl.qdoc @@ -346,6 +346,17 @@ */ /*! + \fn bool QWebEnginePage::certificateError(const QWebEngineCertificateError & certificateError) + This function is called when an invalid certificate error is raised while loading a given request. + + The \a certificateError parameter contains information about the certificate and details of the error. + + Return true to ignore the error and complete the request, otherwise return false to stop loading the request. + + \sa QWebEngineCertificateError +*/ + +/*! \fn QString QWebEnginePage::chooseFiles(FileSelectionMode mode, const QStringList& oldFiles, const QStringList& acceptedMimeTypes) This function is called when the web content requests a file name, for example as a result of the user clicking on a "file upload" button in a HTML form. |