diff options
author | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-11-09 16:44:26 +0100 |
---|---|---|
committer | Sona Kurazyan <sona.kurazyan@qt.io> | 2020-11-12 08:56:14 +0100 |
commit | 190b77463d40db0278919992912d48d1e96e4796 (patch) | |
tree | 995fb829020824d55a45dc2083ce1590a79a62e0 /src/concurrent | |
parent | cc3f693029d6fcc65a0153b658061bd121a6af66 (diff) | |
download | qtbase-190b77463d40db0278919992912d48d1e96e4796.tar.gz |
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.qdocconf | 3 |
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 |