diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-04-30 06:18:50 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-04-30 06:18:50 (GMT) |
commit | a26c1cbe326f59162cd6549b8da479c4a7f198da (patch) | |
tree | ab6e2f999d19d7e07d5b4ad2fed48cd30c42063e /src/declarative/fx/qfxlistview.cpp | |
parent | 488d2f6012c13291d2a8fe7907c332e2ab1b1b15 (diff) | |
download | Qt-a26c1cbe326f59162cd6549b8da479c4a7f198da.zip Qt-a26c1cbe326f59162cd6549b8da479c4a7f198da.tar.gz Qt-a26c1cbe326f59162cd6549b8da479c4a7f198da.tar.bz2 |
Documentation work.
Diffstat (limited to 'src/declarative/fx/qfxlistview.cpp')
-rw-r--r-- | src/declarative/fx/qfxlistview.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/fx/qfxlistview.cpp b/src/declarative/fx/qfxlistview.cpp index 13e5b21..6d11764 100644 --- a/src/declarative/fx/qfxlistview.cpp +++ b/src/declarative/fx/qfxlistview.cpp @@ -797,10 +797,10 @@ void QFxListViewPrivate::fixupX() \inherits Flickable \brief The ListView element provides a list view of items provided by a model. - The model is typically provided by a QAbstractListModel "C++ model object", but can also be created directly in XML. + The model is typically provided by a QAbstractListModel "C++ model object", but can also be created directly in QML. The items are laid out vertically or horizontally and may be flicked to scroll. - The below example creates a very simple vertical list, using an XML model. + The below example creates a very simple vertical list, using a QML model. \image trivialListView.png The user interface defines a delegate to display an item, a highlight, @@ -808,7 +808,7 @@ void QFxListViewPrivate::fixupX() \snippet doc/src/snippets/declarative/listview/listview.qml 3 - The model is defined as a ListModel using XML: + The model is defined as a ListModel using QML: \quotefromfile doc/src/snippets/declarative/listview/dummydata/ContactModel.qml \skipto <ListModel \printuntil </ListModel @@ -840,7 +840,7 @@ QFxListView::~QFxListView() The C++ model object must be a \l QListModelInterface subclass, a \l VisualModel, or a simple list. - Models can also be created directly in XML, using the \l ListModel element. + Models can also be created directly in QML, using the \l ListModel element. */ QVariant QFxListView::model() const { |