diff options
author | Kai Koehne <kai.koehne@qt.io> | 2016-09-19 13:47:44 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2016-09-26 07:05:33 +0000 |
commit | 653edc8396f877ea4313bf5f9419487dcc19dfd6 (patch) | |
tree | b2eec8db159cfbc66e4286446ba95facf5cc5cd2 /src/webengine | |
parent | f885dc52e3b49ec3afda0e75373e90b00fa2b980 (diff) |
Fix documentation for new WebEngineDownloadItem::type enumeration
Change-Id: Iaa6d1daa66d6c49c0545d36041485c7156003805
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Diffstat (limited to 'src/webengine')
-rw-r--r-- | src/webengine/api/qquickwebenginedownloaditem.cpp | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/src/webengine/api/qquickwebenginedownloaditem.cpp b/src/webengine/api/qquickwebenginedownloaditem.cpp index f38af3923..d557000f1 100644 --- a/src/webengine/api/qquickwebenginedownloaditem.cpp +++ b/src/webengine/api/qquickwebenginedownloaditem.cpp @@ -307,14 +307,17 @@ void QQuickWebEngineDownloadItem::setSavePageFormat(QQuickWebEngineDownloadItem: Describes the requested download's type. - \value Attachment The web server's response includes a \c Content-Disposition header with the \c attachment directive. - If \c Content-Disposition is present in the reply, the web server is indicating that - the client should prompt the user to save the content regardless of the content type. + \value WebEngineDownloadItem.Attachment The web server's response includes a + \c Content-Disposition header with the \c attachment directive. If \c Content-Disposition + is present in the reply, the web server is indicating that the client should prompt the + user to save the content regardless of the content type. See \l {RFC 2616 section 19.5.1} for details. - \value DownloadAttribute The user clicked the hyperlink. - See \l {HTML download Attribute} for details. - \value UserRequested The user initiated the download. - \value SavePage The user saved a web page. + \value WebEngineDownloadItem.DownloadAttribute The user clicked a link with the \c download + attribute. See \l {HTML download Attribute} for details. + \value WebEngineDownloadItem.UserRequested The user initiated the download, for example by + selecting a web action. + \value WebEngineDownloadItem.SavePage Saving of the current page was requested (for example by + the \l{WebEngineView::WebAction}{WebEngineView.SavePage} web action). */ QQuickWebEngineDownloadItem::DownloadType QQuickWebEngineDownloadItem::type() const |