diff options
author | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-02-03 16:26:44 +0100 |
---|---|---|
committer | Andras Becsi <andras.becsi@theqtcompany.com> | 2015-02-06 12:02:52 +0000 |
commit | 22f4a67e434703b400ad9ee669f673144e5f33dc (patch) | |
tree | b66fd7c669309712466487724206126db4f88787 /src/webengine/api/qquickwebengineprofile_p.h | |
parent | dd450a1006c6975014f95dcb93395e961945c4f2 (diff) |
Update QML download API to match widgets and add documentation
Rename the download signal to downloadRequested and only start a
download if it has been explicitly accepted by the user, else cancel
it by default.
Replace the downloadPercentage property with totalBytes and receivedBytes
to also give the user information about download size.
Additionally this patch adds missing documentation.
Change-Id: I9d895386cf033f2efffe3ebac6f08f94c6fe0c19
Reviewed-by: Michael BrĂ¼ning <michael.bruning@theqtcompany.com>
Reviewed-by: Jocelyn Turcotte <jturcotte@woboq.com>
Diffstat (limited to 'src/webengine/api/qquickwebengineprofile_p.h')
-rw-r--r-- | src/webengine/api/qquickwebengineprofile_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webengine/api/qquickwebengineprofile_p.h b/src/webengine/api/qquickwebengineprofile_p.h index 7a2ff08e1..f3e0f5c33 100644 --- a/src/webengine/api/qquickwebengineprofile_p.h +++ b/src/webengine/api/qquickwebengineprofile_p.h @@ -112,7 +112,7 @@ signals: void persistentCookiesPolicyChanged(); void httpCacheMaximumSizeChanged(); - void downloadStarted(QQuickWebEngineDownloadItem *download); + void downloadRequested(QQuickWebEngineDownloadItem *download); void downloadFinished(QQuickWebEngineDownloadItem *download); private: |