qt5base-lts/tests/auto/widgets
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
..
dialogs Merge remote-tracking branch 'origin/5.4' into dev 2015-01-21 11:10:14 +01:00
effects Update license headers and add new license files 2014-09-24 12:26:19 +02:00
gestures QPanGestureRecognizer: Make the number of touch points a parameter. 2014-11-17 14:38:15 +01:00
graphicsview Make it more obvious that Q_WS_ is dead code, and should perhaps be ported 2015-02-03 11:49:14 +00:00
itemviews Allow exposing QItemSelectionModel to QML 2015-02-03 18:40:19 +00:00
kernel Make it more obvious that Q_WS_ is dead code, and should perhaps be ported 2015-02-03 11:49:14 +00:00
styles Android: Fix some QStyle tests 2015-01-08 10:07:06 +01:00
util Change bugreports.qt-project.org -> bugreports.qt.io 2014-12-18 09:46:09 +01:00
widgets Make it more obvious that Q_WS_ is dead code, and should perhaps be ported 2015-02-03 11:49:14 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00