diff options
author | Liang Qi <liang.qi@qt.io> | 2017-01-16 18:18:07 +0000 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2017-01-16 18:18:07 +0000 |
commit | 8234695a88ea853a19ccbe25157f23a632433b9a (patch) | |
tree | 8e1d54c8a3ccaa4e9a5de93bd62dec4d89a1e43d /src/webengine/api/qquickwebengineloadrequest.cpp | |
parent | 51d5737fa45b62ff9fc769cdb8d3a238dbe9d1cb (diff) | |
parent | 7a85314056409b79c0db44f9bb7a2258a6ed557f (diff) |
Merge "Merge remote-tracking branch 'origin/5.8.0' into 5.8" into refs/staging/5.8
Diffstat (limited to 'src/webengine/api/qquickwebengineloadrequest.cpp')
-rw-r--r-- | src/webengine/api/qquickwebengineloadrequest.cpp | 20 |
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); |