Doc: Fix \fn template arguments for Qt Concurrent
Upcoming changes to QDoc require accurate definition for template arguments in \fn commands. Task-number: QTBUG-118080 Change-Id: Ia905211d2b2bc5b49e5f9b50f2407544e939779d Reviewed-by: Luca Di Sera <luca.disera@qt.io>
This commit is contained in:
parent
fbef159a05
commit
f1414846ed
@ -224,7 +224,7 @@
|
||||
*/
|
||||
|
||||
/*!
|
||||
\fn QFuture<T> QtConcurrent::run(Function function, ...);
|
||||
\fn template <typename T> QFuture<T> QtConcurrent::run(Function function, ...);
|
||||
|
||||
Equivalent to
|
||||
\code
|
||||
@ -261,7 +261,7 @@
|
||||
|
||||
/*!
|
||||
\since 5.4
|
||||
\fn QFuture<T> QtConcurrent::run(QThreadPool *pool, Function function, ...);
|
||||
\fn template <typename T> QFuture<T> QtConcurrent::run(QThreadPool *pool, Function function, ...);
|
||||
|
||||
Schedules \a function on \a pool. Note that \a function may not run
|
||||
immediately; \a function will only be run once a thread becomes available.
|
||||
|
Loading…
x
Reference in New Issue
Block a user