qt5base-lts/tests/auto/corelib/itemmodels
Giuseppe D'Angelo f96baeb75f QSortFilterProxyModel: honor the roles parameter of dataChanged
When the source model emits dataChanged, it may tell which roles
have been changed. That information was lost when using a
QSortFilterProxyModel -- the proxy simply dropped that argument
(meaning "all roles may have changed"). It's instead a good idea
to forward the roles argument, as it may minimize hits on the
proxy (on unchanged roles).

[ChangeLog][QtCore][QSortFilterProxyModel] QSortFilterProxyModel
now properly forwards the roles that have been changed when
the source model emits dataChanged().

Task-number: QTBUG-35440
Change-Id: Ifa5213866ba04dfd57d50b5fbd47638f2191eb8e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: David Faure <david.faure@kdab.com>
2014-12-07 20:51:08 +01:00
..
qabstractitemmodel Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qabstractproxymodel Update license headers and add new license files 2014-09-24 12:26:19 +02: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 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qsortfilterproxymodel QSortFilterProxyModel: honor the roles parameter of dataChanged 2014-12-07 20:51:08 +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