summaryrefslogtreecommitdiffstats
path: root/src/gui/itemviews/qdirmodel.cpp
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-09-22 13:46:39 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-09-22 14:31:04 (GMT)
commit7a603159dbf5c1f931cfc257aab0239abaa1d4a1 (patch)
tree1beb0e0c80f0a70ca3aa71aae1bdd7a843e54617 /src/gui/itemviews/qdirmodel.cpp
parentf16fd9324ae5f86dfe851cad9639d2ee2e8571ed (diff)
downloadQt-7a603159dbf5c1f931cfc257aab0239abaa1d4a1.zip
Qt-7a603159dbf5c1f931cfc257aab0239abaa1d4a1.tar.gz
Qt-7a603159dbf5c1f931cfc257aab0239abaa1d4a1.tar.bz2
Doc: Moved the note about QFileSystemModel to the start of the document.
Reviewed-by: Alexis Ménard
Diffstat (limited to 'src/gui/itemviews/qdirmodel.cpp')
-rw-r--r--src/gui/itemviews/qdirmodel.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/itemviews/qdirmodel.cpp b/src/gui/itemviews/qdirmodel.cpp
index 26e1557..2973741 100644
--- a/src/gui/itemviews/qdirmodel.cpp
+++ b/src/gui/itemviews/qdirmodel.cpp
@@ -190,6 +190,9 @@ void QDirModelPrivate::invalidate()
\ingroup model-view
+ \note The usage of QDirModel is not recommended anymore. The
+ QFileSystemModel class is a more performant alternative.
+
This class provides access to the local filesystem, providing functions
for renaming and removing files and directories, and for creating new
directories. In the simplest case, it can be used with a suitable display
@@ -228,10 +231,7 @@ void QDirModelPrivate::invalidate()
\note QDirModel requires an instance of a GUI application.
- \note The usage of QDirModel is not recommended anymore. The
- QFileSystemModel class is a more performant alternative.
-
- \sa nameFilters(), setFilter(), filter(), QListView, QTreeView, QFileSystemModel
+ \sa nameFilters(), setFilter(), filter(), QListView, QTreeView, QFileSystemModel,
{Dir View Example}, {Model Classes}
*/