diff options
author | David Boddie <dboddie@trolltech.com> | 2009-10-09 13:44:55 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-10-09 16:57:41 (GMT) |
commit | db77c5b9c74dc022fc2b37fae73ddbbe89e89c07 (patch) | |
tree | f6002a5038ab5554ca6a76329ed3db40fcb5aad6 /doc/src/snippets/simplemodel-use/main.cpp | |
parent | 0f848030a2477a737a626a5b608cad1653a8ba1a (diff) | |
download | Qt-db77c5b9c74dc022fc2b37fae73ddbbe89e89c07.zip Qt-db77c5b9c74dc022fc2b37fae73ddbbe89e89c07.tar.gz Qt-db77c5b9c74dc022fc2b37fae73ddbbe89e89c07.tar.bz2 |
Doc: Replace QDirModel with QFileSystemModel in examples and overviews.
Task-number: QTBUG-4152
Reviewed-by: Trust Me
Diffstat (limited to 'doc/src/snippets/simplemodel-use/main.cpp')
-rw-r--r-- | doc/src/snippets/simplemodel-use/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/snippets/simplemodel-use/main.cpp b/doc/src/snippets/simplemodel-use/main.cpp index a3bb0e7..d7fc755 100644 --- a/doc/src/snippets/simplemodel-use/main.cpp +++ b/doc/src/snippets/simplemodel-use/main.cpp @@ -69,7 +69,7 @@ int main(int argc, char *argv[]) layout->addWidget(title); //! [0] - QDirModel *model = new QDirModel; + QFileSystemModel *model = new QFileSystemModel; QModelIndex parentIndex = model->index(QDir::currentPath()); int numRows = model->rowCount(parentIndex); //! [0] |