summaryrefslogtreecommitdiffstats
path: root/src/concurrent
diff options
context:
space:
mode:
authorSona Kurazyan <sona.kurazyan@qt.io>2020-11-09 16:44:26 +0100
committerSona Kurazyan <sona.kurazyan@qt.io>2020-11-12 08:56:14 +0100
commit190b77463d40db0278919992912d48d1e96e4796 (patch)
tree995fb829020824d55a45dc2083ce1590a79a62e0 /src/concurrent
parentcc3f693029d6fcc65a0153b658061bd121a6af66 (diff)
Improve QtConcurrent ImageScaling example to demo new features
In order to demonstrate the new functionality, changed the example to download the images from the network, scale and show them by attaching different continuations to QFuture. Because QtConcurrent::map is not used anymore, removed the suspension functionality (supporting suspension of download would complicate the logic). Task-number: QTBUG-87205 Change-Id: I5a48b63195d28025ae8c5de28bc6d6178dad03db Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/concurrent')
-rw-r--r--src/concurrent/doc/qtconcurrent.qdocconf3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/concurrent/doc/qtconcurrent.qdocconf b/src/concurrent/doc/qtconcurrent.qdocconf
index b60b3c1cd7..d68ec5cc1d 100644
--- a/src/concurrent/doc/qtconcurrent.qdocconf
+++ b/src/concurrent/doc/qtconcurrent.qdocconf
@@ -38,7 +38,8 @@ exampledirs += ../../../examples/qtconcurrent \
.. \
.
-manifestmeta.highlighted.names = "QtConcurrent/QtConcurrent Progress Dialog Example"
+manifestmeta.highlighted.names = "QtConcurrent/QtConcurrent Progress Dialog Example" \
+ "Image Scaling Example"
excludedirs += ../../../examples/widgets/doc