Qt 6.x
The Qt SDK
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
 
QPair< iterator, iteratorequal_range (const Key &akey)
 
QPair< 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)
 

Detailed Description

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

Definition at line 185 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 593 of file qmap.h.

◆ ConstIterator

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

Definition at line 638 of file qmap.h.

◆ difference_type

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

Definition at line 196 of file qmap.h.

◆ Iterator

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

Definition at line 637 of file qmap.h.

◆ key_type

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

Definition at line 194 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 594 of file qmap.h.

◆ mapped_type

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

Definition at line 195 of file qmap.h.

◆ size_type

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

Definition at line 197 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 208 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 214 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 219 of file qmap.h.

Member Function Documentation

◆ asKeyValueRange() [1/4]

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

Definition at line 613 of file qmap.h.

Referenced by QQuickDragAttachedPrivate::createMimeData(), QQmlJSLinter::lintModule(), operator+=(), operator<<(), and operator<<().

+ 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 615 of file qmap.h.

◆ asKeyValueRange() [3/4]

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

Definition at line 614 of file qmap.h.

◆ asKeyValueRange() [4/4]

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

Definition at line 616 of file qmap.h.

◆ begin() [1/2]

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

Definition at line 597 of file qmap.h.

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

Referenced by QQmlJS::Dom::ModuleIndex::ModuleIndex(), LinuxDmabufParams::~LinuxDmabufParams(), QQmlJS::Dom::ModuleIndex::~ModuleIndex(), QWizardPrivate::_q_handleFieldObjectDestroyed(), QSSGStageGeneratorBase::addShaderConstantBufferItemMap(), QSSGStageGeneratorBase::addShaderItemMap(), QSSGStageGeneratorBase::addShaderUniformMap(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QMap< Key, T >::cbegin(), QWizardPrivate::cleanupPagesNotInHistory(), QFontCache::clear(), QTextDocumentPrivate::clear(), QAbstractItemViewPrivate::clearOrRemove(), QMap< Key, T >::constBegin(), QMap< Key, T >::constKeyValueBegin(), convertArrayToMap(), convertIterableToVariantHash(), convertIterableToVariantMap(), QAbstractItemViewPrivate::delegateRefCount(), QtBluezPeripheralConnectionManager::disconnectDevices(), QV4::Compiler::Context::emitBlockHeader(), QQmlJS::Dom::QmltypesFile::ensureInModuleIndex(), QGeoServiceProviderPrivate::filterParameterMap(), QtPrivate::findResult(), 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(), QQmlJS::Dom::ModuleIndex::mergeWith(), operator<<(), QGeoJson::printQvariant(), QTessellatorPrivate::processIntersections(), qHash(), QGraphicsScenePrivate::removeItemHelper(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QCompletionEngine::saveInCache(), QSampleCache::setCapacity(), QAbstractItemModel::setItemData(), QNearFieldTargetPrivate::setResponseForRequest(), QV4::Compiler::Context::setupFunctionIndices(), QImage::text(), QMdiSubWindowPrivate::updateDirtyRegions(), QSpanCollection::updateInsertedColumns(), QSpanCollection::updateRemovedRows(), LinuxDmabufParams::zwp_linux_buffer_params_v1_create(), and LinuxDmabufParams::zwp_linux_buffer_params_v1_create_immed().

+ Here is the call graph for this function:

◆ begin() [2/2]

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

Definition at line 598 of file qmap.h.

References d.

◆ cbegin()

◆ cend()

◆ clear()

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

Definition at line 288 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(), QConfFileSettingsPrivate::clear(), QtPrivate::ResultStoreBase::clear(), QSqlTableModelPrivate::clearCache(), QQuickAnimatedImagePrivate::clearCache(), QDeclarativePlaceContentModel::clearData(), QTest::QTouchEventSequence::commit(), QTest::QTouchEventWidgetSequence::commit(), convertIterableToVariantMap(), QQuick3DParticleSpriteParticle::deleteNodes(), QMetalShader::destroy(), QSSGReflectionMapEntry::destroyRhiResources(), QGridLayoutRowData::distributeMultiCells(), QMimeBinaryProvider::ensureLoaded(), QCocoaTouch::getCurrentTouchPointList(), importMultiLineString(), importMultiPolygon(), QPlaceManagerEngineNokiaV2::initializeCategories(), QCompletionModel::invalidate(), QGtk3Json::load(), QDeclarativeSearchResultModel::onContentUpdated(), operator>>(), VkSpecParser::parse(), CategoryParser::parse(), QDeclarativeSearchResultModel::queryFinished(), QMoviePrivate::reset(), QtBluezPeripheralApplication::reset(), QtBluezPeripheralConnectionManager::reset(), QGridLayoutRowData::reset(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QImageReader::setDevice(), QSpanCollection::updateRemovedRows(), and QTextMarkdownWriter::writeFrame().

+ Here is the caller graph for this function:

◆ constBegin()

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

Definition at line 599 of file qmap.h.

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

Referenced by QGraphicsItem::~QGraphicsItem(), QTessellatorPrivate::addIntersections(), QGraphicsScene::addItem(), QtPrivate::ResultStoreBase::clear(), QDBusMetaObject::createMetaObject(), QLowEnergyControllerPrivateBluezDBus::discoverServiceDetails(), QLowEnergyControllerPrivateBluezDBus::discoverServices(), QGridLayoutRowData::distributeMultiCells(), QV4::Compiler::Context::emitBlockHeader(), findAdapterForAddress(), findRemoteDevicePath(), QMap< Key, T >::first(), QMap< Key, T >::firstKey(), QMdiSubWindowPrivate::getOperation(), QSortedModelEngine::indexHint(), QSqlTableModelPrivate::insertCount(), QProcessEnvironmentPrivate::keys(), nameOfRemoteCentral(), QWizardPage::nextId(), QQuickStochasticEngine::nextState(), QDBusIntrospection::parseInterface(), QBluetoothSocketPrivateBluez::peerName(), QTlsPrivate::TlsKeyBase::pemFromDer(), qSaveQmlJSUnitAsCpp(), reachableSymbols(), QGraphicsScenePrivate::removeItemHelper(), QBluetoothLocalDevicePrivate::requestPairing(), QGtk3Json::save(), QQuickFontValueType::setFeatures(), QTableModel::setItemData(), QSqlTableModel::setRecord(), QWizardPrivate::setStyle(), QGeoCameraTilesPrivate::tilesFromPolygon(), QGraphicsScenePrivate::touchEventHandler(), QGestureManager::unregisterGestureRecognizer(), and variantMapToJS().

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

◆ constEnd()

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

Definition at line 603 of file qmap.h.

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

Referenced by QGraphicsItem::~QGraphicsItem(), QGraphicsScene::addItem(), QtPrivate::ResultStoreBase::clear(), QXcbVirtualDesktop::colormapForVisual(), QDBusMetaObject::createMetaObject(), QXcbVirtualDesktop::depthOfVisual(), QLowEnergyControllerPrivateBluezDBus::discoverServiceDetails(), QLowEnergyControllerPrivateBluezDBus::discoverServices(), QGridLayoutRowData::distributeMultiCells(), QV4::Compiler::Context::emitBlockHeader(), findAdapterForAddress(), QFontCache::findEngineData(), findRemoteDevicePath(), QMdiSubWindowPrivate::getOperation(), QWindowsOleDropSource::GiveFeedback(), QXcbClipboard::handlePropertyNotify(), QSortedModelEngine::indexHint(), QSqlTableModelPrivate::insertCount(), QProcessEnvironmentPrivate::keys(), QMap< Key, T >::last(), QMap< Key, T >::lastKey(), QSSGMesh::Mesh::loadMesh(), QMimeBinaryProvider::loadMimeTypePrivate(), nameOfRemoteCentral(), QWizardPage::nextId(), QQuickStochasticEngine::nextState(), QBluetoothSocketPrivateBluez::peerName(), QTlsPrivate::TlsKeyBase::pemFromDer(), qSaveQmlJSUnitAsCpp(), reachableSymbols(), QConfFileSettingsPrivate::remove(), QGraphicsScenePrivate::removeItemHelper(), QBluetoothLocalDevicePrivate::requestPairing(), QGtk3Json::save(), QQuickFontValueType::setFeatures(), QStringListModel::setItemData(), QTableModel::setItemData(), QSqlTableModel::setRecord(), QWizardPrivate::setStyle(), QGeoCameraTilesPrivate::tilesFromPolygon(), QGestureManager::unregisterGestureRecognizer(), QProcessEnvironment::value(), variantMapToJS(), and QXcbVirtualDesktop::visualForId().

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

◆ constFind()

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

Definition at line 654 of file qmap.h.

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

Referenced by QXcbVirtualDesktop::colormapForVisual(), QFontCache::findEngineData(), QWindowsOleDropSource::GiveFeedback(), QSSGMesh::Mesh::loadMesh(), QMimeBinaryProvider::loadMimeTypePrivate(), mapBinding(), mapBinding(), QShader::nativeShaderInfo(), QStringListModel::setItemData(), 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 610 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 612 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 340 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(), addTagToMap(), QBuiltInMimes::canConvertFromMime(), Moc::checkSuperClasses(), QT_BEGIN_NAMESPACE::checkUsageTerms(), QNetworkManagerInterface::connectivityState(), QProcessEnvironment::contains(), QBluetoothServiceInfo::contains(), QMetalComputePipeline::create(), QKmsDevice::createScreenForConnector(), QWindowsFontDatabase::derefUniqueFont(), QGeoJson::exportGeoJson(), QQmlJS::Dom::Map::fromMapRef(), Generator::generateCode(), importFeatureCollection(), QGeoJson::importGeoJson(), QQuickAnimatedImagePrivate::infoForCurrentFrame(), QPlaceManagerEngineNokiaV2::initializeCategories(), QDeclarativePlaceContentModel::initializeCollection(), QFontCache::insertEngineData(), QSampleCache::isCached(), QBluetoothServiceInfo::isComplete(), QAndroidCamera::isWhiteBalanceModeSupported(), QQmlJSLinter::lintModule(), main(), QNdefFilter::match(), QQuick3DParticleLineParticle::nextCurrentIndex(), QQuick3DParticleModelBlendParticle::nextCurrentIndex(), QQuick3DParticleSpriteParticle::nextCurrentIndex(), QDeclarativeSearchResultModel::onContentUpdated(), QTest::QTouchEventSequence::pointOrPreviousPoint(), QGeoJson::printQvariant(), QBluetoothServiceInfoPrivate::protocolDescriptor(), QDeclarativeSearchResultModel::queryFinished(), QWindowsFontDatabase::refUniqueFont(), QQmlJSLogger::registerCategory(), QtBluezDiscoveryManager::registerDiscoveryInterest(), QtBluezPeripheralConnectionManager::remoteDeviceAccessEvent(), QConfFileSettingsPrivate::remove(), AdapterManager::removeClient(), QAndroidMediaPlayer::setActiveTrack(), Viewer::setBrightness(), QRhiMetal::setShaderResources(), QQuickFontLoader::setSource(), QV4::Compiler::Context::setupFunctionIndices(), QNetworkManagerInterface::state(), QMetalGraphicsPipelineData::Tessellation::teseFragRenderPipeline(), 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 410 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 403 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 270 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 760 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 601 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(), QQmlJS::Dom::ModuleIndex::ModuleIndex(), LinuxDmabufParams::~LinuxDmabufParams(), QQmlJS::Dom::ModuleIndex::~ModuleIndex(), QWizardPrivate::_q_handleFieldObjectDestroyed(), QQmlJS::Dom::addExternalItem(), QV4::Compiler::Context::addLocalVar(), QSSGStageGeneratorBase::addShaderConstantBufferItemMap(), QSSGStageGeneratorBase::addShaderItemMap(), QSSGStageGeneratorBase::addShaderUniformMap(), Grammar::buildRuleMap(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QMap< Key, T >::cend(), QGestureManager::cleanupCachedGestures(), QWizardPrivate::cleanupPagesNotInHistory(), QFontCache::clear(), QTextDocumentPrivate::clear(), QAbstractItemViewPrivate::clearOrRemove(), QMap< Key, T >::constEnd(), QMap< Key, T >::constKeyValueEnd(), convertIterableToVariantHash(), convertIterableToVariantMap(), QWindowsOleDropSource::createCursors(), QAbstractItemViewPrivate::delegateRefCount(), QtBluezPeripheralConnectionManager::disconnectDevices(), QV4::Compiler::Context::emitBlockHeader(), QQmlJS::Dom::QmltypesFile::ensureInModuleIndex(), QGeoServiceProviderPrivate::filterParameterMap(), QV4::Compiler::Context::findMember(), QtPrivate::findResult(), QCborMap::fromVariantMap(), QQmlImportInstance::getVersionedScripts(), QAndroidStyle::AndroidDrawable::initPadding(), QMap< Key, T >::insert(), QMap< Key, T >::insert(), 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(), QQmlJS::Dom::ModuleIndex::mergeWith(), QApplication::notify(), operator<<(), QBluetoothLocalDevicePrivate::pairingStatus(), QGeoJson::printQvariant(), QTessellatorPrivate::processIntersections(), qHash(), QConfFileSettingsPrivate::remove(), QGraphicsScenePrivate::removeItemHelper(), QShader::removeNativeShaderInfo(), QShader::removeShader(), QSampleCache::requestSample(), QWasmCompositor::requestUpdateWindow(), QSqlTableModelPrivate::revertCachedRow(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QCompletionEngine::saveInCache(), QSampleCache::setCapacity(), QAbstractItemModel::setItemData(), QNearFieldTargetPrivate::setResponseForRequest(), QV4::Compiler::Context::setupFunctionIndices(), QImage::text(), QMdiSubWindowPrivate::updateDirtyRegions(), QSpanCollection::updateInsertedColumns(), QSpanCollection::updateRemovedRows(), 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 602 of file qmap.h.

References d.

◆ equal_range() [1/2]

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

Definition at line 765 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 >
QPair< const_iterator, const_iterator > QMap< Key, T >::equal_range ( const Key akey) const
inline

Definition at line 773 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 623 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 618 of file qmap.h.

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

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

+ 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 640 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(), QQmlJS::Dom::addExternalItem(), QV4::Compiler::Context::addLocalVar(), Grammar::buildRuleMap(), QGestureManager::cleanupCachedGestures(), QMap< Key, T >::constFind(), QWindowsOleDropSource::createCursors(), QXcbVirtualDesktop::depthOfVisual(), QV4::Compiler::Context::findMember(), QQmlImportInstance::getVersionedScripts(), QXcbClipboard::handlePropertyNotify(), QAndroidStyle::AndroidDrawable::initPadding(), QCompletionEngine::lookupCache(), QCompletionEngine::matchHint(), QV4::Compiler::Context::memberInfo(), QApplication::notify(), CMMNotificationClient::OnDeviceAdded(), CMMNotificationClient::OnDeviceRemoved(), CMMNotificationClient::OnDeviceStateChanged(), QBluetoothLocalDevicePrivate::pairingStatus(), QTessellatorPrivate::processIntersections(), QShader::removeNativeShaderInfo(), QShader::removeShader(), QSampleCache::requestSample(), QWasmCompositor::requestUpdateWindow(), QSqlTableModelPrivate::revertCachedRow(), QMdiSubWindowPrivate::setNewGeometry(), QMdiSubWindowPrivate::updateCursor(), QQmlJS::Dom::updateEntry(), 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 647 of file qmap.h.

References d.

◆ first() [1/2]

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

Definition at line 418 of file qmap.h.

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

Referenced by QMetalComputePipeline::create(), QGraphicsScenePrivate::sendTouchBeginEvent(), 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 419 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 415 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 687 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(), QWindowsMediaDevices::QWindowsMediaDevices(), QXcbVirtualDesktop::QXcbVirtualDesktop(), CPP::WriteIncludes::WriteIncludes(), QWizardPrivate::_q_handleFieldObjectDestroyed(), CustomWidgetsInfo::acceptCustomWidget(), QQmlTypeNameCache::add(), AdapterManager::addClient(), QSSGStageGeneratorBase::addConstantBuffer(), QSSGStageGeneratorBase::addDefinition(), QFFmpegMetaData::addEntry(), QQmlJS::Dom::addExternalItem(), QWizardPrivate::addField(), QSSGStageGeneratorBase::addIncoming(), QV4::Compiler::Context::addLocalVar(), QSSGStageGeneratorBase::addOutgoing(), QSSGRenderReflectionMap::addReflectionMapEntry(), QtBluezPeripheralApplication::addService(), QSpanCollection::addSpan(), addTagToMap(), QQuickMultiPointTouchArea::addTouchPoint(), QQuickMultiPointTouchArea::addTouchPoint(), QQuickMultiPointTouchArea::addTouchPrototype(), QSSGStageGeneratorBase::addUniform(), QSSGStageGeneratorBase::addUniformArray(), QPlace::appendContactDetail(), QQuick3DParticleAffector::appendParticle(), Automaton::buildLookaheads(), Grammar::buildRuleMap(), QXcbVirtualDesktop::colormapForVisual(), QQmlJS::Dom::DomEnvironment::commitToBase(), QBluetoothSocketPrivateBluezDBus::connectToServiceHelper(), QQmlJS::Dom::MockObject::copy(), QD3D11ComputePipeline::create(), QWindowsOleDropSource::createCursors(), QDBusMetaObject::createMetaObject(), createOidMap(), QTlsPrivate::TlsKeyOpenSSL::derFromPem(), QTlsPrivate::TlsKeyGeneric::derFromPem(), QIOSMenu::eventFilter(), QShader::fromSerialized(), QCocoaTouch::getCurrentTouchPointList(), QtBluezPeripheralApplication::GetManagedObjects(), QQmlImportInstance::getVersionedScripts(), QSGVivanteVideoNode::getVideoFormat2GLFormatMap(), importFeatureCollection(), QGeoJson::importGeoJson(), importGeometry(), importMultiPolygon(), QQuickAnimatedImagePrivate::infoForCurrentFrame(), QMoviePrivate::infoForFrame(), QPlaceManagerEngineNokiaV2::initializeCategories(), QDeclarativePlaceContentModel::initializeCollection(), QMdiSubWindowPrivate::initOperationMap(), QProcessEnvironmentPrivate::insert(), QProcessEnvironment::insert(), QMap< Key, T >::insert(), QFontCache::insertEngineData(), QAbstractItemModel::itemData(), QListModel::itemData(), QTableModel::itemData(), QTreeModel::itemData(), QGtk3Json::load(), QSSGMesh::Mesh::loadAll(), QMimeBinaryProvider::loadMimeTypePrivate(), main(), QNdefFilter::match(), RequestHandler::matchPlaces(), QTextDocumentPrivate::mergeCachedResources(), mergeKeySets(), mergeKeySets(), QQuick3DParticleLineParticle::nextCurrentIndex(), QQuick3DParticleModelBlendParticle::nextCurrentIndex(), QQuick3DParticleSpriteParticle::nextCurrentIndex(), objectToVariant(), QDeclarativeSearchResultModel::onContentUpdated(), CMMNotificationClient::OnDeviceAdded(), operator+=(), operator>>(), QDeclarativeGeoServiceProvider::parameterMap(), QDeclarativePositionSource::parameterMap(), Recognizer::parse(), parseCollection(), Moc::parseDeclareInterface(), Moc::parseFlag(), parseMapboxBanner(), parseMapboxBannerComponent(), parseMapboxBannerInstruction(), parseMapboxVoiceInstruction(), QT_BEGIN_NAMESPACE::parsePlaceResult(), QGeoRouteParserOsrmV5Private::parseStep(), QDBusMenuLayoutItem::populate(), QTextFormat::properties(), QtBluezPeripheralDescriptor::properties(), QtBluezPeripheralCharacteristic::properties(), QtBluezPeripheralService::properties(), propertyMap(), qtValue(), QDeclarativeSearchResultModel::queryFinished(), read_xpm_body(), QSSGMesh::MeshInternal::readFileHeader(), QConfFileSettingsPrivate::readIniSection(), QAndroidActivityCallbackResultReceiver::registerCallback(), QQmlJSLogger::registerCategory(), QLoggingRegistry::registerEnvironmentOverrideForCategory(), QQuick3DParticleSystem::registerParticleAffector(), QtBluezPeripheralConnectionManager::remoteDeviceAccessEvent(), QConfFileSettingsPrivate::remove(), renderToKTXFileInternal(), QQuick3DParticleAffector::replaceParticle(), QSampleCache::requestSample(), QGeoTileRequestManagerPrivate::requestTiles(), QWasmCompositor::requestUpdateWindow(), QSqlTableModelPrivate::revertCachedRow(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QConfFileSettingsPrivate::set(), QPlace::setContactDetails(), QPlace::setExtendedAttribute(), QNearFieldTargetPrivate::setResponseForRequest(), QImage::setText(), QPlace::setTotalContentCount(), QDBusTrayIcon::showMessage(), QGraphicsScenePrivate::storeMouseButtonsForMouseGrabber(), QTlsPrivate::TlsKeyGeneric::toPem(), QGraphicsScenePrivate::touchEventHandler(), QCborMap::toVariantMap(), QRhiGles2::tryLoadFromDiskOrPipelineCache(), QQmlJS::Dom::updateEntry(), QSpanCollection::updateInsertedColumns(), QSpanCollection::updateRemovedRows(), QGeoRouteParserOsrmV5ExtensionMapbox::updateSegment(), VDMAbstractItemModelDataType::value(), 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 710 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 695 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 733 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 278 of file qmap.h.

References d.

◆ isEmpty()

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

Definition at line 268 of file qmap.h.

References d.

Referenced by QGraphicsItem::~QGraphicsItem(), Python::WriteImports::acceptUI(), QDBusMetaObject::createMetaObject(), QMap< Key, T >::empty(), QtPrivate::findResult(), QMap< Key, T >::first(), QMap< Key, T >::first(), QMap< Key, T >::firstKey(), QImageReaderPrivate::getText(), QSGVivanteVideoNode::getVideoFormat2GLFormatMap(), QXcbClipboard::handlePropertyNotify(), QMap< Key, T >::insert(), QProcessEnvironment::isEmpty(), QPlacePrivate::isEmpty(), QPlaceIcon::isEmpty(), QGeoLocationPrivate::isEmpty(), QSslConfiguration::isNull(), QShader::isValid(), QBluetoothServiceInfo::isValid(), QMap< Key, T >::last(), QMap< Key, T >::last(), QMap< Key, T >::lastKey(), QSSGMesh::Mesh::loadMesh(), main(), mapBinding(), mapBinding(), Moc::parse(), QQuickStackViewPrivate::parseElements(), QDBusIntrospection::parseInterface(), QTlsPrivate::TlsKeyBase::pemFromDer(), QTessellatorPrivate::processIntersections(), qSaveQmlJSUnitAsCpp(), QDeclarativeSearchResultModel::queryFinished(), QtBluezPeripheralApplication::registerApplication(), QtBluezPeripheralApplication::registrationNeeded(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QQuick3DGeometryPrivate::semanticFromName(), QStringListModel::setItemData(), QGraphicsScenePrivate::touchEventHandler(), and QGeoTiledMapPrivate::updateScene().

+ Here is the caller graph for this function:

◆ isSharedWith()

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

Definition at line 283 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 348 of file qmap.h.

References d.

Referenced by QBuiltInMimes::convertToMime(), QQmlJS::Dom::AttachedInfo::iterateDirectSubpaths(), QQmlJS::Dom::DomEnvironment::iterateDirectSubpaths(), keyToTag(), keyToTag(), tagToKey(), 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

◆ keys() [2/2]

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

Definition at line 389 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 607 of file qmap.h.

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

Referenced by QStandardItemPrivate::setItemData().

+ Here is the call graph for this function:
+ Here is the caller 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 609 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 608 of file qmap.h.

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

Referenced by QStandardItemPrivate::setItemData().

+ Here is the call graph for this function:
+ Here is the caller 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 611 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 420 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 421 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 416 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 659 of file qmap.h.

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

Referenced by QtPrivate::findResult(), QSortedModelEngine::indexHint(), and QConfFileSettingsPrivate::remove().

+ 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 666 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 366 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 377 of file qmap.h.

◆ remove()

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

Definition at line 299 of file qmap.h.

References QMapData< AMap >::copyIfNotEquivalentTo(), and d.

Referenced by QWizardPrivate::_q_handleFieldObjectDestroyed(), QQuick3DParticleAffector::appendParticle(), QQuickMultiPointTouchArea::clearTouchLists(), QTextDocumentPrivate::deleteObject(), QWindowsFontDatabase::derefUniqueFont(), event_cb(), QAndroidActivityCallbackResultReceiver::handleActivityResult(), QConfFile::mergedKeyMap(), CMMNotificationClient::OnDeviceRemoved(), QWasmCompositor::onWindowTreeChanged(), QTessellatorPrivate::processIntersections(), QConfFileSettingsPrivate::remove(), QProcessEnvironment::remove(), QBluetoothServiceInfo::removeAttribute(), AdapterManager::removeClient(), QPlace::removeContactDetails(), QWizardPrivate::removeFieldAt(), QGraphicsScenePrivate::removeItemHelper(), QQuick3DParticleAffector::removeLastParticle(), QXcbClipboard::removeTransaction(), QQuick3DParticleAffector::replaceParticle(), QConfFileSettingsPrivate::set(), QPlace::setContactDetails(), QPlace::setExtendedAttribute(), QGeoRouteRequest::setFeatureWeight(), QMetalGraphicsPipelineData::Tessellation::teseFragRenderPipeline(), QGraphicsScenePrivate::touchEventHandler(), QtBluezDiscoveryManager::unregisterDiscoveryInterest(), QQuick3DParticleSystem::unRegisterParticleAffector(), QQuickMultiPointTouchArea::updateTouchData(), QWaylandQtWindowManagerPrivate::windowmanager_destroy_resource(), and QWaylandQtWindowManagerPrivate::windowmanager_open_url().

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

◆ removeIf()

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

Definition at line 316 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 203 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 321 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 231 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 224 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 673 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 680 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 356 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(), QPlaceManagerEngineMapbox::QPlaceManagerEngineMapbox(), QPlaceManagerEngineNokiaV2::QPlaceManagerEngineNokiaV2(), QPlaceManagerEngineOsm::QPlaceManagerEngineOsm(), QWizardPrivate::_q_handleFieldObjectDestroyed(), QtBluezPeripheralGattObject::accessEvent(), QSpanCollection::addSpan(), QRhiMetal::adjustForMultiViewDraw(), QPlace::appendContactDetail(), QBluetoothServiceInfo::attribute(), Automaton::buildDefaultReduceActions(), QBuiltInMimes::canConvertFromMime(), QPlaceManagerEngineNokiaV2::category(), QT_BEGIN_NAMESPACE::checkUsageTerms(), QPlaceManagerEngineNokiaV2::childCategories(), QPlaceManagerEngineNokiaV2::childCategoryIds(), QQmlJS::Dom::DomEnvironment::commitToBase(), QNetworkManagerInterface::connectivityState(), QPlace::contactDetails(), QBuiltInMimes::convertFromMime(), createDeviceInfoFromBluez5Device(), QGeoServiceProviderFactoryMapbox::createMappingManagerEngine(), QGeoServiceProviderFactoryMapbox::createPlaceManagerEngine(), GeoServiceProviderFactoryEsri::createRoutingManagerEngine(), QGeoServiceProviderFactoryMapbox::createRoutingManagerEngine(), QKmsDevice::createScreenForConnector(), CustomWidgetsInfo::customWidget(), CustomWidgetsInfo::customWidgetAddPageMethod(), QDeclarativePlaceContentModel::data(), QQmlTableModel::data(), QTlsPrivate::TlsKeyGeneric::decodePem(), deploy(), deployWebEngineCore(), deployWebProcess(), exportFeature(), exportFeatureCollection(), QGeoJson::exportGeoJson(), exportGeometry(), exportGeometryCollection(), exportLineString(), exportMultiLineString(), exportMultiPoint(), exportMultiPolygon(), exportPoint(), exportPolygon(), QPlacePrivate::extendedAttribute(), extractLocalFileName(), QGeoRouteRequest::featureWeight(), findAdapterForAddress(), QtPrivate::QCalendarModel::formatForCell(), QAndroidStyle::AndroidDrawable::fromMap(), Generator::generateCode(), QSSGAssetImportManager::getOptionsForFile(), importFeatureCollection(), QSSGAssetImportManager::importFile(), QGeoJson::importGeoJson(), importGeometry(), importGeometryCollection(), importLineString(), importMultiLineString(), importMultiPoint(), importMultiPolygon(), importPoint(), importPolygon(), QQuickAnimatedImagePrivate::infoForCurrentFrame(), QMoviePrivate::infoForFrame(), injectExtra(), QFontCache::insertEngineData(), QGestureEvent::isAccepted(), CustomWidgetsInfo::isCustomWidgetContainer(), QXcbKeyboard::keymapFromCore(), QtBluezPeripheralApplication::localCharacteristicWrite(), QtBluezPeripheralApplication::localDescriptorWrite(), main(), QNdefFilter::match(), QQuickTextNodeEngine::mergeProcessedNodes(), QBuiltInMimes::mimeForFormat(), QQmlJS::Dom::DomEnvironment::moduleIndexMajorVersions(), nameOfRemoteCentral(), QTextDocumentPrivate::objectForIndex(), QDeclarativeSearchResultModel::onContentUpdated(), CppGenerator::operator()(), ParseTable::operator()(), QPlaceManagerEngineNokiaV2::parentCategoryId(), Moc::parseInterfaces(), QBluetoothSocketPrivateBluez::peerName(), QTest::QTouchEventSequence::pointOrPreviousPoint(), QPlace::primaryEmail(), QPlace::primaryFax(), QPlace::primaryPhone(), QPlace::primaryWebsite(), QBluetoothServiceInfoPrivate::protocolDescriptor(), qtVersion(), 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(), QNetworkManagerInterface::state(), QMetalGraphicsPipelineData::Tessellation::teseFragRenderPipeline(), QRhiMetal::tessellatedDraw(), QImageReader::text(), QImage::text(), EnumDef::toJson(), QPlace::totalContentCount(), QGraphicsScenePrivate::touchEventHandler(), QQuickMultiPointTouchArea::touchPoint_at(), QAndroidMediaPlayer::trackCount(), QAndroidMediaPlayer::trackMetaData(), QT_BEGIN_NAMESPACE::tryGetNetworkAccessManager(), QWizardPrivate::updateButtonTexts(), QSpanCollection::updateInsertedColumns(), QXcbKeyboard::updateModifiers(), QSpanCollection::updateRemovedRows(), QQuickMultiPointTouchArea::updateTouchData(), QPlaceIcon::url(), QSGVivanteVideoMaterial::vivanteMapping(), QMetalGraphicsPipelineData::Tessellation::vsCompPipeline(), 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 396 of file qmap.h.

References d.

Referenced by QWasmMediaDevices::audioInputs(), QWasmMediaDevices::audioOutputs(), QPulseAudioEngine::availableDevices(), QQmlJSLogger::categories(), foreach(), QCocoaTouch::getCurrentTouchPointList(), QQmlImportInstance::getVersionedScripts(), 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 256 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 245 of file qmap.h.

◆ QMultiMap< Key, T >

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

Definition at line 189 of file qmap.h.


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