summaryrefslogtreecommitdiffstats
path: root/src/webengine/api/qquickwebengineloadrequest.cpp
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2016-12-19 17:28:57 +0100
committerJani Heikkinen <jani.heikkinen@qt.io>2016-12-22 10:57:45 +0000
commit4723e88f6ec4aeadb35d65cfebbbb471ad8eb784 (patch)
tree57448c782e8c5faef72781a6764cd6f7252e7cfb /src/webengine/api/qquickwebengineloadrequest.cpp
parent902254ccaa4570fef763d837c21d1d683a4ff6cf (diff)
Doc: Describe WebEngineLoadRequest::errorDomain
Remove the WebEngineLoadRequest property doc from WebEngineView::loadingChanged() method docs and add the type name to create an automatic link to the type docs. Fix a typo in the copied ErrorDomain docs. Change-Id: I9798e066d599c75a062bb7f596e4465f32d613b4 Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'src/webengine/api/qquickwebengineloadrequest.cpp')
-rw-r--r--src/webengine/api/qquickwebengineloadrequest.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/webengine/api/qquickwebengineloadrequest.cpp b/src/webengine/api/qquickwebengineloadrequest.cpp
index 47ec17c16..b3422c516 100644
--- a/src/webengine/api/qquickwebengineloadrequest.cpp
+++ b/src/webengine/api/qquickwebengineloadrequest.cpp
@@ -120,6 +120,26 @@ QString QQuickWebEngineLoadRequest::errorString() const
return d->errorString;
}
+/*!
+ \qmlproperty enumeration WebEngineLoadRequest::errorDomain
+ This enumeration holds the type of a load request error:
+
+ \value WebEngineView.NoErrorDomain
+ Error type is not known.
+ \value WebEngineView.InternalErrorDomain
+ Content cannot be interpreted by Qt WebEngine.
+ \value WebEngineView.ConnectionErrorDomain
+ Error results from a faulty network connection.
+ \value WebEngineView.CertificateErrorDomain
+ Error is related to the SSL/TLS certificate.
+ \value WebEngineView.HttpErrorDomain
+ Error is related to the HTTP connection.
+ \value WebEngineView.FtpErrorDomain
+ Error is related to the FTP connection.
+ \value WebEngineView.DnsErrorDomain
+ Error is related to the DNS connection.
+*/
+
QQuickWebEngineView::ErrorDomain QQuickWebEngineLoadRequest::errorDomain() const
{
Q_D(const QQuickWebEngineLoadRequest);