diff options
author | Michal Klocek <michal.klocek@qt.io> | 2020-08-10 09:31:27 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2020-08-18 23:23:35 +0200 |
commit | 75393077108480e1762612331c399a012b5feba7 (patch) | |
tree | 38db972a8d47853de4640d15458bfab6e74ea6b0 /tests/auto/quick/publicapi | |
parent | 322742fbdc9a18497946fc736daba9f6bf73ac54 (diff) |
Remove obsolete, deprecated api from qwebenginedownloaditem
This patch removes:
* path()
* type()
* DownloadType enum
Change-Id: I3e29f9e8ce9e39b015c57cb7005e0290d1496291
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'tests/auto/quick/publicapi')
-rw-r--r-- | tests/auto/quick/publicapi/tst_publicapi.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/tests/auto/quick/publicapi/tst_publicapi.cpp b/tests/auto/quick/publicapi/tst_publicapi.cpp index 3e24632e0..1ffaa13da 100644 --- a/tests/auto/quick/publicapi/tst_publicapi.cpp +++ b/tests/auto/quick/publicapi/tst_publicapi.cpp @@ -199,9 +199,7 @@ static const QStringList expectedAPI = QStringList() << "QWebEngineContextMenuRequest.selectedText --> QString" << "QWebEngineContextMenuRequest.spellCheckerSuggestions --> QStringList" << "QWebEngineContextMenuRequest.position --> QPoint" - << "QWebEngineDownloadItem.Attachment --> DownloadType" << "QWebEngineDownloadItem.CompleteHtmlSaveFormat --> SavePageFormat" - << "QWebEngineDownloadItem.DownloadAttribute --> DownloadType" << "QWebEngineDownloadItem.DownloadCancelled --> DownloadState" << "QWebEngineDownloadItem.DownloadCompleted --> DownloadState" << "QWebEngineDownloadItem.DownloadInProgress --> DownloadState" @@ -225,7 +223,6 @@ static const QStringList expectedAPI = QStringList() << "QWebEngineDownloadItem.NetworkServerDown --> DownloadInterruptReason" << "QWebEngineDownloadItem.NetworkTimeout --> DownloadInterruptReason" << "QWebEngineDownloadItem.NoReason --> DownloadInterruptReason" - << "QWebEngineDownloadItem.SavePage --> DownloadType" << "QWebEngineDownloadItem.ServerBadContent --> DownloadInterruptReason" << "QWebEngineDownloadItem.ServerCertProblem --> DownloadInterruptReason" << "QWebEngineDownloadItem.ServerFailed --> DownloadInterruptReason" @@ -235,7 +232,6 @@ static const QStringList expectedAPI = QStringList() << "QWebEngineDownloadItem.SingleHtmlSaveFormat --> SavePageFormat" << "QWebEngineDownloadItem.UnknownSaveFormat --> SavePageFormat" << "QWebEngineDownloadItem.UserCanceled --> DownloadInterruptReason" - << "QWebEngineDownloadItem.UserRequested --> DownloadType" << "QWebEngineDownloadItem.accept() --> void" << "QWebEngineDownloadItem.cancel() --> void" << "QWebEngineDownloadItem.id --> uint" @@ -248,8 +244,6 @@ static const QStringList expectedAPI = QStringList() << "QWebEngineDownloadItem.isPausedChanged() --> void" << "QWebEngineDownloadItem.isSavePageDownload --> bool" << "QWebEngineDownloadItem.mimeType --> QString" - << "QWebEngineDownloadItem.path --> QString" - << "QWebEngineDownloadItem.pathChanged() --> void" << "QWebEngineDownloadItem.pause() --> void" << "QWebEngineDownloadItem.receivedBytes --> qlonglong" << "QWebEngineDownloadItem.receivedBytesChanged() --> void" @@ -260,7 +254,6 @@ static const QStringList expectedAPI = QStringList() << "QWebEngineDownloadItem.stateChanged(QWebEngineDownloadItem::DownloadState) --> void" << "QWebEngineDownloadItem.totalBytes --> qlonglong" << "QWebEngineDownloadItem.totalBytesChanged() --> void" - << "QWebEngineDownloadItem.type --> DownloadType" // FIXME << "QWebEngineDownloadItem.view --> QQuickWebEngineView*" << "QWebEngineDownloadItem.url --> QUrl" << "QWebEngineDownloadItem.suggestedFileName --> QString" |