From 190b77463d40db0278919992912d48d1e96e4796 Mon Sep 17 00:00:00 2001 From: Sona Kurazyan Date: Mon, 9 Nov 2020 16:44:26 +0100 Subject: 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 Reviewed-by: Jarek Kobus --- src/concurrent/doc/qtconcurrent.qdocconf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/concurrent') 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 -- cgit v1.2.3