summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qvector.qdoc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2018-01-29 14:57:41 +0100
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2018-02-02 14:49:46 +0000
commitfd3f732489dfd3d522721a818e0e8f48fefce537 (patch)
tree506d86c447104c7ccad3cd1222b5b0f353fc2512 /src/corelib/tools/qvector.qdoc
parent0c0ee82bff31ff2733c5229cf39f678f80b2e7e6 (diff)
Add documentation entries for new qvector/qvarlength methods
Change-Id: I4be1605ed8c9022795d5132203ad947e78481e67 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qvector.qdoc')
-rw-r--r--src/corelib/tools/qvector.qdoc23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/corelib/tools/qvector.qdoc b/src/corelib/tools/qvector.qdoc
index 089aaec3fd..e344a9023d 100644
--- a/src/corelib/tools/qvector.qdoc
+++ b/src/corelib/tools/qvector.qdoc
@@ -605,6 +605,16 @@
\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)
Inserts \a value at index position \a i in the vector. If \a i is
@@ -623,6 +633,14 @@
\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)
\overload
@@ -1090,6 +1108,11 @@
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()
This function is provided for STL compatibility. It is equivalent