diff options
authorFrederik Gladhorn <>2012-08-25 00:12:11 +0200
committerQt by Nokia <>2012-08-27 10:36:38 +0200
commitd3dfe55fd412c1e3f15fb85cb7f1abc309f0d9b7 (patch)
parent547a1bea492954d828aa0798be93384669812489 (diff)
doc: clean up model view overview links
Change-Id: I4aaf0cb254ffa4c7369e51b35af0226c98ec293c Reviewed-by: Gabriel de Dietrich <>
1 files changed, 10 insertions, 12 deletions
diff --git a/src/widgets/doc/src/model-view-programming.qdoc b/src/widgets/doc/src/model-view-programming.qdoc
index 59a75114d7..ec69b0c7e9 100644
--- a/src/widgets/doc/src/model-view-programming.qdoc
+++ b/src/widgets/doc/src/model-view-programming.qdoc
@@ -1172,7 +1172,7 @@
by the user.
For an example of a more complex model, see the
- \l{itemviews/simpletreemodel}{Simple Tree Model} example.
+ \l{widgets/itemviews/simpletreemodel}{Simple Tree Model} example.
The requirements of QAbstractItemModel subclasses is described in more
detail in the \l{Model Subclassing Reference} document.
@@ -1189,7 +1189,7 @@
However, if the underlying data structure can only be represented
by a hierarchical tree structure, it is necessary to subclass
QAbstractItemModel. This approach is taken in the
- \l{itemviews/simpletreemodel}{Simple Tree Model} example.
+ \l{widgets/itemviews/simpletreemodel}{Simple Tree Model} example.
In this section, we implement a simple model based on a list of
strings, so the QAbstractListModel provides an ideal base class on
@@ -1416,13 +1416,11 @@
\section1 Item view convenience classes
- Qt 4 also introduced some standard widgets to provide classic
+ Qt 4 introduced some standard widgets to provide classic
item-based container widgets. These behave in a similar way to the
item view classes in Qt 3, but have been rewritten to use the
underlying model/view framework for performance and
- maintainability. The old item view classes are still available in
- the compatibility library (see the \l{porting4.html}{Porting
- Guide} for more information).
+ maintainability.
The item-based widgets have been given names which reflect their uses:
\c QListWidget provides a list of items, \c QTreeWidget displays a
@@ -1847,7 +1845,7 @@
Note that the model will typically need to provide implementations of the
QAbstractItemModel::insertRows() and QAbstractItemModel::setData() functions.
- \sa {Item Views Puzzle Example}
+ \sa {widgets/itemviews/puzzle}{Item Views Puzzle Example}
\section1 Proxy models
@@ -2330,10 +2328,10 @@
\section1 Related examples
- \li \l{itemviews/dirview}{Dir View}
- \li \l{itemviews/spinboxdelegate}{Spin Box Delegate}
- \li \l{itemviews/pixelator}{Pixelator}
- \li \l{itemviews/simpletreemodel}{Simple Tree Model}
- \li \l{itemviews/chart}{Chart}
+ \li \l{widgets/itemviews/dirview}{Dir View}
+ \li \l{widgets/itemviews/spinboxdelegate}{Spin Box Delegate}
+ \li \l{widgets/itemviews/pixelator}{Pixelator}
+ \li \l{widgets/itemviews/simpletreemodel}{Simple Tree Model}
+ \li \l{widgets/itemviews/chart}{Chart}