Obsolete Members for QMultiMap

以下成員源於類 QMultiMap 被棄用。 提供它們是為使舊源代碼能繼續工作。強烈建議不要在新代碼中使用它們。

公共函數

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

成員函數文檔編製

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

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

使用 unite () 代替。

插入所有項在 map 進此映射。

[deprecated] 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.

[deprecated] QMultiMap < Key , T > ::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.

[deprecated] QMultiMap < Key , T > ::iterator QMultiMap:: insertMulti ( QMultiMap < Key , T > ::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.

[deprecated] 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 .