From ca6ac03845dd5882940f50b667035692b6fd94c5 Mon Sep 17 00:00:00 2001 From: Volker Hilsheimer Date: Thu, 24 Sep 2020 12:06:36 +0200 Subject: [PATCH] Fix some qdoc warnings: undocumented parameters Change-Id: I5d37f620caccbd1445c99a602b71779bdedd37d3 Reviewed-by: Shawn Rutledge --- src/gui/accessible/qaccessible.cpp | 5 +++-- src/gui/kernel/qevent.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gui/accessible/qaccessible.cpp b/src/gui/accessible/qaccessible.cpp index e908a4704ad..e615dd8cb0c 100644 --- a/src/gui/accessible/qaccessible.cpp +++ b/src/gui/accessible/qaccessible.cpp @@ -1085,14 +1085,15 @@ QPair< int, int > QAccessible::qAccessibleTextBoundaryHelper(const QTextCursor & relations, unless they are handled in a specific way such as in tree views. It will typically return the labelled-by and label relations. - It is possible to filter the relations by using the optional parameter. + It is possible to filter the relations by using the optional parameter \a match. It should never return itself. \sa parent(), child() */ QList> -QAccessibleInterface::relations(QAccessible::Relation /*match = QAccessible::AllRelations*/) const +QAccessibleInterface::relations(QAccessible::Relation match) const { + Q_UNUSED(match); return { }; } diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp index 377a13153ad..322e5aeb316 100644 --- a/src/gui/kernel/qevent.cpp +++ b/src/gui/kernel/qevent.cpp @@ -345,7 +345,7 @@ ulong QEventPoint::lastTimestamp() const { return d->lastTimestamp; } /*! - Sets the accepted state of the point. + Sets the accepted state of the point to \a accepted. In widget-based applications, this function is not used so far, because it's only meaningful for a widget to accept or reject a complete QInputEvent.