From ed7f86cb077d33d0dd9e646af28e3f57c160b570 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Mon, 6 Aug 2018 13:27:18 +0200 Subject: qdoc: Fix \fn commands for QCborxxx member functions Severa qdoc function comments had incorrect signatures. This update corrects them to match the declarations in the header file. A \keyword command was also added for linking to the generic algorithms header file page. Change-Id: I997f7f2c7e4d0c3fcd269ee2c89a2836fecd4927 Reviewed-by: Paul Wicking Reviewed-by: Thiago Macieira --- src/corelib/serialization/qcborarray.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/corelib/serialization/qcborarray.cpp') diff --git a/src/corelib/serialization/qcborarray.cpp b/src/corelib/serialization/qcborarray.cpp index 0280aab8d3..28ee941a15 100644 --- a/src/corelib/serialization/qcborarray.cpp +++ b/src/corelib/serialization/qcborarray.cpp @@ -790,7 +790,7 @@ void QCborArray::detach(qsizetype reserved) */ /*! - \fn QCborValueRef QCborArray::Iterator::operator[](qsizetype j) const + \fn QCborValueRef QCborArray::Iterator::operator[](qsizetype j) Returns a modifiable reference to the item at a position \a j steps forward from the item pointed to by this iterator. @@ -1036,7 +1036,7 @@ void QCborArray::detach(qsizetype reserved) */ /*! - \fn QCborValue QCborArray::ConstIterator::operator[](qsizetype j) const + \fn const QCborValueRef QCborArray::ConstIterator::operator[](qsizetype j) Returns the item at a position \a j steps forward from the item pointed to by this iterator. @@ -1057,9 +1057,10 @@ void QCborArray::detach(qsizetype reserved) */ /*! - \fn bool QCborArray::ConstIterator::operator!=(const ConstIterator &other) const + \fn bool QCborArray::ConstIterator::operator!=(const Iterator &o) const + \fn bool QCborArray::ConstIterator::operator!=(const ConstIterator &o) const - Returns \c true if \a other points to a different entry in the array than + Returns \c true if \a o points to a different entry in the array than this iterator; otherwise returns \c false. \sa operator==() -- cgit v1.2.3