diff --git a/src/corelib/tools/qalgorithms.qdoc b/src/corelib/tools/qalgorithms.qdoc index 096ede2fec..f0ac2701e7 100644 --- a/src/corelib/tools/qalgorithms.qdoc +++ b/src/corelib/tools/qalgorithms.qdoc @@ -228,7 +228,7 @@ \sa {container classes}, */ -/*! \fn OutputIterator qCopy(InputIterator begin1, InputIterator end1, OutputIterator begin2) +/*! \fn template OutputIterator qCopy(InputIterator begin1, InputIterator end1, OutputIterator begin2) \relates \deprecated @@ -247,7 +247,7 @@ \sa qCopyBackward(), {input iterators}, {output iterators} */ -/*! \fn BiIterator2 qCopyBackward(BiIterator1 begin1, BiIterator1 end1, BiIterator2 end2) +/*! \fn template BiIterator2 qCopyBackward(BiIterator1 begin1, BiIterator1 end1, BiIterator2 end2) \relates \deprecated @@ -266,7 +266,7 @@ \sa qCopy(), {bidirectional iterators} */ -/*! \fn bool qEqual(InputIterator1 begin1, InputIterator1 end1, InputIterator2 begin2) +/*! \fn template bool qEqual(InputIterator1 begin1, InputIterator1 end1, InputIterator2 begin2) \relates \deprecated @@ -285,7 +285,7 @@ \sa {input iterators} */ -/*! \fn void qFill(ForwardIterator begin, ForwardIterator end, const T &value) +/*! \fn template void qFill(ForwardIterator begin, ForwardIterator end, const T &value) \relates \deprecated @@ -299,7 +299,7 @@ \sa qCopy(), {forward iterators} */ -/*! \fn void qFill(Container &container, const T &value) +/*! \fn template void qFill(Container &container, const T &value) \relates \deprecated \overload @@ -309,7 +309,7 @@ This is the same as qFill(\a{container}.begin(), \a{container}.end(), \a value); */ -/*! \fn InputIterator qFind(InputIterator begin, InputIterator end, const T &value) +/*! \fn template InputIterator qFind(InputIterator begin, InputIterator end, const T &value) \relates \deprecated @@ -332,7 +332,7 @@ \sa qBinaryFind(), {input iterators} */ -/*! \fn void qFind(const Container &container, const T &value) +/*! \fn template void qFind(const Container &container, const T &value) \relates \deprecated \overload @@ -342,7 +342,7 @@ This is the same as qFind(\a{container}.constBegin(), \a{container}.constEnd(), \a value); */ -/*! \fn void qCount(InputIterator begin, InputIterator end, const T &value, Size &n) +/*! \fn template void qCount(InputIterator begin, InputIterator end, const T &value, Size &n) \relates \deprecated @@ -362,7 +362,7 @@ \sa {input iterators} */ -/*! \fn void qCount(const Container &container, const T &value, Size &n) +/*! \fn template void qCount(const Container &container, const T &value, Size &n) \relates \deprecated \overload @@ -374,7 +374,7 @@ of \a value in the variable passed as a reference in argument \a n. */ -/*! \fn void qSwap(T &var1, T &var2) +/*! \fn template void qSwap(T &var1, T &var2) \relates \deprecated @@ -386,7 +386,7 @@ \snippet code/doc_src_qalgorithms.cpp 10 */ -/*! \fn void qSort(RandomAccessIterator begin, RandomAccessIterator end) +/*! \fn template void qSort(RandomAccessIterator begin, RandomAccessIterator end) \relates \deprecated @@ -411,7 +411,7 @@ \sa qStableSort(), {random access iterators} */ -/*! \fn void qSort(RandomAccessIterator begin, RandomAccessIterator end, LessThan lessThan) +/*! \fn template void qSort(RandomAccessIterator begin, RandomAccessIterator end, LessThan lessThan) \relates \deprecated \overload @@ -447,7 +447,7 @@ \sa QMap */ -/*! \fn void qSort(Container &container) +/*! \fn template void qSort(Container &container) \relates \deprecated \overload @@ -458,7 +458,7 @@ */ /*! - \fn void qStableSort(RandomAccessIterator begin, RandomAccessIterator end) + \fn template void qStableSort(RandomAccessIterator begin, RandomAccessIterator end) \relates \deprecated @@ -485,7 +485,7 @@ */ /*! - \fn void qStableSort(RandomAccessIterator begin, RandomAccessIterator end, LessThan lessThan) + \fn template void qStableSort(RandomAccessIterator begin, RandomAccessIterator end, LessThan lessThan) \relates \deprecated \overload @@ -517,7 +517,7 @@ */ /*! - \fn void qStableSort(Container &container) + \fn template void qStableSort(Container &container) \relates \deprecated \overload @@ -527,7 +527,7 @@ This is the same as qStableSort(\a{container}.begin(), \a{container}.end()); */ -/*! \fn RandomAccessIterator qLowerBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value) +/*! \fn template RandomAccessIterator qLowerBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value) \relates \deprecated @@ -556,7 +556,7 @@ */ /*! - \fn RandomAccessIterator qLowerBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value, LessThan lessThan) + \fn template RandomAccessIterator qLowerBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value, LessThan lessThan) \relates \deprecated \overload @@ -571,7 +571,7 @@ */ /*! - \fn void qLowerBound(const Container &container, const T &value) + \fn template void qLowerBound(const Container &container, const T &value) \relates \deprecated \overload @@ -584,7 +584,7 @@ to insert items. */ -/*! \fn RandomAccessIterator qUpperBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value) +/*! \fn template RandomAccessIterator qUpperBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value) \relates \deprecated @@ -613,7 +613,7 @@ */ /*! - \fn RandomAccessIterator qUpperBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value, LessThan lessThan) + \fn template RandomAccessIterator qUpperBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value, LessThan lessThan) \relates \deprecated \overload @@ -628,7 +628,7 @@ */ /*! - \fn void qUpperBound(const Container &container, const T &value) + \fn template void qUpperBound(const Container &container, const T &value) \relates \deprecated \overload @@ -639,7 +639,7 @@ */ -/*! \fn RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) +/*! \fn template RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value) \relates \deprecated @@ -665,7 +665,7 @@ \sa qLowerBound(), qUpperBound(), {random access iterators} */ -/*! \fn RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value, LessThan lessThan) +/*! \fn template RandomAccessIterator qBinaryFind(RandomAccessIterator begin, RandomAccessIterator end, const T &value, LessThan lessThan) \relates \deprecated \overload @@ -680,7 +680,7 @@ */ /*! - \fn void qBinaryFind(const Container &container, const T &value) + \fn template void qBinaryFind(const Container &container, const T &value) \relates \deprecated \overload @@ -692,7 +692,7 @@ /*! - \fn void qDeleteAll(ForwardIterator begin, ForwardIterator end) + \fn template void qDeleteAll(ForwardIterator begin, ForwardIterator end) \relates Deletes all the items in the range [\a begin, \a end) using the @@ -715,7 +715,7 @@ */ /*! - \fn void qDeleteAll(const Container &c) + \fn template void qDeleteAll(const Container &c) \relates \overload @@ -723,7 +723,7 @@ This is the same as qDeleteAll(\a{c}.begin(), \a{c}.end()). */ -/*! \fn LessThan qLess() +/*! \fn template LessThan qLess() \relates \deprecated @@ -739,7 +739,7 @@ \sa {qGreater()}{qGreater()} */ -/*! \fn LessThan qGreater() +/*! \fn template LessThan qGreater() \relates \deprecated