summaryrefslogtreecommitdiffstats
path: root/src/widgets/doc/src
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2012-11-28 13:37:13 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-28 16:21:57 +0100
commitbf9691d9b75afe98adc601e6e80c366aa9d1e43a (patch)
tree7b8687ed55ae6ef80a19e1a00592eec7f91cdd08 /src/widgets/doc/src
parenteca4936ea213536966738d6fd4e076b493afa5b4 (diff)
Remove Qt 3 references from model/view documentation.
Also, don't pretend that Qt 4 is new. Change-Id: Ib8f719310059093b31181e3c98cf5c028c3018dc Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/widgets/doc/src')
-rw-r--r--src/widgets/doc/src/model-view-programming.qdoc23
1 files changed, 7 insertions, 16 deletions
diff --git a/src/widgets/doc/src/model-view-programming.qdoc b/src/widgets/doc/src/model-view-programming.qdoc
index 8c554eb9b0..804c91cea4 100644
--- a/src/widgets/doc/src/model-view-programming.qdoc
+++ b/src/widgets/doc/src/model-view-programming.qdoc
@@ -33,7 +33,7 @@
\section1 Introduction to Model/View Programming
- Qt 4 introduced a new set of item view classes that use a model/view
+ Qt contains a set of item view classes that use a model/view
architecture to manage the relationship between data and the way it
is presented to the user. The separation of functionality introduced by
this architecture gives developers greater flexibility to customize the
@@ -163,7 +163,7 @@
\section3 Delegates
QAbstractItemDelegate is the abstract base class for delegates in the
- model/view framework. Since Qt 4.4, the default delegate implementation is
+ model/view framework. The default delegate implementation is
provided by QStyledItemDelegate, and this is used as the default delegate
by Qt's standard views. However, QStyledItemDelegate and QItemDelegate are
independent alternatives to painting and providing editors for items in
@@ -199,12 +199,10 @@
A number of \e convenience classes are derived from the standard view
classes for the benefit of applications that rely on Qt's item-based
- item view and table classes. They are not intended to be subclassed,
- but simply exist to provide a familiar interface to the equivalent classes
- in Qt 3.
+ item view and table classes. They are not intended to be subclassed.
+
Examples of such classes include \l QListWidget, \l QTreeWidget, and
- \l QTableWidget; these provide similar behavior to the \c QListBox,
- \c QListView, and \c QTable classes in Qt 3.
+ \l QTableWidget.
These classes are less flexible than the view classes, and cannot be
used with arbitrary models. We recommend that you use a model/view
@@ -869,8 +867,7 @@
\section2 Concepts
- The selection model used in the item view classes offers many improvements
- over the selection model used in Qt 3. It provides a more general
+ The selection model used in the item view classes provides a general
description of selections based on the facilities of the model/view
architecture. Although the standard classes for manipulating selections are
sufficient for the item views provided, the selection model allows you to
@@ -1410,13 +1407,7 @@
\section1 Item view convenience classes
- 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 item-based widgets have been given names which reflect their uses:
+ The item-based widgets have names which reflect their uses:
\c QListWidget provides a list of items, \c QTreeWidget displays a
multi-level tree structure, and \c QTableWidget provides a table of cell
items. Each class inherits the behavior of the \c QAbstractItemView