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) void | insert(const QMultiMap<Key, T> &map) |
(deprecated) void | insert(QMultiMap<Key, T> &&map) |
(deprecated) QMultiMap::iterator | insertMulti(const Key &key, const T &value) |
(deprecated) QMultiMap::iterator | insertMulti(QMultiMap::const_iterator pos, const Key &key, const T &value) |
(deprecated) std::multimap<Key, T> | toStdMap() const |
Member Function Documentation
void QMultiMap::insert(const QMultiMap<Key, T> &map)
This function is deprecated. We strongly advise against using it in new code.
Use unite() instead.
Inserts all the items in map into this map.
void QMultiMap::insert(QMultiMap<Key, T> &&map)
This function is deprecated. We strongly advise against using it in new code.
Use unite() instead.
This is an overloaded function.
Moves all the items from map into this map.
If map is shared, then the items will be copied instead.
QMultiMap::iterator QMultiMap::insertMulti(const Key &key, const T &value)
This function is deprecated. 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.
QMultiMap::iterator QMultiMap::insertMulti(QMultiMap::const_iterator pos, const Key &key, const T &value)
This function is deprecated. We strongly advise against using it in new code.
Use insert() instead.
This is an overloaded function.
Inserts a new item with the key key and value value and with hint pos suggesting where to do the insert.
std::multimap<Key, T> QMultiMap::toStdMap() const
This function is deprecated. We strongly advise against using it in new code.
Use toStdMultiMap() instead.
Returns an STL multi map equivalent to this QMultiMap.
© 2024 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.