summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeena Miettinen <riitta-leena.miettinen@qt.io>2018-03-12 14:09:57 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-03-18 23:28:21 +0000
commit51dbe583fc8775c45962394f95c3122d846c57d4 (patch)
treeb0fa1e4ccbfb08037e2708956d4ed397fc5cb15f
parent26b7dd232c01218875e542acee6159d1d59cbaf1 (diff)
Doc: Add documentation for parameters to fix QDoc errors
In QWebEngineRegisterProtocolHandlerPermissionRequest::operator==(), QWebEngineRegisterProtocolHandlerPermissionRequest::operator!=(), QWebEngineQuotaPermissionRequest::operator==(), and QWebEngineQuotaPermissionRequest::operator!=(). Change-Id: I0eaf1136b67396b678cc743dffd1e35f585f0c0c Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r--src/core/api/qwebenginequotapermissionrequest.cpp6
-rw-r--r--src/core/api/qwebengineregisterprotocolhandlerpermissionrequest.cpp6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/core/api/qwebenginequotapermissionrequest.cpp b/src/core/api/qwebenginequotapermissionrequest.cpp
index 5750d84ae..44b0975a5 100644
--- a/src/core/api/qwebenginequotapermissionrequest.cpp
+++ b/src/core/api/qwebenginequotapermissionrequest.cpp
@@ -101,11 +101,13 @@ qint64 QWebEngineQuotaPermissionRequest::requestedSize() const
}
/*! \fn bool QWebEngineQuotaPermissionRequest::operator==(const QWebEngineQuotaPermissionRequest &that) const
- Returns \c true if the objects are equal.
+ Returns \c true if \a that points to the same object as this quota
+ permission request.
*/
/*! \fn bool QWebEngineQuotaPermissionRequest::operator!=(const QWebEngineQuotaPermissionRequest &that) const
- Returns \c true if the objects are not equal.
+ Returns \c true if \a that points to a different object than this quota
+ permission request.
*/
QT_END_NAMESPACE
diff --git a/src/core/api/qwebengineregisterprotocolhandlerpermissionrequest.cpp b/src/core/api/qwebengineregisterprotocolhandlerpermissionrequest.cpp
index b7301af76..84f311c30 100644
--- a/src/core/api/qwebengineregisterprotocolhandlerpermissionrequest.cpp
+++ b/src/core/api/qwebengineregisterprotocolhandlerpermissionrequest.cpp
@@ -106,11 +106,13 @@ QString QWebEngineRegisterProtocolHandlerPermissionRequest::scheme() const
}
/*! \fn bool QWebEngineRegisterProtocolHandlerPermissionRequest::operator==(const QWebEngineRegisterProtocolHandlerPermissionRequest &that) const
- Returns \c true if the objects are equal.
+ Returns \c true if \a that points to the same object as this protocol
+ handler permission request.
*/
/*! \fn bool QWebEngineRegisterProtocolHandlerPermissionRequest::operator!=(const QWebEngineRegisterProtocolHandlerPermissionRequest &that) const
- Returns \c true if the objects are not equal.
+ Returns \c true if \a that points to a different object than this protocol
+ handler permission request.
*/
QT_END_NAMESPACE