summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorhjk <qthjk@ovi.com>2012-12-12 16:27:17 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-17 11:57:02 +0100
commit127f9e109869897c144d86be3a7999a2e1b4dea7 (patch)
treea8de4c50cf4df99f3ec3c9a205dfa846bc6d7abc /examples
parent8fa464ffa6d2ec5d1f81c67682d5a688da6ec4e9 (diff)
Fix mandlebrot and imagescaling example qdoc markup.
Change-Id: I5c9802cab917203092d93fca73b166d2dfeb64bc Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc5
-rw-r--r--examples/threads/doc/src/mandelbrot.qdoc8
2 files changed, 6 insertions, 7 deletions
diff --git a/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc
index 4cf07e8edb..c270bda102 100644
--- a/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc
+++ b/examples/qtconcurrent/imagescaling/doc/src/qtconcurrent-imagescaling.qdoc
@@ -28,11 +28,10 @@
/*!
\example qtconcurrent/imagescaling
\title Image Scaling Example
- \bried Demonstrates how to asynchronously scale images.
+ \brief Demonstrates how to asynchronously scale images.
\ingroup qtconcurrentexamples
+ \image imagescaling_example.png
The QtConcurrent Map example shows how to use the asynchronous
QtConcurrent API to load and scale a collection of images.
-
- \image imagescaling_example.png
*/
diff --git a/examples/threads/doc/src/mandelbrot.qdoc b/examples/threads/doc/src/mandelbrot.qdoc
index 02da084810..6ca0909f12 100644
--- a/examples/threads/doc/src/mandelbrot.qdoc
+++ b/examples/threads/doc/src/mandelbrot.qdoc
@@ -28,21 +28,21 @@
/*!
\example mandelbrot
\title Mandelbrot Example
- \brief Demonstrates multi-thread programming using Qt
\ingroup qtconcurrent-mtexamples
- \brief The Mandelbrot example shows how to use a worker thread to
+ \brief The Mandelbrot example demonstrates multi-thread programming
+ using Qt. It shows how to use a worker thread to
perform heavy computations without blocking the main thread's
event loop.
+ \image mandelbrot-example.png Screenshot of the Mandelbrot example
+
The heavy computation here is the Mandelbrot set, probably the
world's most famous fractal. These days, while sophisticated
programs such as \l{http://xaos.sourceforge.net/}{XaoS} that provide real-time zooming in the
Mandelbrot set, the standard Mandelbrot algorithm is just slow
enough for our purposes.
- \image mandelbrot-example.png Screenshot of the Mandelbrot example
-
In real life, the approach described here is applicable to a
large set of problems, including synchronous network I/O and
database access, where the user interface must remain responsive