summaryrefslogtreecommitdiffstats
path: root/doc/src/examples
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/examples')
-rw-r--r--doc/src/examples/simpletreemodel.qdoc18
-rw-r--r--doc/src/examples/spinboxdelegate.qdoc5
2 files changed, 10 insertions, 13 deletions
diff --git a/doc/src/examples/simpletreemodel.qdoc b/doc/src/examples/simpletreemodel.qdoc
index 16cf8b7..790d5fa 100644
--- a/doc/src/examples/simpletreemodel.qdoc
+++ b/doc/src/examples/simpletreemodel.qdoc
@@ -32,19 +32,17 @@
The Simple Tree Model example shows how to create a basic, read-only
hierarchical model to use with Qt's standard view classes. For a
description of simple non-hierarchical list and table models, see the
- \l{model-view-programming.html}{Model/View Programming} overview.
+ \l{Model/View Programming} overview.
\image simpletreemodel-example.png
- Qt's model/view architecture provides a standard way for views to
- manipulate information in a data source, using an abstract model
- of the data to simplify and standardize the way it is accessed.
- Simple models represent data as a table of items, and allow views
- to access this data via an
- \l{model-view-programming.html#model-indexes} {index-based}
- system. More generally, models can be used to represent data in
- the form of a tree structure by allowing each item to act as a
- parent to a table of child items.
+ Qt's model/view architecture provides a standard way for views to manipulate
+ information in a data source, using an abstract model of the data to
+ simplify and standardize the way it is accessed. Simple models represent
+ data as a table of items, and allow views to access this data via an
+ \l{Model/View Programming#Models}{index-based} system. More generally, models can
+ be used to represent data in the form of a tree structure by allowing each
+ item to act as a parent to a table of child items.
Before attempting to implement a tree model, it is worth considering whether
the data is supplied by an external source, or whether it is going to be
diff --git a/doc/src/examples/spinboxdelegate.qdoc b/doc/src/examples/spinboxdelegate.qdoc
index da65831..48e4bfa 100644
--- a/doc/src/examples/spinboxdelegate.qdoc
+++ b/doc/src/examples/spinboxdelegate.qdoc
@@ -42,9 +42,8 @@
\image spinboxdelegate-example.png
This concepts behind this example are covered in the
- \l{model-view-programming.html#delegate-classes}{Delegate Classes}
- chapter of the \l{model-view-programming.html}{Model/View
- Programming} overview.
+ \l{Model/View Programming#Delegate Classes}{Delegate Classes} chapter of the
+ \l{Model/View Programming} overview.
\section1 SpinBoxDelegate Class Definition