diff options
author | Andrew den Exter <andrew.den-exter@nokia.com> | 2012-07-10 17:01:52 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-25 02:15:15 +0200 |
commit | 7daab8039abc32ab5be5706a08cb58905fe0e0b6 (patch) | |
tree | 9ceb8afdeb37ac4d9bc089545e73e31040b847e4 /src/qml/qml/qquicklistmodel_p_p.h | |
parent | b355aacb6e5c4f9b7ebb317125409ea0959d11d6 (diff) |
Remove QListModelInterface.
Implement ListModel and XmlListModel using QAbstractListModel
instead.
Task-number: QTBUG-15728
Change-Id: I14e03d90883d341f4b1d89c1e9fc9dc1534fde78
Reviewed-by: Glenn Watson <glenn.watson@nokia.com>
Diffstat (limited to 'src/qml/qml/qquicklistmodel_p_p.h')
-rw-r--r-- | src/qml/qml/qquicklistmodel_p_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/qml/qquicklistmodel_p_p.h b/src/qml/qml/qquicklistmodel_p_p.h index a006721f9c..3214213bba 100644 --- a/src/qml/qml/qquicklistmodel_p_p.h +++ b/src/qml/qml/qquicklistmodel_p_p.h @@ -89,7 +89,7 @@ public: static DynamicRoleModelNode *create(const QVariantMap &obj, QQuickListModel *owner); - void updateValues(const QVariantMap &object, QList<int> &roles); + void updateValues(const QVariantMap &object, QVector<int> &roles); QVariant getValue(const QString &name) { @@ -162,7 +162,7 @@ public: } void updateValues(); - void updateValues(const QList<int> &roles); + void updateValues(const QVector<int> &roles); QQuickListModel *m_model; int m_elementIndex; @@ -329,7 +329,7 @@ public: return elements.count(); } - void set(int elementIndex, v8::Handle<v8::Object> object, QList<int> *roles, QV8Engine *eng); + void set(int elementIndex, v8::Handle<v8::Object> object, QVector<int> *roles, QV8Engine *eng); void set(int elementIndex, v8::Handle<v8::Object> object, QV8Engine *eng); int append(v8::Handle<v8::Object> object, QV8Engine *eng); |