summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets/api/qwebenginedownloaditem.h
diff options
context:
space:
mode:
authorTamas Zakor <ztamas@inf.u-szeged.hu>2019-05-09 14:49:56 +0200
committerTamas Zakor <ztamas@inf.u-szeged.hu>2019-05-16 11:57:07 +0000
commita4eeb9dbd995d598bd3a639dd450def7c242b383 (patch)
tree99d1b0fe8fa64be15948b601960c54e5b632783b /src/webenginewidgets/api/qwebenginedownloaditem.h
parent0c2beb49b858f49489fa4f1ecee6bfdd6ce57e68 (diff)
Add API to get the suggested download file name
[ChangeLog][DownloadItem] Add functions and property to get the suggested download file name. Task-number: QTBUG-56978 Change-Id: I902870c6358271322da613a15ccc11639384e404 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/webenginewidgets/api/qwebenginedownloaditem.h')
-rw-r--r--src/webenginewidgets/api/qwebenginedownloaditem.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webenginewidgets/api/qwebenginedownloaditem.h b/src/webenginewidgets/api/qwebenginedownloaditem.h
index 981a3c374..0ae6b2575 100644
--- a/src/webenginewidgets/api/qwebenginedownloaditem.h
+++ b/src/webenginewidgets/api/qwebenginedownloaditem.h
@@ -128,6 +128,7 @@ public:
DownloadInterruptReason interruptReason() const;
QString interruptReasonString() const;
bool isSavePageDownload() const;
+ QString suggestedFileName() const;
QWebEnginePage *page() const;