Obsolete Members for QMultiMap

以下成员源于类 QMultiMap 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。

公共函数

(弃用) void insert (const QMultiMap<Key, T> & map )
(弃用) void insert (QMultiMap<Key, T> && map )
(弃用) QMultiMap::iterator insertMulti (const Key & key , const T & value )
(弃用) QMultiMap::iterator insertMulti (QMultiMap::const_iterator pos , const Key & key , const T & value )
(弃用) std::multimap<Key, T> toStdMap () const

成员函数文档编制

void QMultiMap:: insert (const QMultiMap < Key , T > & map )

This function is deprecated. We strongly advise against using it in new code.

使用 unite () 代替。

插入所有项在 map 进此映射。

void QMultiMap:: insert ( QMultiMap < Key , T > && map )

This function is deprecated. We strongly advise against using it in new code.

使用 unite () 代替。

这是重载函数。

Moves all the items from map 进此映射。

若 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.

使用 insert () 代替。

Inserts a new item with the key key 和值 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.

使用 insert () 代替。

这是重载函数。

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.

使用 toStdMultiMap () 代替。

Returns an STL multi map equivalent to this QMultiMap .