diff options
author | Adam Kallai <kadam@inf.u-szeged.hu> | 2016-03-30 13:25:19 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2016-06-22 08:28:53 +0000 |
commit | 637f34d38b97cbfd5faf407756b32986a2607543 (patch) | |
tree | f69616c1983bcf1c3e569b6dd483ccf18ed2d767 /tests/auto/quick/publicapi | |
parent | 349e96d833493faaba2cd879e31811f07507cc37 (diff) |
Add a DownloadType enum property to WebEngineDownloadItem
With this property the user gets the requested download's type.
In other words, the user can identify the download where it comes from
based on the type.
Update public API list as well.
Change-Id: I2b066d7eb4df1134266ad67ade0066e3bcc2b454
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto/quick/publicapi')
-rw-r--r-- | tests/auto/quick/publicapi/tst_publicapi.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp index 1937dca04..b872f6620 100644 --- a/tests/auto/quick/publicapi/tst_publicapi.cpp +++ b/tests/auto/quick/publicapi/tst_publicapi.cpp @@ -396,6 +396,12 @@ static QStringList expectedAPI = QStringList() << "QQuickWebEngineDownloadItem.MimeHtmlSaveFormat --> SavePageFormat" << "QQuickWebEngineDownloadItem.savePageFormat --> SavePageFormat" << "QQuickWebEngineDownloadItem.savePageFormatChanged() --> void" + << "QQuickWebEngineDownloadItem.Attachment --> DownloadType" + << "QQuickWebEngineDownloadItem.DownloadAttribute --> DownloadType" + << "QQuickWebEngineDownloadItem.UserRequested --> DownloadType" + << "QQuickWebEngineDownloadItem.SavePage --> DownloadType" + << "QQuickWebEngineDownloadItem.type --> DownloadType" + << "QQuickWebEngineDownloadItem.typeChanged() --> void" << "QQuickWebEngineHistory.items --> QQuickWebEngineHistoryListModel*" << "QQuickWebEngineHistory.backItems --> QQuickWebEngineHistoryListModel*" << "QQuickWebEngineHistory.forwardItems --> QQuickWebEngineHistoryListModel*" |