Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QMap< Key, T > Class Template Reference

#include <qmap.h>

+ Collaboration diagram for QMap< Key, T >:

Classes

class  const_iterator
 
class  iterator
 
class  key_iterator
 

Public Types

using key_type = Key
 
using mapped_type = T
 
using difference_type = qptrdiff
 
using size_type = qsizetype
 
typedef QKeyValueIterator< const Key &, const T &, const_iteratorconst_key_value_iterator
 
typedef QKeyValueIterator< const Key &, T &, iteratorkey_value_iterator
 
typedef iterator Iterator
 
typedef const_iterator ConstIterator
 

Public Member Functions

 QMap ()=default
 
void swap (QMap< Key, T > &other) noexcept
 
 QMap (std::initializer_list< std::pair< Key, T > > list)
 
 QMap (const std::map< Key, T > &other)
 
 QMap (std::map< Key, T > &&other)
 
std::map< Key, T > toStdMap () const &
 
std::map< Key, T > toStdMap () &&
 
size_type size () const
 
bool isEmpty () const
 
void detach ()
 
bool isDetached () const noexcept
 
bool isSharedWith (const QMap< Key, T > &other) const noexcept
 
void clear ()
 
size_type remove (const Key &key)
 
template<typename Predicate >
size_type removeIf (Predicate pred)
 
take (const Key &key)
 
bool contains (const Key &key) const
 
Key key (const T &value, const Key &defaultKey=Key()) const
 
value (const Key &key, const T &defaultValue=T()) const
 
T & operator[] (const Key &key)
 
operator[] (const Key &key) const
 
QList< Keykeys () const
 
QList< Keykeys (const T &value) const
 
QList< T > values () const
 
size_type count (const Key &key) const
 
size_type count () const
 
const KeyfirstKey () const
 
const KeylastKey () const
 
T & first ()
 
const T & first () const
 
T & last ()
 
const T & last () const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator constBegin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator constEnd () const
 
const_iterator cend () const
 
key_iterator keyBegin () const
 
key_iterator keyEnd () const
 
key_value_iterator keyValueBegin ()
 
key_value_iterator keyValueEnd ()
 
const_key_value_iterator keyValueBegin () const
 
const_key_value_iterator constKeyValueBegin () const
 
const_key_value_iterator keyValueEnd () const
 
const_key_value_iterator constKeyValueEnd () const
 
auto asKeyValueRange () &
 
auto asKeyValueRange () const &
 
auto asKeyValueRange () &&
 
auto asKeyValueRange () const &&
 
iterator erase (const_iterator it)
 
iterator erase (const_iterator afirst, const_iterator alast)
 
iterator find (const Key &key)
 
const_iterator find (const Key &key) const
 
const_iterator constFind (const Key &key) const
 
iterator lowerBound (const Key &key)
 
const_iterator lowerBound (const Key &key) const
 
iterator upperBound (const Key &key)
 
const_iterator upperBound (const Key &key) const
 
iterator insert (const Key &key, const T &value)
 
iterator insert (const_iterator pos, const Key &key, const T &value)
 
void insert (const QMap< Key, T > &map)
 
void insert (QMap< Key, T > &&map)
 
bool empty () const
 
std::pair< iterator, iteratorequal_range (const Key &akey)
 
std::pair< const_iterator, const_iteratorequal_range (const Key &akey) const
 

Friends

class QMultiMap< Key, T >
 
template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMap, AKey, AToperator== (const QMap &lhs, const QMap &rhs)
 
template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMap, AKey, AToperator!= (const QMap &lhs, const QMap &rhs)
 
size_t qHash (const M &key, size_t seed=0) noexcept(QHashPrivate::noexceptPairHash< typename M::key_type, typename M::mapped_type >())
 

Detailed Description

template<class Key, class T>
class QMap< Key, T >

Definition at line 186 of file qmap.h.

Member Typedef Documentation

◆ const_key_value_iterator

template<class Key , class T >
typedef QKeyValueIterator<const Key&, const T&, const_iterator> QMap< Key, T >::const_key_value_iterator

Definition at line 594 of file qmap.h.

◆ ConstIterator

template<class Key , class T >
typedef const_iterator QMap< Key, T >::ConstIterator

Definition at line 639 of file qmap.h.

◆ difference_type

template<class Key , class T >
using QMap< Key, T >::difference_type = qptrdiff

Definition at line 197 of file qmap.h.

◆ Iterator

template<class Key , class T >
typedef iterator QMap< Key, T >::Iterator

Definition at line 638 of file qmap.h.

◆ key_type

template<class Key , class T >
using QMap< Key, T >::key_type = Key

Definition at line 195 of file qmap.h.

◆ key_value_iterator

template<class Key , class T >
typedef QKeyValueIterator<const Key&, T&, iterator> QMap< Key, T >::key_value_iterator

Definition at line 595 of file qmap.h.

◆ mapped_type

template<class Key , class T >
using QMap< Key, T >::mapped_type = T

Definition at line 196 of file qmap.h.

◆ size_type

template<class Key , class T >
using QMap< Key, T >::size_type = qsizetype

Definition at line 198 of file qmap.h.

Constructor & Destructor Documentation

◆ QMap() [1/4]

template<class Key , class T >
QMap< Key, T >::QMap ( )
default

Referenced by QMap< Key, T >::equal_range(), QMap< Key, T >::find(), QMap< Key, T >::insert(), QMap< Key, T >::insert(), QMap< Key, T >::lowerBound(), QMap< Key, T >::operator[](), QMap< Key, T >::take(), and QMap< Key, T >::upperBound().

+ Here is the caller graph for this function:

◆ QMap() [2/4]

template<class Key , class T >
QMap< Key, T >::QMap ( std::initializer_list< std::pair< Key, T > > list)
inline

Definition at line 209 of file qmap.h.

References QMap< Key, T >::insert(), and list.

+ Here is the call graph for this function:

◆ QMap() [3/4]

template<class Key , class T >
QMap< Key, T >::QMap ( const std::map< Key, T > & other)
inlineexplicit

Definition at line 215 of file qmap.h.

◆ QMap() [4/4]

template<class Key , class T >
QMap< Key, T >::QMap ( std::map< Key, T > && other)
inlineexplicit

Definition at line 220 of file qmap.h.

Member Function Documentation

◆ asKeyValueRange() [1/4]

template<class Key , class T >
auto QMap< Key, T >::asKeyValueRange ( ) &
inline

Definition at line 614 of file qmap.h.

References QtPrivate::QKeyValueRange().

Referenced by QQuickDragAttachedPrivate::createMimeData(), operator+=(), operator<<(), operator<<(), QQuickFontValueType::setFeatures(), and QQuickFontValueType::setVariableAxes().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ asKeyValueRange() [2/4]

template<class Key , class T >
auto QMap< Key, T >::asKeyValueRange ( ) &&
inline

Definition at line 616 of file qmap.h.

References QtPrivate::QKeyValueRange().

+ Here is the call graph for this function:

◆ asKeyValueRange() [3/4]

template<class Key , class T >
auto QMap< Key, T >::asKeyValueRange ( ) const &
inline

Definition at line 615 of file qmap.h.

References QtPrivate::QKeyValueRange().

+ Here is the call graph for this function:

◆ asKeyValueRange() [4/4]

template<class Key , class T >
auto QMap< Key, T >::asKeyValueRange ( ) const &&
inline

Definition at line 617 of file qmap.h.

References QtPrivate::QKeyValueRange().

+ Here is the call graph for this function:

◆ begin() [1/2]

template<class Key , class T >
iterator QMap< Key, T >::begin ( )
inline

Definition at line 598 of file qmap.h.

References d, and QMap< Key, T >::detach().

Referenced by LinuxDmabufParams::~LinuxDmabufParams(), QWizardPrivate::_q_handleFieldObjectDestroyed(), QSSGStageGeneratorBase::addShaderUniformMap(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QMap< Key, T >::cbegin(), QWizardPrivate::cleanupPagesNotInHistory(), QFontCache::clear(), QTextDocumentPrivate::clear(), QQmlJS::Dom::OutWriterState::closeState(), QMap< Key, T >::constBegin(), QMap< Key, T >::constKeyValueBegin(), convertArrayToMap(), QtBluezPeripheralConnectionManager::disconnectDevices(), QV4::Compiler::Context::emitBlockHeader(), QQmlJS::Dom::QmltypesFile::ensureInModuleIndex(), QGeoServiceProviderPrivate::filterParameterMap(), QMap< Key, T >::first(), QCborMap::fromVariantMap(), QQmlJS::Dom::MockObject::iterateDirectSubpaths(), QQmlJS::Dom::MockOwner::iterateDirectSubpaths(), QMap< Key, T >::keyBegin(), QMap< Key, T >::keyValueBegin(), QMap< Key, T >::keyValueBegin(), macValue(), QConfFile::mergedKeyMap(), operator<<(), QGeoJson::printQvariant(), QTessellatorPrivate::processIntersections(), qHash(), QGraphicsScenePrivate::removeItemHelper(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QCompletionEngine::saveInCache(), QSampleCache::setCapacity(), QNearFieldTargetPrivate::setResponseForRequest(), QV4::Compiler::Context::setupFunctionIndices(), QMdiSubWindowPrivate::updateDirtyRegions(), LinuxDmabufParams::zwp_linux_buffer_params_v1_create(), and LinuxDmabufParams::zwp_linux_buffer_params_v1_create_immed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ begin() [2/2]

template<class Key , class T >
const_iterator QMap< Key, T >::begin ( ) const
inline

Definition at line 599 of file qmap.h.

References d.

◆ cbegin()

template<class Key , class T >
const_iterator QMap< Key, T >::cbegin ( ) const
inline

Definition at line 601 of file qmap.h.

References QMap< Key, T >::begin().

Referenced by QSampleCache::~QSampleCache(), appendMap(), QBuiltInMimes::canConvertToMime(), QNmeaSatelliteInfoSourcePrivate::emitUpdated(), QBuiltInMimes::formatsForMime(), QQsbCollection::EntryDesc::generateSha(), QQmlIncubatorPrivate::incubate(), QPlace::insertContent(), QQmlJS::Dom::DomTop::iterateDirectSubpaths(), QShader::serialized(), and QProcessEnvironmentPrivate::toList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cend()

template<class Key , class T >
const_iterator QMap< Key, T >::cend ( ) const
inline

Definition at line 605 of file qmap.h.

References QMap< Key, T >::end().

Referenced by QSampleCache::~QSampleCache(), appendMap(), QBuiltInMimes::canConvertToMime(), QNetworkManagerInterface::connectivityState(), QNmeaSatelliteInfoSourcePrivate::emitUpdated(), QBuiltInMimes::formatsForMime(), QQsbCollection::EntryDesc::generateSha(), QQmlIncubatorPrivate::incubate(), QPlace::insertContent(), mapBinding(), mapBinding(), QShader::nativeShaderInfo(), QShader::serialized(), QNetworkManagerInterface::state(), and QProcessEnvironmentPrivate::toList().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ clear()

template<class Key , class T >
void QMap< Key, T >::clear ( )
inline

Definition at line 289 of file qmap.h.

References d.

Referenced by QWindowsOleDropSource::~QWindowsOleDropSource(), CustomWidgetsInfo::acceptUI(), DatabaseInfo::acceptUI(), QSSGStageGeneratorBase::begin(), QProcessEnvironment::clear(), QFontCache::clear(), QTextDocumentPrivate::clear(), QSqlTableModelPrivate::clear(), QPlaceMatchRequestPrivate::clear(), QNmeaSatelliteInfoUpdate::clear(), QSqlTableModelPrivate::clearCache(), QQuickAnimatedImagePrivate::clearCache(), QDeclarativePlaceContentModel::clearData(), QFont::clearVariableAxes(), QTest::QTouchEventSequence::commit(), QTest::QTouchEventWidgetSequence::commit(), QQuick3DParticleSpriteParticle::deleteNodes(), QMetalShader::destroy(), QSSGReflectionMapEntry::destroyRhiResources(), QGridLayoutRowData::distributeMultiCells(), importMultiLineString(), QPlaceManagerEngineNokiaV2::initializeCategories(), QCompletionModel::invalidate(), QGtk3Json::load(), QDeclarativeSearchResultModel::onContentUpdated(), operator>>(), operator>>(), QtWaylandClient::operator>>(), VkSpecParser::parse(), CategoryParser::parse(), QDeclarativeSearchResultModel::queryFinished(), QMoviePrivate::reset(), QtBluezPeripheralApplication::reset(), QtBluezPeripheralConnectionManager::reset(), QGridLayoutRowData::reset(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QImageReader::setDevice(), and QTextMarkdownWriter::writeFrame().

+ Here is the caller graph for this function:

◆ constBegin()

◆ constEnd()

◆ constFind()

template<class Key , class T >
const_iterator QMap< Key, T >::constFind ( const Key & key) const
inline

Definition at line 655 of file qmap.h.

References QMap< Key, T >::find().

Referenced by QXcbVirtualDesktop::colormapForVisual(), QNetworkManagerInterface::connectivityState(), QFontCache::findEngineData(), QQmlJS::Dom::Map::fromFileRegionMap(), QQmlJS::Dom::Map::fromMapRef(), QFreetypeFace::getFace(), QWindowsOleDropSource::GiveFeedback(), mapBinding(), mapBinding(), QShader::nativeShaderInfo(), QNetworkManagerInterface::state(), and QProcessEnvironment::value().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ constKeyValueBegin()

template<class Key , class T >
const_key_value_iterator QMap< Key, T >::constKeyValueBegin ( ) const
inline

Definition at line 611 of file qmap.h.

References QMap< Key, T >::begin().

+ Here is the call graph for this function:

◆ constKeyValueEnd()

template<class Key , class T >
const_key_value_iterator QMap< Key, T >::constKeyValueEnd ( ) const
inline

Definition at line 613 of file qmap.h.

References QMap< Key, T >::end().

+ Here is the call graph for this function:

◆ contains()

template<class Key , class T >
bool QMap< Key, T >::contains ( const Key & key) const
inline

Definition at line 341 of file qmap.h.

References d, and i.

Referenced by GeoCodingManagerEngineEsri::GeoCodingManagerEngineEsri(), GeoRoutingManagerEngineEsri::GeoRoutingManagerEngineEsri(), GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), QGeoCodingManagerEngineMapbox::QGeoCodingManagerEngineMapbox(), QGeoCodingManagerEngineNokia::QGeoCodingManagerEngineNokia(), QGeoCodingManagerEngineOsm::QGeoCodingManagerEngineOsm(), QGeoMappingManagerEngineMapboxGL::QGeoMappingManagerEngineMapboxGL(), QGeoRoutingManagerEngineMapbox::QGeoRoutingManagerEngineMapbox(), QGeoRoutingManagerEngineOsm::QGeoRoutingManagerEngineOsm(), QGeoTiledMappingManagerEngineMapbox::QGeoTiledMappingManagerEngineMapbox(), QGeoTiledMappingManagerEngineNokia::QGeoTiledMappingManagerEngineNokia(), QGeoTiledMappingManagerEngineOsm::QGeoTiledMappingManagerEngineOsm(), QPlaceManagerEngineMapbox::QPlaceManagerEngineMapbox(), QPlaceManagerEngineOsm::QPlaceManagerEngineOsm(), AdapterManager::addClient(), QWizardPrivate::addField(), QBuiltInMimes::canConvertFromMime(), Moc::checkSuperClasses(), QT_BEGIN_NAMESPACE::checkUsageTerms(), QProcessEnvironment::contains(), QBluetoothServiceInfo::contains(), QMetalComputePipeline::create(), QWindowsDirectWriteFontDatabase::fontEngine(), Generator::generateCode(), QtWaylandClient::QWaylandAdwaitaDecoration::handleTouch(), QQuickAnimatedImagePrivate::infoForCurrentFrame(), QPlaceManagerEngineNokiaV2::initializeCategories(), QDeclarativePlaceContentModel::initializeCollection(), QFontCache::insertEngineData(), QtPrivate::intersect_path(), QSampleCache::isCached(), QBluetoothServiceInfo::isComplete(), QFont::isVariableAxisSet(), QAndroidCamera::isWhiteBalanceModeSupported(), QQuick3DParticleLineParticle::nextCurrentIndex(), QQuick3DParticleModelBlendParticle::nextCurrentIndex(), QQuick3DParticleSpriteParticle::nextCurrentIndex(), QDeclarativeSearchResultModel::onContentUpdated(), operator<<(), QtWaylandClient::QWaylandAdwaitaDecoration::paint(), QTest::QTouchEventSequence::pointOrPreviousPoint(), QGeoJson::printQvariant(), QBluetoothServiceInfoPrivate::protocolDescriptor(), QDeclarativeSearchResultModel::queryFinished(), QQmlJSLogger::registerCategory(), QtBluezDiscoveryManager::registerDiscoveryInterest(), QtBluezPeripheralConnectionManager::remoteDeviceAccessEvent(), AdapterManager::removeClient(), QAndroidMediaPlayer::setActiveTrack(), Viewer::setBrightness(), QQuickFontLoader::setSource(), QV4::Compiler::Context::setupFunctionIndices(), QGraphicsScenePrivate::touchEventHandler(), QAndroidMediaPlayer::trackCount(), QAndroidMediaPlayer::trackMetaData(), QtBluezDiscoveryManager::unregisterDiscoveryInterest(), QWizardPrivate::updateButtonTexts(), AdapterManager::updateMode(), QQuickMultiPointTouchArea::updateTouchData(), QPlaceIcon::url(), QSGVivanteVideoMaterial::vivanteMapping(), QNearFieldTargetPrivate::waitForRequestCompleted(), and LinuxDmabufParams::zwp_linux_buffer_params_v1_add().

◆ count() [1/2]

template<class Key , class T >
size_type QMap< Key, T >::count ( ) const
inline

Definition at line 411 of file qmap.h.

References QMap< Key, T >::size().

+ Here is the call graph for this function:

◆ count() [2/2]

template<class Key , class T >
size_type QMap< Key, T >::count ( const Key & key) const
inline

Definition at line 404 of file qmap.h.

References d.

Referenced by QDeclarativePlaceContentModel::canFetchMore(), QDeclarativePlaceContentModel::rowCount(), and QDBusXmlToCpp::run().

+ Here is the caller graph for this function:

◆ detach()

template<class Key , class T >
void QMap< Key, T >::detach ( )
inline

Definition at line 271 of file qmap.h.

References d.

Referenced by QMap< Key, T >::begin(), QMap< Key, T >::end(), QMap< Key, T >::equal_range(), QMap< Key, T >::find(), QMap< Key, T >::insert(), QMap< Key, T >::insert(), QMap< Key, T >::insert(), QMap< Key, T >::insert(), QMap< Key, T >::lowerBound(), QMap< Key, T >::operator[](), QMap< Key, T >::take(), and QMap< Key, T >::upperBound().

+ Here is the caller graph for this function:

◆ empty()

template<class Key , class T >
bool QMap< Key, T >::empty ( ) const
inline

Definition at line 761 of file qmap.h.

References QMap< Key, T >::isEmpty().

Referenced by QQmlApplicationEnginePrivate::finishLoad().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ end() [1/2]

template<class Key , class T >
iterator QMap< Key, T >::end ( )
inline

Definition at line 602 of file qmap.h.

References d, and QMap< Key, T >::detach().

Referenced by QAndroidStyle::AndroidCompoundButtonControl::AndroidCompoundButtonControl(), QAndroidStyle::AndroidControl::AndroidControl(), QAndroidStyle::AndroidProgressBarControl::AndroidProgressBarControl(), QAndroidStyle::AndroidSeekBarControl::AndroidSeekBarControl(), LinuxDmabufParams::~LinuxDmabufParams(), QWizardPrivate::_q_handleFieldObjectDestroyed(), QV4::Compiler::Context::addLocalVar(), QSSGStageGeneratorBase::addShaderUniformMap(), Automaton::buildDefaultReduceActions(), Grammar::buildRuleMap(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QMap< Key, T >::cend(), QGestureManager::cleanupCachedGestures(), QWizardPrivate::cleanupPagesNotInHistory(), QFontCache::clear(), QTextDocumentPrivate::clear(), QQmlJS::Dom::OutWriterState::closeState(), QMap< Key, T >::constEnd(), QMap< Key, T >::constKeyValueEnd(), QWindowsOleDropSource::createCursors(), QWindowsFontDatabase::derefUniqueFont(), QtBluezPeripheralConnectionManager::disconnectDevices(), QV4::Compiler::Context::emitBlockHeader(), QQmlJS::Dom::QmltypesFile::ensureInModuleIndex(), QGeoServiceProviderPrivate::filterParameterMap(), QV4::Compiler::Context::findMember(), QCborMap::fromVariantMap(), QAndroidStyle::AndroidDrawable::initPadding(), QMap< Key, T >::insert(), QMap< Key, T >::insert(), QQmlJS::Dom::DomEnvironment::insertOrUpdateExternalItemInfo(), QQmlJS::Dom::MockObject::iterateDirectSubpaths(), QQmlJS::Dom::MockOwner::iterateDirectSubpaths(), QMap< Key, T >::keyEnd(), QMap< Key, T >::keyValueEnd(), QMap< Key, T >::keyValueEnd(), QMap< Key, T >::last(), QCompletionEngine::lookupCache(), macValue(), QCompletionEngine::matchHint(), QV4::Compiler::Context::memberInfo(), QConfFile::mergedKeyMap(), QApplication::notify(), operator<<(), QBluetoothLocalDevicePrivate::pairingStatus(), QGeoJson::printQvariant(), QTessellatorPrivate::processIntersections(), qHash(), QWindowsFontDatabase::refUniqueFont(), QGraphicsScenePrivate::removeItemHelper(), QShader::removeNativeShaderInfo(), QShader::removeShader(), QSampleCache::requestSample(), QWasmCompositor::requestUpdateWindow(), QSqlTableModelPrivate::revertCachedRow(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QCompletionEngine::saveInCache(), QSampleCache::setCapacity(), QNearFieldTargetPrivate::setResponseForRequest(), QV4::Compiler::Context::setupFunctionIndices(), QMdiSubWindowPrivate::updateDirtyRegions(), LinuxDmabufParams::zwp_linux_buffer_params_v1_create(), and LinuxDmabufParams::zwp_linux_buffer_params_v1_create_immed().

+ Here is the call graph for this function:

◆ end() [2/2]

template<class Key , class T >
const_iterator QMap< Key, T >::end ( ) const
inline

Definition at line 603 of file qmap.h.

References d.

◆ equal_range() [1/2]

template<class Key , class T >
std::pair< iterator, iterator > QMap< Key, T >::equal_range ( const Key & akey)
inline

Definition at line 766 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), and this.

+ Here is the call graph for this function:

◆ equal_range() [2/2]

template<class Key , class T >
std::pair< const_iterator, const_iterator > QMap< Key, T >::equal_range ( const Key & akey) const
inline

Definition at line 774 of file qmap.h.

References d.

◆ erase() [1/2]

template<class Key , class T >
iterator QMap< Key, T >::erase ( const_iterator afirst,
const_iterator alast )
inline

Definition at line 624 of file qmap.h.

References d.

◆ erase() [2/2]

template<class Key , class T >
iterator QMap< Key, T >::erase ( const_iterator it)
inline

Definition at line 619 of file qmap.h.

References QMap< Key, T >::erase(), and it.

Referenced by QGestureManager::cleanupCachedGestures(), QTextDocumentPrivate::clear(), QWindowsFontDatabase::derefUniqueFont(), QMap< Key, T >::erase(), QGeoServiceProviderPrivate::filterParameterMap(), QGraphicsScenePrivate::removeItemHelper(), QShader::removeNativeShaderInfo(), QShader::removeShader(), QSqlTableModelPrivate::revertCachedRow(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QCompletionEngine::saveInCache(), QSampleCache::setCapacity(), and QNearFieldTargetPrivate::setResponseForRequest().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find() [1/2]

template<class Key , class T >
iterator QMap< Key, T >::find ( const Key & key)
inline

Definition at line 641 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), and this.

Referenced by QAndroidStyle::AndroidCompoundButtonControl::AndroidCompoundButtonControl(), QAndroidStyle::AndroidControl::AndroidControl(), QAndroidStyle::AndroidProgressBarControl::AndroidProgressBarControl(), QAndroidStyle::AndroidSeekBarControl::AndroidSeekBarControl(), QV4::Compiler::Context::addLocalVar(), Grammar::buildRuleMap(), QGestureManager::cleanupCachedGestures(), QMap< Key, T >::constFind(), QWindowsOleDropSource::createCursors(), QXcbVirtualDesktop::depthOfVisual(), QWindowsFontDatabase::derefUniqueFont(), QV4::Compiler::Context::findMember(), QXcbClipboard::handlePropertyNotify(), QAndroidStyle::AndroidDrawable::initPadding(), QQmlJS::Dom::DomEnvironment::insertOrUpdateExternalItemInfo(), QCompletionEngine::lookupCache(), QCompletionEngine::matchHint(), QV4::Compiler::Context::memberInfo(), QApplication::notify(), QBluetoothLocalDevicePrivate::pairingStatus(), QTessellatorPrivate::processIntersections(), QWindowsFontDatabase::refUniqueFont(), QShader::removeNativeShaderInfo(), QShader::removeShader(), QSampleCache::requestSample(), QWasmCompositor::requestUpdateWindow(), QSqlTableModelPrivate::revertCachedRow(), QMdiSubWindowPrivate::setNewGeometry(), QMdiSubWindowPrivate::updateCursor(), and QXcbVirtualDesktop::visualForId().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ find() [2/2]

template<class Key , class T >
const_iterator QMap< Key, T >::find ( const Key & key) const
inline

Definition at line 648 of file qmap.h.

References d.

◆ first() [1/2]

template<class Key , class T >
T & QMap< Key, T >::first ( )
inline

Definition at line 419 of file qmap.h.

References QMap< Key, T >::begin(), QMap< Key, T >::isEmpty(), and Q_ASSERT.

Referenced by QMetalComputePipeline::create(), QGraphicsScenePrivate::sendTouchBeginEvent(), QGeoCameraTilesPrivate::tilesFromPolygon(), QGraphicsScenePrivate::touchEventHandler(), and QQuickComboBoxDelegateModel::variantValue().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ first() [2/2]

template<class Key , class T >
const T & QMap< Key, T >::first ( ) const
inline

Definition at line 420 of file qmap.h.

References QMap< Key, T >::constBegin(), QMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ firstKey()

template<class Key , class T >
const Key & QMap< Key, T >::firstKey ( ) const
inline

Definition at line 416 of file qmap.h.

References QMap< Key, T >::constBegin(), QMap< Key, T >::isEmpty(), QMap< Key, T >::const_iterator::key(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ insert() [1/4]

template<class Key , class T >
iterator QMap< Key, T >::insert ( const Key & key,
const T & value )
inline

Definition at line 688 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), and this.

Referenced by Grammar::Grammar(), QBuiltInMimes::QBuiltInMimes(), QDBusMenuItem::QDBusMenuItem(), QGeoFileTileCacheMapbox::QGeoFileTileCacheMapbox(), QMap< Key, T >::QMap(), QSSGAssetImportManager::QSSGAssetImportManager(), QXcbVirtualDesktop::QXcbVirtualDesktop(), CPP::WriteIncludes::WriteIncludes(), QWizardPrivate::_q_handleFieldObjectDestroyed(), CustomWidgetsInfo::acceptCustomWidget(), QQmlTypeNameCache::add(), AdapterManager::addClient(), QSSGStageGeneratorBase::addConstantBuffer(), QSSGStageGeneratorBase::addDefinition(), QFFmpegMetaData::addEntry(), QWizardPrivate::addField(), QSSGStageGeneratorBase::addFlatIncoming(), QSSGStageGeneratorBase::addFlatOutgoing(), QSSGStageGeneratorBase::addIncoming(), QV4::Compiler::Context::addLocalVar(), QSSGStageGeneratorBase::addOutgoing(), QtBluezPeripheralApplication::addService(), QQuickMultiPointTouchArea::addTouchPoint(), QQuickMultiPointTouchArea::addTouchPoint(), QQuickMultiPointTouchArea::addTouchPrototype(), QSSGStageGeneratorBase::addUniform(), QSSGStageGeneratorBase::addUniformArray(), QQuick3DParticleAffector::appendParticle(), Automaton::buildLookaheads(), Grammar::buildRuleMap(), QXcbVirtualDesktop::colormapForVisual(), QBluetoothSocketPrivateBluezDBus::connectToServiceHelper(), QD3D11ComputePipeline::create(), QWindowsOleDropSource::createCursors(), QDBusMetaObject::createMetaObject(), createOidMap(), QIOSMenu::eventFilter(), QQuickFontValueType::features(), QShader::fromSerialized(), importFeatureCollection(), QGeoJson::importGeoJson(), QQuickAnimatedImagePrivate::infoForCurrentFrame(), QMoviePrivate::infoForFrame(), QPlaceManagerEngineNokiaV2::initializeCategories(), QDeclarativePlaceContentModel::initializeCollection(), QMdiSubWindowPrivate::initOperationMap(), QProcessEnvironmentPrivate::insert(), QProcessEnvironment::insert(), QMap< Key, T >::insert(), QFontCache::insertEngineData(), QQmlJS::Dom::DomEnvironment::insertOrUpdateExternalItemInfo(), QQmlJS::Dom::AttachedInfo::iterateDirectSubpaths(), QQmlJS::Dom::ModuleIndex::iterateDirectSubpaths(), QGtk3Json::load(), main(), RequestHandler::matchPlaces(), QTextDocumentPrivate::mergeCachedResources(), mergeKeySets(), mergeKeySets(), QQuick3DParticleLineParticle::nextCurrentIndex(), QQuick3DParticleModelBlendParticle::nextCurrentIndex(), QQuick3DParticleSpriteParticle::nextCurrentIndex(), objectToVariantMap(), QDeclarativeSearchResultModel::onContentUpdated(), operator+=(), operator>>(), operator>>(), QtWaylandClient::operator>>(), QDeclarativeGeoServiceProvider::parameterMap(), QDeclarativePositionSource::parameterMap(), Recognizer::parse(), Moc::parseDeclareInterface(), Moc::parseFlag(), parseMapboxBanner(), parseMapboxBannerComponent(), parseMapboxBannerInstruction(), parseMapboxVoiceInstruction(), QT_BEGIN_NAMESPACE::parsePlaceResult(), QDBusMenuLayoutItem::populate(), QTextFormat::properties(), QtBluezPeripheralDescriptor::properties(), QtBluezPeripheralCharacteristic::properties(), QtBluezPeripheralService::properties(), propertyMap(), qtValue(), QDeclarativeSearchResultModel::queryFinished(), QQmlJSLogger::registerCategory(), QQuick3DParticleSystem::registerParticleAffector(), QtBluezPeripheralConnectionManager::remoteDeviceAccessEvent(), QConfFileSettingsPrivate::remove(), QQuick3DParticleAffector::replaceParticle(), QSampleCache::requestSample(), QWasmCompositor::requestUpdateWindow(), QSqlTableModelPrivate::revertCachedRow(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QtWaylandClient::QWaylandWindow::sendProperty(), QtWaylandClient::QWaylandWindow::setProperty(), QNearFieldTargetPrivate::setResponseForRequest(), QPlace::setTotalContentCount(), QFontPrivate::setVariableAxis(), QDBusTrayIcon::showMessage(), QGraphicsScenePrivate::storeMouseButtonsForMouseGrabber(), QHttpHeaders::toMultiMap(), QGraphicsScenePrivate::touchEventHandler(), GpuDescription::toVariant(), QCborMap::toVariantMap(), QGeoRouteParserOsrmV5ExtensionMapbox::updateSegment(), VDMAbstractItemModelDataType::value(), QQuickFontValueType::variableAxes(), QSGVivanteVideoMaterial::vivanteMapping(), QWaylandQtWindowManagerPrivate::windowmanager_open_url(), and LinuxDmabufParams::zwp_linux_buffer_params_v1_add().

+ Here is the call graph for this function:

◆ insert() [2/4]

template<class Key , class T >
void QMap< Key, T >::insert ( const QMap< Key, T > & map)
inline

Definition at line 711 of file qmap.h.

References copy(), d, QMap< Key, T >::detach(), QMap< Key, T >::end(), QMap< Key, T >::isEmpty(), and map.

+ Here is the call graph for this function:

◆ insert() [3/4]

template<class Key , class T >
iterator QMap< Key, T >::insert ( const_iterator pos,
const Key & key,
const T & value )
inline

Definition at line 696 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), pos, and this.

+ Here is the call graph for this function:

◆ insert() [4/4]

template<class Key , class T >
void QMap< Key, T >::insert ( QMap< Key, T > && map)
inline

Definition at line 734 of file qmap.h.

References d, QMap< Key, T >::detach(), QMap< Key, T >::end(), QMap< Key, T >::insert(), and map.

+ Here is the call graph for this function:

◆ isDetached()

template<class Key , class T >
bool QMap< Key, T >::isDetached ( ) const
inlinenoexcept

Definition at line 279 of file qmap.h.

References d.

◆ isEmpty()

◆ isSharedWith()

template<class Key , class T >
bool QMap< Key, T >::isSharedWith ( const QMap< Key, T > & other) const
inlinenoexcept

Definition at line 284 of file qmap.h.

References d, and other().

+ Here is the call graph for this function:

◆ key()

template<class Key , class T >
Key QMap< Key, T >::key ( const T & value,
const Key & defaultKey = Key() ) const
inline

Definition at line 349 of file qmap.h.

References d.

Referenced by QBuiltInMimes::convertToMime(), QQmlJS::Dom::AttachedInfo::iterateDirectSubpaths(), QQmlJS::Dom::DomEnvironment::iterateDirectSubpaths(), keyToTag(), and tagToKey().

+ Here is the caller graph for this function:

◆ keyBegin()

template<class Key , class T >
key_iterator QMap< Key, T >::keyBegin ( ) const
inline

◆ keyEnd()

template<class Key , class T >
key_iterator QMap< Key, T >::keyEnd ( ) const
inline

◆ keys() [1/2]

template<class Key , class T >
QList< Key > QMap< Key, T >::keys ( ) const
inline

Definition at line 383 of file qmap.h.

References d.

Referenced by QtBluezDiscoveryManager::~QtBluezDiscoveryManager(), QFFmpegMetaData::addEntry(), QBluetoothServiceInfo::attributes(), QShader::availableShaders(), QQmlJS::Dom::OutWriterState::closeState(), QGeoRouteRequest::featureTypes(), QGeoJson::printQvariant(), QImageReader::textKeys(), and QFont::variableAxisTags().

+ Here is the caller graph for this function:

◆ keys() [2/2]

template<class Key , class T >
QList< Key > QMap< Key, T >::keys ( const T & value) const
inline

Definition at line 390 of file qmap.h.

References d.

◆ keyValueBegin() [1/2]

template<class Key , class T >
key_value_iterator QMap< Key, T >::keyValueBegin ( )
inline

Definition at line 608 of file qmap.h.

References QMap< Key, T >::begin().

+ Here is the call graph for this function:

◆ keyValueBegin() [2/2]

template<class Key , class T >
const_key_value_iterator QMap< Key, T >::keyValueBegin ( ) const
inline

Definition at line 610 of file qmap.h.

References QMap< Key, T >::begin().

+ Here is the call graph for this function:

◆ keyValueEnd() [1/2]

template<class Key , class T >
key_value_iterator QMap< Key, T >::keyValueEnd ( )
inline

Definition at line 609 of file qmap.h.

References QMap< Key, T >::end().

+ Here is the call graph for this function:

◆ keyValueEnd() [2/2]

template<class Key , class T >
const_key_value_iterator QMap< Key, T >::keyValueEnd ( ) const
inline

Definition at line 612 of file qmap.h.

References QMap< Key, T >::end().

+ Here is the call graph for this function:

◆ last() [1/2]

template<class Key , class T >
T & QMap< Key, T >::last ( )
inline

Definition at line 421 of file qmap.h.

References QMap< Key, T >::end(), QMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ last() [2/2]

template<class Key , class T >
const T & QMap< Key, T >::last ( ) const
inline

Definition at line 422 of file qmap.h.

References QMap< Key, T >::constEnd(), QMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ lastKey()

template<class Key , class T >
const Key & QMap< Key, T >::lastKey ( ) const
inline

Definition at line 417 of file qmap.h.

References QMap< Key, T >::constEnd(), QMap< Key, T >::isEmpty(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ lowerBound() [1/2]

template<class Key , class T >
iterator QMap< Key, T >::lowerBound ( const Key & key)
inline

Definition at line 660 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), and this.

Referenced by QSortedModelEngine::indexHint().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ lowerBound() [2/2]

template<class Key , class T >
const_iterator QMap< Key, T >::lowerBound ( const Key & key) const
inline

Definition at line 667 of file qmap.h.

References d.

◆ operator[]() [1/2]

template<class Key , class T >
T & QMap< Key, T >::operator[] ( const Key & key)
inline

Definition at line 367 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), i, and this.

+ Here is the call graph for this function:

◆ operator[]() [2/2]

template<class Key , class T >
T QMap< Key, T >::operator[] ( const Key & key) const
inline

Definition at line 378 of file qmap.h.

◆ remove()

◆ removeIf()

template<class Key , class T >
template<typename Predicate >
size_type QMap< Key, T >::removeIf ( Predicate pred)
inline

Definition at line 317 of file qmap.h.

References QtPrivate::associative_erase_if().

+ Here is the call graph for this function:

◆ size()

◆ swap()

template<class Key , class T >
void QMap< Key, T >::swap ( QMap< Key, T > & other)
inlinenoexcept

Definition at line 204 of file qmap.h.

References d, and other().

+ Here is the call graph for this function:

◆ take()

template<class Key , class T >
T QMap< Key, T >::take ( const Key & key)
inline

Definition at line 322 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), i, and this.

Referenced by QtBluezDiscoveryManager::~QtBluezDiscoveryManager(), QCompletionEngine::saveInCache(), and QGraphicsScenePrivate::touchEventHandler().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ toStdMap() [1/2]

template<class Key , class T >
std::map< Key, T > QMap< Key, T >::toStdMap ( ) &&
inline

Definition at line 232 of file qmap.h.

References d.

◆ toStdMap() [2/2]

template<class Key , class T >
std::map< Key, T > QMap< Key, T >::toStdMap ( ) const &
inline

Definition at line 225 of file qmap.h.

References d.

◆ upperBound() [1/2]

template<class Key , class T >
iterator QMap< Key, T >::upperBound ( const Key & key)
inline

Definition at line 674 of file qmap.h.

References QMap< Key, T >::QMap(), copy(), d, QMap< Key, T >::detach(), and this.

+ Here is the call graph for this function:

◆ upperBound() [2/2]

template<class Key , class T >
const_iterator QMap< Key, T >::upperBound ( const Key & key) const
inline

Definition at line 681 of file qmap.h.

References d.

◆ value()

template<class Key , class T >
T QMap< Key, T >::value ( const Key & key,
const T & defaultValue = T() ) const
inline

Definition at line 357 of file qmap.h.

References d, and i.

Referenced by QAndroidStyle::Android9PatchDrawable::Android9PatchDrawable(), QAndroidStyle::AndroidClipDrawable::AndroidClipDrawable(), QAndroidStyle::AndroidColorDrawable::AndroidColorDrawable(), QAndroidStyle::AndroidGradientDrawable::AndroidGradientDrawable(), QAndroidStyle::AndroidImageDrawable::AndroidImageDrawable(), QAndroidStyle::AndroidLayerDrawable::AndroidLayerDrawable(), QAndroidStyle::AndroidStateDrawable::AndroidStateDrawable(), GeoCodingManagerEngineEsri::GeoCodingManagerEngineEsri(), GeoRoutingManagerEngineEsri::GeoRoutingManagerEngineEsri(), GeoTiledMappingManagerEngineEsri::GeoTiledMappingManagerEngineEsri(), NmeaParameters::NmeaParameters(), NmeaSatelliteSource::NmeaSatelliteSource(), QGeoCodingManagerEngineMapbox::QGeoCodingManagerEngineMapbox(), QGeoCodingManagerEngineNokia::QGeoCodingManagerEngineNokia(), QGeoCodingManagerEngineOsm::QGeoCodingManagerEngineOsm(), QGeoMappingManagerEngineMapboxGL::QGeoMappingManagerEngineMapboxGL(), QGeoRoutingManagerEngineMapbox::QGeoRoutingManagerEngineMapbox(), QGeoRoutingManagerEngineNokia::QGeoRoutingManagerEngineNokia(), QGeoRoutingManagerEngineOsm::QGeoRoutingManagerEngineOsm(), QGeoTiledMappingManagerEngineMapbox::QGeoTiledMappingManagerEngineMapbox(), QGeoTiledMappingManagerEngineNokia::QGeoTiledMappingManagerEngineNokia(), QGeoTiledMappingManagerEngineOsm::QGeoTiledMappingManagerEngineOsm(), QGeoTileFetcherNokia::QGeoTileFetcherNokia(), QNetworkManagerInterface::QNetworkManagerInterface(), QPlaceManagerEngineMapbox::QPlaceManagerEngineMapbox(), QPlaceManagerEngineNokiaV2::QPlaceManagerEngineNokiaV2(), QPlaceManagerEngineOsm::QPlaceManagerEngineOsm(), QWizardPrivate::_q_handleFieldObjectDestroyed(), QtBluezPeripheralGattObject::accessEvent(), QSpanCollection::addSpan(), QBluetoothServiceInfo::attribute(), Automaton::buildDefaultReduceActions(), QBuiltInMimes::canConvertFromMime(), QPlaceManagerEngineNokiaV2::category(), QT_BEGIN_NAMESPACE::checkUsageTerms(), QPlaceManagerEngineNokiaV2::childCategories(), QPlaceManagerEngineNokiaV2::childCategoryIds(), QBuiltInMimes::convertFromMime(), QGeoServiceProviderFactoryMapbox::createMappingManagerEngine(), QGeoServiceProviderFactoryMapbox::createPlaceManagerEngine(), GeoServiceProviderFactoryEsri::createRoutingManagerEngine(), QGeoServiceProviderFactoryMapbox::createRoutingManagerEngine(), QKmsDevice::createScreenForConnector(), CustomWidgetsInfo::customWidget(), CustomWidgetsInfo::customWidgetAddPageMethod(), QDeclarativePlaceContentModel::data(), QQmlTableModel::data(), QIOSMenu::eventFilter(), QGeoJson::exportGeoJson(), extractLocalFileName(), QGeoRouteRequest::featureWeight(), QWindowsDirectWriteFontDatabase::fontEngine(), QtPrivate::QCalendarModel::formatForCell(), QQmlJS::Dom::Map::fromFileRegionListMap(), QAndroidStyle::AndroidDrawable::fromMap(), Generator::generateCode(), QGraphicsScenePrivate::gestureEventHandler(), QSSGAssetImportManager::getOptionsForFile(), importFeatureCollection(), QSSGAssetImportManager::importFile(), QGeoJson::importGeoJson(), QQuickAnimatedImagePrivate::infoForCurrentFrame(), QMoviePrivate::infoForFrame(), injectExtra(), QFontCache::insertEngineData(), QGestureEvent::isAccepted(), CustomWidgetsInfo::isCustomWidgetContainer(), QtBluezPeripheralApplication::localCharacteristicWrite(), QtBluezPeripheralApplication::localDescriptorWrite(), QQuickTextNodeEngine::mergeProcessedNodes(), QBuiltInMimes::mimeForFormat(), QQmlJS::Dom::DomEnvironment::moduleIndexMajorVersions(), nameOfRemoteCentral(), QTextDocumentPrivate::objectForIndex(), QDeclarativeSearchResultModel::onContentUpdated(), CppGenerator::operator()(), ParseTable::operator()(), operator<<(), QPlaceManagerEngineNokiaV2::parentCategoryId(), Moc::parseInterfaces(), QBluetoothSocketPrivateBluez::peerName(), QTest::QTouchEventSequence::pointOrPreviousPoint(), QtWaylandClient::QWaylandWindow::property(), QtWaylandClient::QWaylandWindow::property(), QBluetoothServiceInfoPrivate::protocolDescriptor(), QDeclarativeSearchResultModel::queryFinished(), QtBluezPeripheralDescriptor::ReadValue(), QtBluezPeripheralCharacteristic::ReadValue(), QBluetoothServiceInfoPrivate::registerService(), QNearFieldTargetPrivate::requestResponse(), QSqlTableModelPrivate::revertCachedRow(), QPlaceManagerEngineOsm::search(), QGraphicsScenePrivate::sendMouseEvent(), QGraphicsScenePrivate::sendTouchBeginEvent(), QShader::serialized(), QAndroidMediaPlayer::setActiveTrack(), QShader::setShader(), QQuickFontLoader::setSource(), QAndroidCamera::setWhiteBalanceMode(), QShader::shader(), QImageReader::text(), EnumDef::toJson(), QPlace::totalContentCount(), QGraphicsScenePrivate::touchEventHandler(), QQuickMultiPointTouchArea::touchPoint_at(), QAndroidMediaPlayer::trackCount(), QAndroidMediaPlayer::trackMetaData(), QT_BEGIN_NAMESPACE::tryGetNetworkAccessManager(), QWizardPrivate::updateButtonTexts(), QSpanCollection::updateInsertedColumns(), QSpanCollection::updateRemovedRows(), QQuickMultiPointTouchArea::updateTouchData(), QPlaceIcon::url(), QFont::variableAxisValue(), QSGVivanteVideoMaterial::vivanteMapping(), QWaylandQtWindowManagerPrivate::windowmanager_open_url(), QtBluezPeripheralDescriptor::WriteValue(), and QtBluezPeripheralCharacteristic::WriteValue().

◆ values()

template<class Key , class T >
QList< T > QMap< Key, T >::values ( ) const
inline

Definition at line 397 of file qmap.h.

References d.

Referenced by QWasmMediaDevices::audioInputs(), QWasmMediaDevices::audioOutputs(), QPulseAudioEngine::availableDevices(), QQmlJSLogger::categories(), foreach(), GeoRouteJsonParserEsri::routes(), QQuickMultiPointTouchArea::updateTouchData(), and QWasmMediaDevices::videoInputs().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

template<class Key , class T >
template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMap, AKey, AT > operator!= ( const QMap< Key, T > & lhs,
const QMap< Key, T > & rhs )
friend

Definition at line 257 of file qmap.h.

◆ operator==

template<class Key , class T >
template<typename AKey = Key, typename AT = T>
QTypeTraits::compare_eq_result_container< QMap, AKey, AT > operator== ( const QMap< Key, T > & lhs,
const QMap< Key, T > & rhs )
friend

Definition at line 246 of file qmap.h.

◆ qHash

template<class Key , class T >
size_t qHash ( const M & key,
size_t seed = 0 )
friend

Definition at line 796 of file qmap.h.

◆ QMultiMap< Key, T >

template<class Key , class T >
friend class QMultiMap< Key, T >
friend

Definition at line 190 of file qmap.h.


The documentation for this class was generated from the following files: