diff --git a/src/concurrent/doc/src/qtconcurrent-module.qdoc b/src/concurrent/doc/src/qtconcurrent-module.qdoc index 6e7f325375..72bf3f45d7 100644 --- a/src/concurrent/doc/src/qtconcurrent-module.qdoc +++ b/src/concurrent/doc/src/qtconcurrent-module.qdoc @@ -37,17 +37,3 @@ The Qt Concurrent module extends the basic threading support found in \l{Qt Core} module and simplifies the development of code that can be executed in parallel on all available CPU cores. */ - -/*! - \typedef QtConcurrent::Exception - \obsolete - - Use QException from \l{Qt Core} instead. -*/ - -/*! - \typedef QtConcurrent::UnhandledException - \obsolete - - Use QUnhandledException from \l{Qt Core} instead. -*/ diff --git a/src/concurrent/qtconcurrentmap.cpp b/src/concurrent/qtconcurrentmap.cpp index 9e5e6aab32..43763a441f 100644 --- a/src/concurrent/qtconcurrentmap.cpp +++ b/src/concurrent/qtconcurrentmap.cpp @@ -407,7 +407,7 @@ \fn template QFuture QtConcurrent::mappedReduced(QThreadPool *pool, const Sequence &sequence, MapFunctor mapFunction, ReduceFunctor reduceFunction, QtConcurrent::ReduceOptions reduceOptions) Calls \a mapFunction once for each item in \a sequence. - All calls to \a function are invoked from the threads taken from the QThreadPool \a pool. + All calls to \a mapFunction are invoked from the threads taken from the QThreadPool \a pool. The return value of each \a mapFunction is passed to \a reduceFunction. Note that while \a mapFunction is called concurrently, only one thread at a @@ -434,7 +434,7 @@ \fn template QFuture QtConcurrent::mappedReduced(QThreadPool *pool, const Sequence &sequence, MapFunctor mapFunction, ReduceFunctor reduceFunction, InitialValueType &&initialValue, QtConcurrent::ReduceOptions reduceOptions) Calls \a mapFunction once for each item in \a sequence. - All calls to \a function are invoked from the threads taken from the QThreadPool \a pool. + All calls to \a mapFunction are invoked from the threads taken from the QThreadPool \a pool. The return value of each \a mapFunction is passed to \a reduceFunction. The result value is initialized to \a initialValue when the function is called, and the first call to \a reduceFunction will operate on @@ -467,7 +467,7 @@ \fn template QFuture QtConcurrent::mappedReduced(QThreadPool *pool, Iterator begin, Iterator end, MapFunctor mapFunction, ReduceFunctor reduceFunction, QtConcurrent::ReduceOptions reduceOptions) Calls \a mapFunction once for each item from \a begin to \a end. - All calls to \a function are invoked from the threads taken from the QThreadPool \a pool. + All calls to \a mapFunction are invoked from the threads taken from the QThreadPool \a pool. The return value of each \a mapFunction is passed to \a reduceFunction. Note that while \a mapFunction is called concurrently, only one thread at a @@ -498,7 +498,7 @@ \fn template QFuture QtConcurrent::mappedReduced(QThreadPool *pool, Iterator begin, Iterator end, MapFunctor mapFunction, ReduceFunctor reduceFunction, InitialValueType &&initialValue, QtConcurrent::ReduceOptions reduceOptions) Calls \a mapFunction once for each item from \a begin to \a end. - All calls to \a function are invoked from the threads taken from the QThreadPool \a pool. + All calls to \a mapFunction are invoked from the threads taken from the QThreadPool \a pool. The return value of each \a mapFunction is passed to \a reduceFunction. The result value is initialized to \a initialValue when the function is called, and the first call to \a reduceFunction will operate on