qt5base-lts/tests/auto/corelib/itemmodels
Luca Beldi c27d2a57a4 Make QAbstractProxyModel itemData() behave like data()
QAbstractProxyModel::itemData/setItemData should behave
just like data()/setData() instead of calling the
QAbstractItemModel implementation.
Before this change the QAbstractProxyModel implementation
calls its the QAbstractItemModel implementation,
which ends up calling data()/setData() in a loop
bypassing the convenience of itemData/setItemData.

[ChangeLog][QtCore][QAbstractProxyModel] The itemData()
and setItemData() functions will now call the respective
implementations in the source model (after mapping the
index to a source index), matching what data() and
setData() already did.
Before, the proxy model simply called the default
implementations of itemData()/setItemData() in its own
base class (QAbstractItemModel).

Change-Id: I9e680d355f44fa130660dd7e1c8ac37484c1566e
Reviewed-by: David Faure <david.faure@kdab.com>
2021-11-26 17:12:07 +00:00
..
qabstractitemmodel Make sure QMimeData is fully declared 2021-01-11 16:57:41 +01:00
qabstractproxymodel QAbstractProxyModel: port to new property system 2021-05-04 22:58:59 +02:00
qconcatenatetablesproxymodel emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
qidentityproxymodel Make QAbstractProxyModel itemData() behave like data() 2021-11-26 17:12:07 +00:00
qitemmodel Remove the qmake project files 2021-01-07 15:32:28 +01:00
qitemselectionmodel Consistent handling of disabled items in QItemSelectionModel 2021-07-15 18:09:12 +02:00
qsortfilterproxymodel Untangle qsortfilterproxymodel unittests 2021-10-01 18:30:25 +02:00
qsortfilterproxymodel_recursive Remove the qmake project files 2021-01-07 15:32:28 +01:00
qsortfilterproxymodel_regularexpression Untangle qsortfilterproxymodel unittests 2021-10-01 18:30:25 +02:00
qstringlistmodel emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
qtransposeproxymodel emit layoutAboutToBeChanged timely 2021-07-20 21:27:27 +01:00
CMakeLists.txt Untangle qsortfilterproxymodel unittests 2021-10-01 18:30:25 +02:00