summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJarek Kobus <jaroslaw.kobus@qt.io>2020-08-21 10:27:46 +0200
committerJarek Kobus <jaroslaw.kobus@qt.io>2020-09-01 13:35:39 +0200
commit83ad54c1241efa359355f531dabb4de5be33aa32 (patch)
treed91ae8345ac01d9cbdc319d99975d053f454f9e5
parente3c6e19ad039706702697d5772aaf66f3789f96a (diff)
Mention QPromise on QtConcurrent page
Change-Id: I82d3ddd4a9129694d6dedcc742165cb2af135527 Reviewed-by: Andrei Golubev <andrei.golubev@qt.io> Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
-rw-r--r--src/concurrent/doc/src/qtconcurrent-index.qdoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/concurrent/doc/src/qtconcurrent-index.qdoc b/src/concurrent/doc/src/qtconcurrent-index.qdoc
index acb516fb63..926f316c4e 100644
--- a/src/concurrent/doc/src/qtconcurrent-index.qdoc
+++ b/src/concurrent/doc/src/qtconcurrent-index.qdoc
@@ -108,6 +108,10 @@
\li QFutureSynchronizer is a convenience class that automatically
synchronizes several QFutures.
+ \li QPromise provides a way to report progress and results of the asynchronous
+ computation to QFuture. Allows suspending or canceling the task when
+ requested by QFuture.
+
\endlist
Qt Concurrent supports several STL-compatible container and iterator types,