From 6f265faa176d6bfc5778a20687a83da698ab6a89 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Tue, 20 Oct 2020 18:25:29 +0200 Subject: [PATCH] QList/QVLA: fixup the docs I'm not 100% sure that qdoc needs this, but in case it does, here's the commit. Change-Id: Ia3e17a56fd5df766c250f4875ba5e19e12b98d11 Reviewed-by: Thiago Macieira Reviewed-by: Paul Wicking --- src/corelib/tools/qlist.qdoc | 10 +++++----- src/corelib/tools/qvarlengtharray.qdoc | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/corelib/tools/qlist.qdoc b/src/corelib/tools/qlist.qdoc index 84296e8e47..f2f07e373f 100644 --- a/src/corelib/tools/qlist.qdoc +++ b/src/corelib/tools/qlist.qdoc @@ -836,7 +836,7 @@ \sa remove() */ -/*! \fn template template qsizetype QList::removeAll(const AT &t) +/*! \fn template template qsizetype QList::removeAll(const AT &t) \since 5.4 Removes all elements that compare equal to \a t from the @@ -845,7 +845,7 @@ \sa removeOne() */ -/*! \fn template template bool QList::removeOne(const AT &t) +/*! \fn template template bool QList::removeOne(const AT &t) \since 5.4 Removes the first element that compares equal to \a t from the @@ -952,7 +952,7 @@ \sa resize() */ -/*! \fn template template qsizetype QList::indexOf(const AT &value, qsizetype from = 0) const +/*! \fn template template qsizetype QList::indexOf(const AT &value, qsizetype from = 0) const Returns the index position of the first occurrence of \a value in the list, searching forward from index position \a from. @@ -967,7 +967,7 @@ \sa lastIndexOf(), contains() */ -/*! \fn template template qsizetype QList::lastIndexOf(const AT &value, qsizetype from = -1) const +/*! \fn template template qsizetype QList::lastIndexOf(const AT &value, qsizetype from = -1) const Returns the index position of the last occurrence of the value \a value in the list, searching backward from index position \a @@ -983,7 +983,7 @@ \sa indexOf() */ -/*! \fn template template bool QList::contains(const AT &value) const +/*! \fn template template bool QList::contains(const AT &value) const Returns \c true if the list contains an occurrence of \a value; otherwise returns \c false. diff --git a/src/corelib/tools/qvarlengtharray.qdoc b/src/corelib/tools/qvarlengtharray.qdoc index 99349d0b3d..e454276f9d 100644 --- a/src/corelib/tools/qvarlengtharray.qdoc +++ b/src/corelib/tools/qvarlengtharray.qdoc @@ -874,7 +874,7 @@ \sa append(), operator<<() */ -/*! \fn template template qsizetype QVarLengthArray::indexOf(const AT &value, qsizetype from = 0) const +/*! \fn template template qsizetype QVarLengthArray::indexOf(const AT &value, qsizetype from = 0) const \since 5.3 Returns the index position of the first occurrence of \a value in @@ -887,7 +887,7 @@ \sa lastIndexOf(), contains() */ -/*! \fn template template qsizetype QVarLengthArray::lastIndexOf(const AT &value, qsizetype from = -1) const +/*! \fn template template qsizetype QVarLengthArray::lastIndexOf(const AT &value, qsizetype from = -1) const \since 5.3 Returns the index position of the last occurrence of the value \a @@ -901,7 +901,7 @@ \sa indexOf(), contains() */ -/*! \fn template template bool QVarLengthArray::contains(const AT &value) const +/*! \fn template template bool QVarLengthArray::contains(const AT &value) const \since 5.3 Returns \c true if the array contains an occurrence of \a value;