diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2019-11-26 16:08:38 +0100 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2020-01-17 22:17:03 +0100 |
commit | 4ec6748c6a30f74e6d8fbb90fc118b306d1fa690 (patch) | |
tree | 7d515776b29900e8208343761ccc8d019167216a /src/widgets/itemviews | |
parent | cd5ce46dc5099aeb9f31aaa50cceb13add831382 (diff) |
QMap: deprecate insertMulti, unite and friends
insertMulti and unite will silently transform a QMap into a multi-map
which is not behavior we want to keep around anymore and as such is
being deprecated. QMap functions that only make sense in a multi-map
scenario are also deprecated and the implementation is moved to
QMultiMap where it makes sense.
Use QMultiMap if multiple keys are desired and insert(const QMap &)
if a non multi-map-converting unite is desired.
[ChangeLog][QtCore][QMap] insertMulti(), unite(), values(Key),
uniqueKeys(), count(Key) is now deprecated. Please use
QMultiMap instead.
Task-number: QTBUG-35544
Change-Id: I158c938ceefb5aaba0e6e7513b2c26a64d29d521
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/widgets/itemviews')
0 files changed, 0 insertions, 0 deletions