Obsolete Members for QMultiMap
The following members of class QMultiMap are deprecated. They are provided to keep old source code working. We strongly advise against using them in new code.
Public Functions
(deprecated in 6.0) void | insert(const QMultiMap<Key, T> &map) |
(deprecated in 6.0) void | insert(QMultiMap<Key, T> &&map) |
(deprecated in 6.0) QMultiMap<Key, T>::iterator | insertMulti(const Key &key, const T &value) |
(deprecated in 6.0) QMultiMap<Key, T>::iterator | insertMulti(QMultiMap<Key, T>::const_iterator pos, const Key &key, const T &value) |
(deprecated in 6.0) std::multimap<Key, T> | toStdMap() const |
Member Function Documentation
[deprecated in 6.0] void QMultiMap::insert(const QMultiMap<Key, T> &map)
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use unite() instead.
Inserts all the items in map into this map.
[deprecated in 6.0] void QMultiMap::insert(QMultiMap<Key, T> &&map)
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use unite() instead.
Moves all the items from map into this map.
If map is shared, then the items will be copied instead.
This is an overloaded function.
[deprecated in 6.0] QMultiMap<Key, T>::iterator QMultiMap::insertMulti(const Key &key, const T &value)
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use insert() instead.
Inserts a new item with the key key and a value of value, and returns an iterator pointing to the new item.
[deprecated in 6.0] QMultiMap<Key, T>::iterator QMultiMap::insertMulti(QMultiMap<Key, T>::const_iterator pos, const Key &key, const T &value)
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use insert() instead.
Inserts a new item with the key key and value value and with hint pos suggesting where to do the insert.
This is an overloaded function.
[deprecated in 6.0] std::multimap<Key, T> QMultiMap::toStdMap() const
This function is deprecated since 6.0. We strongly advise against using it in new code.
Use toStdMultiMap() instead.
Returns an STL multi map equivalent to this QMultiMap.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.