Add documentation entries for new qvector/qvarlength methods

Change-Id: I4be1605ed8c9022795d5132203ad947e78481e67
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
Allan Sandfeld Jensen 2018-01-29 14:57:41 +01:00
parent 0c0ee82bff
commit fd3f732489
2 changed files with 44 additions and 0 deletions

View File

@ -533,6 +533,13 @@
\sa append(), insert() \sa append(), insert()
*/ */
/*!
\fn template<class T, int Prealloc> void QVarLengthArray<T, Prealloc>::prepend(T &&value)
\since 5.11
\overload
*/
/*! \fn template<class T, int Prealloc> void QVarLengthArray<T, Prealloc>::replace(int i, const T &value) /*! \fn template<class T, int Prealloc> void QVarLengthArray<T, Prealloc>::replace(int i, const T &value)
\since 4.8 \since 4.8
@ -721,6 +728,14 @@
vector. vector.
*/ */
/*! \fn template<class T, int Prealloc> void QVarLengthArray<T, Prealloc>::insert(int i, T &&value)
\overload
\since 5.11
*/
/*! \fn template<class T, int Prealloc> QVarLengthArray<T, Prealloc>::iterator QVarLengthArray<T, Prealloc>::insert(const_iterator before, const T &value) /*! \fn template<class T, int Prealloc> QVarLengthArray<T, Prealloc>::iterator QVarLengthArray<T, Prealloc>::insert(const_iterator before, const T &value)
\overload \overload
@ -730,6 +745,12 @@
\a before. Returns an iterator pointing at the inserted item. \a before. Returns an iterator pointing at the inserted item.
*/ */
/*! \fn template<class T, int Prealloc> QVarLengthArray<T, Prealloc>::iterator QVarLengthArray<T, Prealloc>::insert(const_iterator before, T &&value)
\overload
\since 5.11
*/
/*! \fn template<class T, int Prealloc> QVarLengthArray<T, Prealloc>::iterator QVarLengthArray<T, Prealloc>::insert(const_iterator before, int count, const T &value) /*! \fn template<class T, int Prealloc> QVarLengthArray<T, Prealloc>::iterator QVarLengthArray<T, Prealloc>::insert(const_iterator before, int count, const T &value)
\since 4.8 \since 4.8

View File

@ -605,6 +605,16 @@
\sa append(), insert() \sa append(), insert()
*/ */
/*!
\fn template <typename T> void QVector<T>::prepend(T &&value)
\since 5.11
\overload
Inserts \a value at the beginning of the vector using move semantics.
*/
/*! \fn template <typename T> void QVector<T>::insert(int i, const T &value) /*! \fn template <typename T> void QVector<T>::insert(int i, const T &value)
Inserts \a value at index position \a i in the vector. If \a i is Inserts \a value at index position \a i in the vector. If \a i is
@ -623,6 +633,14 @@
\sa append(), prepend(), remove() \sa append(), prepend(), remove()
*/ */
/*! \fn template <typename T> void QVector<T>::insert(int i, T &&value)
\since 5.11
\overload
Inserts \a value at index position \a i in the vector using move semantics.
*/
/*! \fn template <typename T> void QVector<T>::insert(int i, int count, const T &value) /*! \fn template <typename T> void QVector<T>::insert(int i, int count, const T &value)
\overload \overload
@ -1090,6 +1108,11 @@
to prepend(\a value). to prepend(\a value).
*/ */
/*! \fn template <typename T> void QVector<T>::push_front(T &&value)
\since 5.11
\overload
*/
/*! \fn template <typename T> void QVector<T>::pop_front() /*! \fn template <typename T> void QVector<T>::pop_front()
This function is provided for STL compatibility. It is equivalent This function is provided for STL compatibility. It is equivalent