aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/types/qqmlmodelindexvaluetype_p.h
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-03-03 18:36:51 +0100
committerGabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>2015-03-22 16:20:10 +0000
commitae1c3eba3e7e11a9b1ab4d18792c82c9bb6e62de (patch)
tree0afbf5ed19f00a91ff8873ef52c190f50acc1436 /src/qml/types/qqmlmodelindexvaluetype_p.h
parent226419514e9a05040e691ac84bae5e1fb5e5191a (diff)
Remove QModelIndexList value type, use Array instead
We implement this by adding QModelIndexList to the set of sequence types. Change-Id: If7e0e88ab0c2916c2b65a926f8241549520d7391 Reviewed-by: Stephen Kelly <steveire@gmail.com>
Diffstat (limited to 'src/qml/types/qqmlmodelindexvaluetype_p.h')
-rw-r--r--src/qml/types/qqmlmodelindexvaluetype_p.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/qml/types/qqmlmodelindexvaluetype_p.h b/src/qml/types/qqmlmodelindexvaluetype_p.h
index 0e655ab3d7..e36f7a0d1e 100644
--- a/src/qml/types/qqmlmodelindexvaluetype_p.h
+++ b/src/qml/types/qqmlmodelindexvaluetype_p.h
@@ -175,19 +175,6 @@ QString q_listToString(const QList<T> &list, const QLatin1String &typeName)
Q_INVOKABLE void removeAt(int i) { v.removeAt(i); } \
int length() const { return v.length(); }
-struct QQmlModelIndexListValueType
-{
- QModelIndexList v;
-
- Q_GADGET
-
-public:
- Q_INVOKABLE QString toString()
- { return q_listToString<QQmlModelIndexValueType>(v, QLatin1String("")); }
-
- QLISTVALUETYPE_QML_API(QModelIndex)
-};
-
struct QQmlItemSelectionValueType
{
QItemSelection v;