diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2020-12-13 21:37:23 +0100 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2021-02-05 01:00:17 +0000 |
commit | a1e9817cec5e0dccf26040d0b0d24e974841d5b8 (patch) | |
tree | 46ab415e3cbd6ac210205179e2fcf7f0dddb7cfc /src/corelib/kernel | |
parent | 8b485664e4700abf659555f556f020c1e89c0671 (diff) |
QStandardItem(Model): refactor multiData support
QSI(M) allow users to override their data() functions. This
means that we can't have their data() implemented in terms of
multiData(), or otherwise a subclass that overrides data() will
fall out of sync with its multiData() implementation. We must
keep multiData() implemented in terms of data() instead.
While at it, document QSI::multiData().
Pick-to: 6.0 6.1
Task-number: QTBUG-89423
Change-Id: If30a980d8449135b516745fec73170d53367b4b7
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'src/corelib/kernel')
0 files changed, 0 insertions, 0 deletions