Obsolete Members for QMap::const_iterator

Les membres suivants de la classe const_iterator sont obsolètes. Ils sont fournis pour permettre aux anciens codes sources de continuer à fonctionner. Il est fortement déconseillé de les utiliser dans un nouveau code.

Fonctions publiques

(deprecated in 6.2) QMap<Key, T>::const_iterator &operator+=(QMap<Key, T>::const_iterator::difference_type n)
(deprecated in 6.2) QMap<Key, T>::const_iterator &operator-=(QMap<Key, T>::const_iterator::difference_type n)

Non-membres apparentés

(deprecated in 6.2) QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)
(deprecated in 6.2) QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)
(deprecated in 6.2) QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)
(deprecated in 6.2) QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)

Non-membres apparentés

[deprecated in 6.2] QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)

[deprecated in 6.2] QMap<Key, T>::const_iterator operator+(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)

[deprecated in 6.2] QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator it, QMap<Key, T>::const_iterator::difference_type j)

[deprecated in 6.2] QMap<Key, T>::const_iterator operator-(QMap<Key, T>::const_iterator::difference_type j, QMap<Key, T>::const_iterator it)

[deprecated in 6.2] QMap<Key, T>::const_iterator &const_iterator::operator+=(QMap<Key, T>::const_iterator::difference_type n)

[deprecated in 6.2] QMap<Key, T>::const_iterator &const_iterator::operator-=(QMap<Key, T>::const_iterator::difference_type n)

Cette fonction est obsolète depuis la version 6.2. Il est fortement déconseillé de l'utiliser dans un nouveau code.

Utilisez plutôt std::next, std::prev ou std::advance.

Déplace un itérateur de n positions. Ces opérations peuvent être coûteuses pour de grandes valeurs de n. QMap itérateurs ne sont pas à accès aléatoire.

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