summaryrefslogtreecommitdiffstats
path: root/src/webenginewidgets
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2018-03-01 14:15:08 +0100
committerLeena Miettinen <riitta-leena.miettinen@qt.io>2018-03-05 08:07:48 +0000
commit6bf2b905001351b52c02662281fffb456a883296 (patch)
tree4afc92d48c11760b52a46a470efc4666d5ba83ba /src/webenginewidgets
parent9528261f06b10ec1660a88ab2be7bb1cc3bf760e (diff)
Doc: Link QWebEngineDownloadItem SavePage-related functions
Add see-also links between the new 5.11 function, isSavePageDownload(), and the existing related functions. Task-number: QTBUG-66777 Change-Id: I5b135ba2f69213082cd8b516f71c7c5c7124feec Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/webenginewidgets')
-rw-r--r--src/webenginewidgets/api/qwebenginedownloaditem.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/webenginewidgets/api/qwebenginedownloaditem.cpp b/src/webenginewidgets/api/qwebenginedownloaditem.cpp
index 1dbfc9f51..c89cafb58 100644
--- a/src/webenginewidgets/api/qwebenginedownloaditem.cpp
+++ b/src/webenginewidgets/api/qwebenginedownloaditem.cpp
@@ -491,7 +491,7 @@ bool QWebEngineDownloadItem::isPaused() const
Returns the format the web page will be saved in if this is a download request for a web page.
\since 5.7
- \sa setSavePageFormat()
+ \sa setSavePageFormat(), isSavePageDownload()
*/
QWebEngineDownloadItem::SavePageFormat QWebEngineDownloadItem::savePageFormat() const
{
@@ -503,7 +503,7 @@ QWebEngineDownloadItem::SavePageFormat QWebEngineDownloadItem::savePageFormat()
Sets the \a format the web page will be saved in if this is a download request for a web page.
\since 5.7
- \sa savePageFormat()
+ \sa savePageFormat(), isSavePageDownload()
*/
void QWebEngineDownloadItem::setSavePageFormat(QWebEngineDownloadItem::SavePageFormat format)
{
@@ -529,6 +529,8 @@ QWebEngineDownloadItem::DownloadType QWebEngineDownloadItem::type() const
/*!
Returns \c true if this is a download request for saving a web page.
\since 5.11
+
+ \sa savePageFormat(), setSavePageFormat()
*/
bool QWebEngineDownloadItem::isSavePageDownload() const
{