summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc8
1 files changed, 6 insertions, 2 deletions
diff --git a/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc b/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc
index 3920a37c..9a66c26a 100644
--- a/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc
+++ b/examples/datavisualization/itemmodel/doc/src/itemmodel.qdoc
@@ -118,12 +118,16 @@
We created the data generator in the application main and gave it the graph and the table
widget as parameters:
- \code GraphDataGenerator generator(graph, tableWidget); \endcode
+ \code
+ GraphDataGenerator generator(graph, tableWidget);
+ \endcode
We added a separate start method to the generator, so that it wouldn't start doing anything
until everything else is set up. We then called the method when starting the application:
- \code generator.start(); \endcode
+ \code
+ generator.start();
+ \endcode
Let's have a look at the contents of the \c start() method: