Move XmlListModel to seperate plugin
authorCharles Yin <charles.yin@nokia.com>
Wed, 16 Nov 2011 07:58:19 +0000 (17:58 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 1 Dec 2011 01:40:06 +0000 (02:40 +0100)
commit44d8691745ee9e8f927bdcd493f26b759c77d71c
tree03c45294a3ae6d199bd25aec25158f37a03d2fd9
parent5b949572aa56c5bce087fb0c023af7c96c40f139
Move XmlListModel to seperate plugin

XmlListModel is the only feature inside QtDeclarative which depends on
the QtXmlPatterns module, move this item to a separate plugin can reduce
the unnecessary dependency in most use cases.

To use the new XmlListModel, an additional "import QtQuick.xmllistmodel 2.0" is
needed.

Task-number:QTBUG-22158
Change-Id: I9e19eb6cbba46cd40fb7ffcdbd741f346779a54d
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
31 files changed:
doc/src/declarative/qdeclarativemodels.qdoc
doc/src/snippets/declarative/xmlrole.qml
examples/declarative/flickr/content/RssModel.qml
examples/declarative/modelviews/visualdatamodel/slideshow.qml
examples/declarative/particles/itemparticle/content/RssModel.qml
examples/declarative/photoviewer/PhotoViewerCore/AlbumDelegate.qml
examples/declarative/photoviewer/PhotoViewerCore/RssModel.qml
examples/declarative/rssnews/rssnews.qml
examples/declarative/twitter/TwitterCore/RssModel.qml
examples/declarative/twitter/TwitterCore/UserModel.qml
examples/declarative/twitter/twitter.qml
src/declarative/util/qdeclarativeutilmodule.cpp
src/declarative/util/util.pri
src/imports/imports.pro
src/imports/xmllistmodel/plugin.cpp [new file with mode: 0644]
src/imports/xmllistmodel/qdeclarativexmllistmodel.cpp [moved from src/declarative/util/qdeclarativexmllistmodel.cpp with 98% similarity]
src/imports/xmllistmodel/qdeclarativexmllistmodel_p.h [moved from src/declarative/util/qdeclarativexmllistmodel_p.h with 98% similarity]
src/imports/xmllistmodel/qmldir [new file with mode: 0644]
src/imports/xmllistmodel/xmllistmodel.pro [new file with mode: 0644]
tests/auto/declarative/qdeclarativexmllistmodel/data/empty.xml [new file with mode: 0644]
tests/auto/declarative/qdeclarativexmllistmodel/data/get.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/model.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/propertychanges.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/recipes.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/roleCrash.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/roleErrors.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/roleKeys.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/testtypes.qml
tests/auto/declarative/qdeclarativexmllistmodel/data/unique.qml
tests/auto/declarative/qdeclarativexmllistmodel/qdeclarativexmllistmodel.pro
tests/auto/declarative/qdeclarativexmllistmodel/tst_qdeclarativexmllistmodel.cpp