qt5base-lts/tests/auto/corelib/itemmodels
Gabriel de Dietrich 7ab29c4ebb Allow exposing QItemSelectionModel to QML
This requires being able to create a QItemSelectionModel
without specifiying its model, and also setting the model
later. Also, several classes, like QPersistentModelIndex,
need to be declared as meta-type.

Finally, and in order to introduce the 'model' property,
we need to have a type compatible getter. Hence the new,
non-const model() function.

Where needed, meta-type declarations have been removed from
auto-tests.

[ChangeLog][QtCore][Item Models] QItemSelectionModel
can now be created without a model and have one set later.

Change-Id: If49bed061a5d1012331f335ca7f6e3959ecd3f1c
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
2015-02-03 18:40:19 +00:00
..
qabstractitemmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qabstractproxymodel Allow exposing QItemSelectionModel to QML 2015-02-03 18:40:19 +00:00
qidentityproxymodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qitemmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qitemselectionmodel Allow exposing QItemSelectionModel to QML 2015-02-03 18:40:19 +00:00
qsortfilterproxymodel QSortFilterProxyModel: fix a regression 2015-01-17 06:32:37 +01:00
qstringlistmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
itemmodels.pro exclude gui-needing tests from -no-gui build 2013-10-18 20:05:27 +02:00