From 017569f702b6dd0bc3aa077d85e4a7fc27562133 Mon Sep 17 00:00:00 2001 From: Martin Smith Date: Thu, 25 Jan 2018 09:43:39 +0100 Subject: doc: Add missing \fn commands for new members MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit New members were added to QVarLengthArray and QVector, but the engineer didn't document them. Since they are only slightly different versions of existing functions, their \fn commands were added to the eisting qdoc comments. Some defined(Q_CLANG_QDOC) uses were also added. Change-Id: I8a5505ca27efc9205b1387ed0be310e4b74ec490 Reviewed-by: Topi Reiniƶ --- src/corelib/tools/qvarlengtharray.qdoc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/corelib/tools/qvarlengtharray.qdoc') diff --git a/src/corelib/tools/qvarlengtharray.qdoc b/src/corelib/tools/qvarlengtharray.qdoc index ef2fffa44c..aff2f986e6 100644 --- a/src/corelib/tools/qvarlengtharray.qdoc +++ b/src/corelib/tools/qvarlengtharray.qdoc @@ -516,7 +516,9 @@ Typedef for \c{std::reverse_iterator}. Provided for STL compatibility. */ -/*! \fn template void QVarLengthArray::prepend(const T &value) +/*! + \fn template void QVarLengthArray::prepend(const T &value) + \fn template void QVarLengthArray::prepend(T &&value) \since 4.8 Inserts \a value at the beginning of the array. @@ -696,7 +698,9 @@ before the call. */ -/*! \fn template void QVarLengthArray::insert(int i, const T &value) +/*! + \fn template void QVarLengthArray::insert(int i, const T &value) + \fn template void QVarLengthArray::insert(int i, T &&value) \since 4.8 Inserts \a value at index position \a i in the array. If \a i is @@ -721,7 +725,9 @@ vector. */ -/*! \fn template QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, const T &value) +/*! + \fn template QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, const T &value) + \fn template QVarLengthArray::iterator QVarLengthArray::insert(const_iterator before, T &&value) \overload \since 4.8 -- cgit v1.2.3