summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2012-02-03 22:53:31 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-02-08 08:20:27 (GMT)
commit80cebfde10cf34dcc0777c24f1b3ff37cad20181 (patch)
treedf90859850d6a6d23434f0c82146c3b788f708bb /src/gui/itemviews
parentff2de5928b1031d6946807f1e119b0765bc755c8 (diff)
downloadQt-80cebfde10cf34dcc0777c24f1b3ff37cad20181.zip
Qt-80cebfde10cf34dcc0777c24f1b3ff37cad20181.tar.gz
Qt-80cebfde10cf34dcc0777c24f1b3ff37cad20181.tar.bz2
Some small doc fixes, typos and removal of one incorrect paragraph
The QTextStream paragraph that is removed referred to something that is incorrect. This was confirmed for Windows, Linux and Mac. Change-Id: Ibac8f82482f2060308b5b8485d6da228bdf52fe6 Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/gui/itemviews')
-rw-r--r--src/gui/itemviews/qlistwidget.cpp8
-rw-r--r--src/gui/itemviews/qtreeview.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/itemviews/qlistwidget.cpp b/src/gui/itemviews/qlistwidget.cpp
index 28e6e80..180b8e9 100644
--- a/src/gui/itemviews/qlistwidget.cpp
+++ b/src/gui/itemviews/qlistwidget.cpp
@@ -1166,10 +1166,10 @@ void QListWidgetPrivate::_q_dataChanged(const QModelIndex &topLeft,
\snippet doc/src/snippets/qlistwidget-using/mainwindow.cpp 1
- If you need to insert a new item into the list at a particular position, it
- is more required to construct the item without a parent widget and use the
- insertItem() function to place it within the list. The list widget will
- take ownership of the item.
+ If you need to insert a new item into the list at a particular position,
+ then it should be constructed without a parent widget. The insertItem()
+ function should then be used to place it within the list. The list widget
+ will take ownership of the item.
\snippet doc/src/snippets/qlistwidget-using/mainwindow.cpp 6
\snippet doc/src/snippets/qlistwidget-using/mainwindow.cpp 7
diff --git a/src/gui/itemviews/qtreeview.cpp b/src/gui/itemviews/qtreeview.cpp
index 927721a..813787f 100644
--- a/src/gui/itemviews/qtreeview.cpp
+++ b/src/gui/itemviews/qtreeview.cpp
@@ -83,7 +83,7 @@ QT_BEGIN_NAMESPACE
It is simple to construct a tree view displaying data from a
model. In the following example, the contents of a directory are
- supplied by a QDirModel and displayed as a tree:
+ supplied by a QFileSystemModel and displayed as a tree:
\snippet doc/src/snippets/shareddirmodel/main.cpp 3
\snippet doc/src/snippets/shareddirmodel/main.cpp 6