Obsolete Members for WebEngineDownloadItem
The following members of QML type WebEngineDownloadItem are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.
Properties
- type : enumeration
(obsolete)
Property Documentation
[read-only] type : enumeration |
Describes the requested download's type.
Note: This property works unreliably, except for SavePage
downloads. Use isSavePageDownload instead.
Constant | Description |
---|---|
WebEngineDownloadItem.Attachment | The web server's response includes a Content-Disposition header with the attachment directive. If 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 RFC 2616 section 19.5.1 for details. |
WebEngineDownloadItem.DownloadAttribute | The user clicked a link with the download attribute. |
WebEngineDownloadItem.UserRequested | The user initiated the download, for example by selecting a web action. |
WebEngineDownloadItem.SavePage | Saving of the current page was requested (for example by the WebEngineView.SavePage web action). |
This QML property was introduced in QtWebEngine 1.4.