summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qqueue.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-04 09:47:09 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-04 12:49:36 +0000
commitb09ad740f6d7f5ed9d45fd6917ef509566b475ab (patch)
treea4a80ccf5054dc6a0eb6f2aa28a3ad8c41993fb0 /src/corelib/tools/qqueue.cpp
parent8c322c0b2c80954f6877f0f0a1e799c1e8516ba6 (diff)
doc: Correct remaining qdoc warnings in qqueue.cpp
Added missing template clause to \fn commands required by clang-qdoc. Change-Id: I53fe0b2c862cb053119ceab543dacbc4b20466df Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/tools/qqueue.cpp')
-rw-r--r--src/corelib/tools/qqueue.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/tools/qqueue.cpp b/src/corelib/tools/qqueue.cpp
index 4b22903c1a..ffc48d6714 100644
--- a/src/corelib/tools/qqueue.cpp
+++ b/src/corelib/tools/qqueue.cpp
@@ -77,7 +77,7 @@
*/
/*!
- \fn void QQueue::swap(QQueue<T> &other)
+ \fn template <class T> void QQueue<T>::swap(QQueue<T> &other)
\since 4.8
Swaps queue \a other with this queue. This operation is very
@@ -85,7 +85,7 @@
*/
/*!
- \fn void QQueue::enqueue(const T& t)
+ \fn template <class T> void QQueue<T>::enqueue(const T& t)
Adds value \a t to the tail of the queue.
@@ -95,7 +95,7 @@
*/
/*!
- \fn T &QQueue::head()
+ \fn template <class T> T &QQueue<T>::head()
Returns a reference to the queue's head item. This function
assumes that the queue isn't empty.
@@ -106,13 +106,13 @@
*/
/*!
- \fn const T &QQueue::head() const
+ \fn template <class T> const T &QQueue<T>::head() const
\overload
*/
/*!
- \fn T QQueue::dequeue()
+ \fn template <class T> T QQueue<T>::dequeue()
Removes the head item in the queue and returns it. This function
assumes that the queue isn't empty.