summaryrefslogtreecommitdiffstats
path: root/src/core/api/qwebenginedownloadrequest.cpp
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@qt.io>2021-06-30 14:04:31 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-07 15:21:28 +0000
commita864df85a9e46c5dcd7a03a444d3b8a7717946f7 (patch)
tree0c70ac6ece86802a0ad3bc42f7f2bd51edd84eee /src/core/api/qwebenginedownloadrequest.cpp
parentbbab484dc45ae2391065d07e1f68027bb53e44d9 (diff)
Doc: Fix documentation issues for Qt WebEngine
API and documentation changes since 5.15 caused multiple warnings from QDoc; this change addresses most of them. Some warnings indicate missing documentation, those issues still remain. Change-Id: I96be38b7daac37a7e35c149b4b3ec3f18c4415c9 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> (cherry picked from commit c248844b3b8ee004800606d1a6c6e6d6bee31738) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/core/api/qwebenginedownloadrequest.cpp')
-rw-r--r--src/core/api/qwebenginedownloadrequest.cpp27
1 files changed, 11 insertions, 16 deletions
diff --git a/src/core/api/qwebenginedownloadrequest.cpp b/src/core/api/qwebenginedownloadrequest.cpp
index 57823a7c9..7e3abed28 100644
--- a/src/core/api/qwebenginedownloadrequest.cpp
+++ b/src/core/api/qwebenginedownloadrequest.cpp
@@ -234,7 +234,7 @@ void QWebEngineDownloadRequestPrivate::setFinished()
into the \l DownloadInProgress state and the downloading will begin. If the
item is in any other state, then nothing will happen.
- \sa finished(), stateChanged()
+ \sa isFinished, stateChanged()
*/
void QWebEngineDownloadRequest::accept()
@@ -259,7 +259,7 @@ void QWebEngineDownloadRequest::accept()
If the item is in any other state, then it will transition into the \l
DownloadCancelled state without further effect.
- \sa finished(), stateChanged()
+ \sa isFinished, stateChanged()
*/
void QWebEngineDownloadRequest::cancel()
@@ -337,19 +337,11 @@ quint32 QWebEngineDownloadRequest::id() const
}
/*!
- \fn void QWebEngineDownloadRequest::finished()
+ \fn void QWebEngineDownloadRequest::isPausedChanged()
- This signal is emitted when the download finishes.
+ This signal is emitted whenever isPaused changes.
- \sa state(), isFinished()
-*/
-
-/*!
- \fn void QWebEngineDownloadRequest::isPausedChanged(bool isPaused)
-
- This signal is emitted whenever \a isPaused changes.
-
- \sa pause(), isPaused()
+ \sa pause(), isPaused
*/
/*!
@@ -579,9 +571,11 @@ QString QWebEngineDownloadRequest::suggestedFileName() const
}
/*!
- Returns whether this download is finished (completed, cancelled, or non-resumable interrupted state).
+ \property QWebEngineDownloadRequest::isFinished
+ \brief Whether this download is finished (completed, cancelled,
+ or non-resumable interrupted state).
- \sa finished(), state(),
+ \sa state()
*/
bool QWebEngineDownloadRequest::isFinished() const
@@ -591,7 +585,8 @@ bool QWebEngineDownloadRequest::isFinished() const
}
/*!
- Returns whether this download is paused.
+ \property QWebEngineDownloadRequest::isPaused
+ \brief Whether this download is paused.
\sa pause(), resume()
*/