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
QSet< T > Class Template Reference

#include <qset.h>

+ Collaboration diagram for QSet< T >:

Classes

class  const_iterator
 
class  iterator
 

Public Types

typedef iterator Iterator
 
typedef const_iterator ConstIterator
 
typedef T key_type
 
typedef T value_type
 
typedef value_typepointer
 
typedef const value_typeconst_pointer
 
typedef value_typereference
 
typedef const value_typeconst_reference
 
typedef qptrdiff difference_type
 
typedef qsizetype size_type
 

Public Member Functions

 QSet () noexcept
 
 QSet (std::initializer_list< T > list)
 
template<typename InputIterator , QtPrivate::IfIsInputIterator< InputIterator > = true>
 QSet (InputIterator first, InputIterator last)
 
void swap (QSet< T > &other) noexcept
 
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > operator== (const QSet< T > &other) const
 
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > operator!= (const QSet< T > &other) const
 
qsizetype size () const
 
bool isEmpty () const
 
qsizetype capacity () const
 
void reserve (qsizetype size)
 
void squeeze ()
 
void detach ()
 
bool isDetached () const
 
void clear ()
 
bool remove (const T &value)
 
template<typename Pred >
qsizetype removeIf (Pred predicate)
 
bool contains (const T &value) const
 
bool contains (const QSet< T > &set) const
 
iterator begin ()
 
const_iterator begin () const noexcept
 
const_iterator cbegin () const noexcept
 
const_iterator constBegin () const noexcept
 
iterator end ()
 
const_iterator end () const noexcept
 
const_iterator cend () const noexcept
 
const_iterator constEnd () const noexcept
 
iterator erase (const_iterator i)
 
qsizetype count () const
 
iterator insert (const T &value)
 
iterator insert (T &&value)
 
iterator find (const T &value)
 
const_iterator find (const T &value) const
 
const_iterator constFind (const T &value) const
 
QSet< T > & unite (const QSet< T > &other)
 
QSet< T > & intersect (const QSet< T > &other)
 
bool intersects (const QSet< T > &other) const
 
QSet< T > & subtract (const QSet< T > &other)
 
bool empty () const
 
iterator insert (const_iterator, const T &value)
 
QSet< T > & operator<< (const T &value)
 
QSet< T > & operator|= (const QSet< T > &other)
 
QSet< T > & operator|= (const T &value)
 
QSet< T > & operator&= (const QSet< T > &other)
 
QSet< T > & operator&= (const T &value)
 
QSet< T > & operator+= (const QSet< T > &other)
 
QSet< T > & operator+= (const T &value)
 
QSet< T > & operator-= (const QSet< T > &other)
 
QSet< T > & operator-= (const T &value)
 
QList< T > values () const
 

Friends

QSet operator| (const QSet &lhs, const QSet &rhs)
 
QSet operator| (QSet &&lhs, const QSet &rhs)
 
QSet operator& (const QSet &lhs, const QSet &rhs)
 
QSet operator& (QSet &&lhs, const QSet &rhs)
 
QSet operator+ (const QSet &lhs, const QSet &rhs)
 
QSet operator+ (QSet &&lhs, const QSet &rhs)
 
QSet operator- (const QSet &lhs, const QSet &rhs)
 
QSet operator- (QSet &&lhs, const QSet &rhs)
 

Detailed Description

template<class T>
class QSet< T >

Definition at line 17 of file qset.h.

Member Typedef Documentation

◆ const_pointer

template<class T >
typedef const value_type* QSet< T >::const_pointer

Definition at line 171 of file qset.h.

◆ const_reference

template<class T >
typedef const value_type& QSet< T >::const_reference

Definition at line 173 of file qset.h.

◆ ConstIterator

template<class T >
typedef const_iterator QSet< T >::ConstIterator

Definition at line 153 of file qset.h.

◆ difference_type

template<class T >
typedef qptrdiff QSet< T >::difference_type

Definition at line 174 of file qset.h.

◆ Iterator

template<class T >
typedef iterator QSet< T >::Iterator

Definition at line 152 of file qset.h.

◆ key_type

template<class T >
typedef T QSet< T >::key_type

Definition at line 168 of file qset.h.

◆ pointer

template<class T >
typedef value_type* QSet< T >::pointer

Definition at line 170 of file qset.h.

◆ reference

template<class T >
typedef value_type& QSet< T >::reference

Definition at line 172 of file qset.h.

◆ size_type

template<class T >
typedef qsizetype QSet< T >::size_type

Definition at line 175 of file qset.h.

◆ value_type

template<class T >
typedef T QSet< T >::value_type

Definition at line 169 of file qset.h.

Constructor & Destructor Documentation

◆ QSet() [1/3]

template<class T >
QSet< T >::QSet ( )
inlinenoexcept

Definition at line 22 of file qset.h.

◆ QSet() [2/3]

template<class T >
QSet< T >::QSet ( std::initializer_list< T > list)
inline

Definition at line 23 of file qset.h.

◆ QSet() [3/3]

template<class T >
template<typename InputIterator , QtPrivate::IfIsInputIterator< InputIterator > = true>
QSet< T >::QSet ( InputIterator first,
InputIterator last )
inline

Definition at line 26 of file qset.h.

References QSet< T >::insert(), and QtPrivate::reserveIfForwardIterator().

+ Here is the call graph for this function:

Member Function Documentation

◆ begin() [1/2]

template<class T >
iterator QSet< T >::begin ( )
inline

Definition at line 136 of file qset.h.

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

Referenced by QQmlJS::Dom::ModuleIndex::ModuleIndex(), QCtfLibImpl::QCtfLibImpl(), QQmlJS::Dom::ModuleIndex::~ModuleIndex(), QAndroidServicePrivate::~QAndroidServicePrivate(), QMenu::~QMenu(), QQuickItemViewTransitioner::~QQuickItemViewTransitioner(), QQuickSpringAnimation::~QQuickSpringAnimation(), QUndoGroup::~QUndoGroup(), QQmlJS::Dom::AstRangesVisitor::addItemRanges(), QQmlPrivate::amendException(), QWidgetTextControl::anchorPosition(), QV4::ArrayData::append(), QDuplicateTracker< T, Prealloc >::appendTo(), QQmlJSLinter::applyFixes(), QtPrivate::associative_erase_if(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QTextTable::cellAt(), QDialogButtonBox::changeEvent(), QQuickPropertyChanges::changeExpression(), QQuickPropertyChanges::changeValue(), QV4::MemoryManager::cleanupDeletedQObjectWrappersInSweep(), QQuickWindowPrivate::cleanupNodesOnShutdown(), QNetworkAccessCache::clear(), QListViewPrivate::closestIndex(), QItemSelectionModelPrivate::columnsAboutToBeInserted(), QFutureInterfaceBasePrivate::connectOutputInterface(), QQmlOpenMetaObjectType::createProperties(), QQmlOpenMetaObjectType::createProperty(), QAbstractItemViewPrivate::delegateRefCount(), QFFmpeg::deviceTypes(), QSGInternalTextNode::doAddTextDocument(), QTreeView::doItemsLayout(), QQmlReusableDelegateModelItemsPool::drain(), filterItemsFromTextLocation(), formatDifference(), QQmlMetaType::freeUnusedTypesAndCaches(), SyncScanner::generateDeprecatedHeaders(), QGraphicsScenePrivate::gestureEventHandler(), hasActiveInlineComponents(), if(), if(), QTestTable::indexOf(), VDMAbstractItemModelDataType::initializeMetaType(), QHeaderView::initializeSections(), QWidgetTextControlPrivate::inputMethodEvent(), QQmlPropertyMap::insert(), QSqlTableModel::insertRows(), QLibrary::isLibrary(), QItemSelectionModel::isSelected(), QQmlLSUtils::itemsFromTextLocation(), QTextDocumentLayoutPrivate::layoutFrame(), QQmlJS::Dom::ModuleIndex::mergeWith(), QV4::UrlSearchParamsPrototype::method_set(), QSctpServer::nextPendingDatagramConnection(), QQmlJSCompilePass::nextStateFromAnnotations(), QQuickParticleSystem::nextSystemIndex(), QSettingsPrivate::normalizedKey(), Recognizer::parse(), parseEnvPath(), QSGMaterialShaderPrivate::prepare(), QtPrivate::printSequentialContainer(), QQmlOpenMetaObjectType::propertyCreated(), qDBusRemoveTimeout(), QHash< Key, T >::qHash(), QMultiHash< Key, T >::qHash(), QQuickViewTestUtils::qquickmodelviewstestutil_move(), qt_debug_print_texture_count(), QQuickState::removeEntryFromRevertList(), QQuickPropertyChanges::removeProperty(), resolveTypesInternal(), QFutureInterface< T >::results(), QItemSelectionModelPrivate::rowsAboutToBeInserted(), QItemSelectionModelPrivate::rowsAboutToBeRemoved(), QListView::rowsAboutToBeRemoved(), QWindowsFileSystemWatcherEngineThread::run(), QQmlJSCodeGenerator::run(), runRcc(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QTreeViewPrivate::select(), QListViewPrivate::selection(), QCoreApplicationPrivate::sendPostedEvents(), QTableModel::setItem(), MainWindow::showTable(), sm_setProperty(), QTreeWidgetItemPrivate::sortChildren(), SyncScanner::sync(), QQmlReusableDelegateModelItemsPool::takeItem(), QImage::text(), QQuickTransitionManager::transition(), QEventDispatcherWin32::unregisterTimers(), QQuickImageSelector::updateActiveStates(), QAbstractItemView::updateEditorGeometries(), QSpanCollection::updateInsertedColumns(), QQuickTextEdit::updatePaintNode(), QQmlJS::Dom::updatePathFromOwnerMultiMap(), QSpanCollection::updateRemovedColumns(), QSpanCollection::updateRemovedRows(), and QmlTypeRegistrar::write().

+ Here is the call graph for this function:

◆ begin() [2/2]

template<class T >
const_iterator QSet< T >::begin ( ) const
inlinenoexcept

Definition at line 137 of file qset.h.

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

+ Here is the call graph for this function:

◆ capacity()

template<class T >
qsizetype QSet< T >::capacity ( ) const
inline

Definition at line 54 of file qset.h.

References QHash< Key, T >::capacity().

+ Here is the call graph for this function:

◆ cbegin()

template<class T >
const_iterator QSet< T >::cbegin ( ) const
inlinenoexcept

Definition at line 138 of file qset.h.

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

Referenced by QQmlJS::Dom::AstRangesVisitor::addItemRanges(), QGeoAreaMonitorSource::availableSources(), QGeoPositionInfoSource::availableSources(), QGeoSatelliteInfoSource::availableSources(), QQmlJSBasicBlocks::basicBlocksValidation(), QWindowsCursor::clearOverrideCursor(), QQmlJS::Dom::DomEnvironment::commitToBase(), QNetworkInformationPrivate::create(), deviceNumber(), doParseMountInfo(), QAnimationGroup::event(), QAndroidStyle::AndroidStateDrawable::extractState(), QQmlJS::Dom::DomEnvironment::finishLoadingDependencies(), formatInputMethodEvent(), getVariables(), QToolBox::indexOf(), QQmlJSLinter::lintFile(), QSSGMesh::Mesh::loadAll(), Preprocessor::macroExpandIdentifier(), QNdefFilter::match(), QFileDialogPrivate::navigate(), QWaylandQuickItemPrivate::placeAboveParent(), QEventDispatcherUNIX::processEvents(), QQmlMetaType::qmlTypeNames(), QSSGProgramGenerator::registerShaderMetaDataFromSource(), QNetworkDiskCache::remove(), QHttpHeadersPrivate::removeAll(), QXcbXSettings::removeCallbackForHandle(), QV4::MemoryManager::runGC(), QQsbInMemoryCollection::save(), QHeaderView::sectionsInserted(), QShader::serialized(), QSimplex::setConstraints(), QGeoTiledMapScene::texturedTiles(), QRhiGles2::tryLoadFromDiskOrPipelineCache(), QGeoTiledMapPrivate::updateScene(), QGeoTiledMapScene::updateSceneGraph(), QQmlJS::Dom::ErrorMessage::visitRegisteredMessages(), and QSSGMesh::MeshInternal::writeFileHeader().

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

◆ cend()

template<class T >
const_iterator QSet< T >::cend ( ) const
inlinenoexcept

Definition at line 142 of file qset.h.

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

Referenced by QButtonGroup::addButton(), addOpaqueDepthPrePassBindings(), QQuick3DObjectPrivate::attachWatcherPriv(), QNetworkReplyImplPrivate::backendNotify(), QQmlJSBasicBlocks::basicBlocksValidation(), QAbstractItemModel::changePersistentIndex(), QAbstractItemModel::changePersistentIndexList(), QQmlJS::Dom::DomEnvironment::commitToBase(), QNetworkInformationPrivate::create(), createRenderablesHelper(), QNetworkCookieJar::deleteCookie(), QDBusMetaType::demarshall(), Graph< Vertex, EdgeData >::edgeData(), QAnimationGroup::event(), QT_BEGIN_NAMESPACE::findKeyTextByKeyId(), QMimeDataPrivate::getData(), QSSGLayerRenderData::getGlobalOpacity(), QSSGLayerRenderData::getGlobalTransform(), QToolBox::indexOf(), QNetworkDiskCache::insert(), QtSharedPointer::internalSafetyCheckRemove(), QQmlJSLinter::lintFile(), QDBusMetaType::marshall(), QNdefFilter::match(), QTextTable::mergeCells(), QQmlJS::Dom::DomEnvironment::moduleIndexWithUri(), notifyAutoFocusComplete(), notifyFrameAvailable(), notifyNewPreviewFrame(), notifyPictureCaptured(), notifyPictureExposed(), QWaylandQuickItemPrivate::placeAboveParent(), QEventDispatcherUNIX::processEvents(), qDBusPropertySet(), QQmlMetaType::qmlType(), QQmlMetaType::qmlTypeNames(), QV4::Compiler::StringTableGenerator::registerString(), QtInputSupport::DeviceHandlerList< Handler >::remove(), QHttpHeadersPrivate::removeAll(), QXcbXSettings::removeCallbackForHandle(), QConcatenateTablesProxyModel::removeSourceModel(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), QV4::MemoryManager::runGC(), QShader::serialized(), QSSGLayerRenderData::setGlobalOpacity(), QSSGLayerRenderData::setGlobalTransform(), QBluetoothDeviceInfo::setManufacturerData(), setMaterialProperties(), QSSGLayerRenderData::setModelMaterials(), QBluetoothDeviceInfo::setServiceData(), QNetworkConnectionMonitorPrivate::setTargets(), QGeoTiledMapScene::texturedTiles(), QAbstractTextDocumentLayout::unregisterHandler(), QGeoTiledMapPrivate::updateScene(), QQmlEnginePrivate::valueTypeInstance(), and verifyDigestMD5().

+ Here is the call graph for this function:

◆ clear()

template<class T >
void QSet< T >::clear ( )
inline

Definition at line 61 of file qset.h.

References QHash< Key, T >::clear().

Referenced by QOpenGLContextVersionData::~QOpenGLContextVersionData(), QmlLsp::QQmlCodeModel::~QQmlCodeModel(), QQmlMetaTypeData::~QQmlMetaTypeData(), QRhi::~QRhi(), QTextDocumentPrivate::~QTextDocumentPrivate(), CPP::WriteIncludes::acceptUI(), WriteIncludesBase::acceptUI(), QQuickParticleAffector::activeGroup(), QQuickAnimatorController::beforeNodeSync(), QSSGStageGeneratorBase::begin(), QQuick3DSceneManager::cleanupNodes(), QDuplicateTracker< T, Prealloc >::clear(), QTextDocumentPrivate::clear(), QQsbInMemoryCollection::clear(), QQmlTreeModelToTableModel::clearModelData(), QGeoCameraTiles::createTiles(), QTreeView::doItemsLayout(), QCtfLibImpl::doTracepoint(), QRhi::endFrame(), QSSGRenderer::endFrame(), QRhi::endOffscreenFrame(), QSGRenderContext::endSync(), QGestureManager::filterEventThroughContexts(), QQuickShaderEffectPrivate::handleUpdatePaintNode(), QSGSoftwareRenderContext::invalidate(), QSGDefaultRenderContext::invalidate(), QQuickParticlePainter::performPendingCommits(), QSGRenderer::preprocess(), QGraphicsSceneBspTreeIndexPrivate::purgeRemovedItems(), QQuickParticlePainter::reset(), QSGRhiShaderLinker::reset(), QSGDefaultRenderContext::resetGlyphCacheResources(), QListView::rowsAboutToBeRemoved(), HciManager::stopEvents(), QQsbIODeviceCollection::unmap(), QSGDistanceFieldGlyphCache::update(), QQuickParticleSystem::updateCurrentTime(), QRhiD3D11::updateShaderResourceBindings(), and QQuickAnimatorController::windowNodesDestroyed().

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

◆ constBegin()

template<class T >
const_iterator QSet< T >::constBegin ( ) const
inlinenoexcept

Definition at line 139 of file qset.h.

References QHash< Key, T >::constBegin().

Referenced by QAndroidStyle::QAndroidStyle(), QOpenGLExtensionMatcher::QOpenGLExtensionMatcher(), QApplication::~QApplication(), QSSGQmlUtilities::addResource(), QQmlJS::FixedPoolArray< T >::allocate(), QSSGQmlUtilities::applyEdit(), QNetworkAccessManagerPrivate::backendSupportedSchemes(), QV4::Compiler::ScanFunctions::calcEscapingVariables(), contains(), contains(), QV4::Compiler::Codegen::destructureElementList(), QUnicodeTables::detachAndConvertCase(), QLowEnergyControllerPrivateBluezDBus::discoverServiceDetails(), QLowEnergyControllerPrivateBluezDBus::discoverServices(), QParallelAnimationGroup::duration(), QSequentialAnimationGroup::duration(), QSQLiteResult::execBatch(), QGestureManager::filterEvent(), findAdapterForAddress(), QNetworkAccessManagerPrivate::findBackend(), findRemoteDevicePath(), QV4::ExecutionEngine::fromData(), QSSGRenderShaderMetadata::getShaderMetaData(), QSqlResult::hasOutValues(), interfaceListing(), QItemSelectionModel::isColumnSelected(), QItemSelectionModel::isRowSelected(), QFontDatabasePrivate::load(), QGeoTiledMappingManagerEngineNokia::loadCopyrightsDescriptorsFromJson(), QIdentityProxyModel::match(), matches(), mergeKeySets(), mergeKeySets(), nameOfRemoteCentral(), QSSGQmlUtilities::nodeFromJson(), QListView::paintEvent(), QApplication::palette(), QBluetoothSocketPrivateBluez::peerName(), QtPrivate::printAssociativeContainer(), QSGBatchRenderer::qsg_dumpShadowRoots(), readInputFile(), QVariantAnimationPrivate::recalculateCurrentInterval(), QFreetypeFace::release(), QItemSelectionModelPrivate::remove(), QSGRhiDistanceFieldGlyphCache::requestGlyphs(), QBluetoothLocalDevicePrivate::requestPairing(), QQuickSplitView::restoreState(), QV4::MemoryManager::runGC(), QApplication::setFont(), QQmlListAccessor::setList(), QUrlQuery::setQueryItems(), QDialogButtonBox::standardButtons(), QCss::StyleSelector::styleRulesForNode(), QGraphicsScenePrivate::touchEventHandler(), QCoreApplication::translate(), QApplicationPrivate::translateRawTouchEvent(), QtMetaTypePrivate::typedefNameForType(), QParallelAnimationGroup::updateCurrentTime(), QParallelAnimationGroup::updateDirection(), QQuick3DSceneManager::updateDirtyResourceSecondPass(), QAbstractItemViewPrivate::updateEditorData(), QFontDialogPrivate::updateFamilies(), updateFile(), QGeoCameraTilesPrivate::updateMetadata(), QFontDialogPrivate::updateSizes(), QParallelAnimationGroup::updateState(), QSGRhiShaderEffectMaterialShader::updateUniformData(), variantMapToJS(), QtPrivate::writeAssociativeContainer(), and QtPrivate::writeAssociativeMultiContainer().

+ Here is the call graph for this function:

◆ constEnd()

template<class T >
const_iterator QSet< T >::constEnd ( ) const
inlinenoexcept

Definition at line 143 of file qset.h.

References QHash< Key, T >::constEnd().

Referenced by QAndroidStyle::QAndroidStyle(), QOpenGLExtensionMatcher::QOpenGLExtensionMatcher(), QSSGQmlUtilities::addResource(), QSSGQmlUtilities::applyEdit(), QV4::Compiler::ScanFunctions::calcEscapingVariables(), QQmlPropertyCache::checksum(), QQmlJSTypeResolver::comparableType(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QLowEnergyController::createServiceObject(), QSqlTableModel::data(), QV4::Compiler::Codegen::destructureElementList(), QLowEnergyControllerPrivateBluezDBus::discoverServiceDetails(), QLowEnergyControllerPrivateBluezDBus::discoverServices(), doCountInternalCompositeTypeSelfReferences(), doWriteProperties(), QDrag::dragCursor(), QSSGRhiContext::dummyTexture(), QSet< T >::erase(), QSQLiteResult::execBatch(), QQsbInMemoryCollection::extractEntry(), QNetworkReplyHttpImplPrivate::fetchCacheMetaData(), FontProvider::fetchFont(), QQmlMetaType::fetchOrCreateInlineComponentTypeForUrl(), findAdapterForAddress(), QtAndroidPrivate::findClass(), QQmlMetaType::findInlineComponentType(), findMethodDefinitionOf(), findPropertyDefinitionOf(), findRemoteDevicePath(), QIcc::fromIccProfile(), QGraphicsScenePrivate::gestureTargetsAtHotSpots(), QOpenGLVersionFunctionsFactory::get(), AndroidCamcorderProfile::get(), getCachedClass(), QSSGQmlUtilities::getIdForAnimation(), QSSGQmlUtilities::getIdForNode(), QSSGRenderShaderMetadata::getShaderMetaData(), QSqlResult::hasOutValues(), QSqlTableModel::indexInQuery(), interfaceListing(), QItemSelectionModel::isColumnSelected(), QSqlTableModel::isDirty(), QItemSelectionModel::isRowSelected(), QT_BEGIN_NAMESPACE::isSupportedCodec(), QNetworkReplyHttpImplPrivate::loadFromCacheIfAllowed(), QSSGMesh::Mesh::loadMesh(), mergeKeySets(), mergeKeySets(), nameOfRemoteCentral(), QSSGQmlUtilities::nodeFromJson(), QApplication::palette(), QSortFilterProxyModel::parent(), QBluetoothSocketPrivateBluez::peerName(), QtPrivate::printAssociativeContainer(), processNode(), qDBusPropertyGet(), qDBusPropertyGetAll(), QSGBatchRenderer::qsg_dumpShadowRoots(), QNetworkReply::rawHeader(), readInputFile(), readInputFileDirectory(), QVariantAnimationPrivate::recalculateCurrentInterval(), QFreetypeFace::release(), QItemSelectionModelPrivate::remove(), QNetworkReplyHttpImplPrivate::replyDownloadMetaData(), QBluetoothLocalDevicePrivate::requestPairing(), QQuickSplitView::restoreState(), QV4::MemoryManager::runGC(), QApplication::setFont(), QDialogButtonBox::standardButtons(), QCss::StyleSelector::styleRulesForNode(), QFont::substitute(), QQmlLSQuickCompletionPlugin::suggestSnippetsForLeftHandSideOfBinding(), QQmlLSQuickCompletionPlugin::suggestSnippetsForRightHandSideOfBinding(), QCoreApplication::translate(), QQmlMetaType::unregisterInternalCompositeType(), QQmlMetaType::unregisterInternalCompositeType(), QQuick3DSceneManager::updateDirtyResourceSecondPass(), QAbstractItemViewPrivate::updateEditorData(), QFontDialogPrivate::updateFamilies(), updateFile(), QGeoCameraTilesPrivate::updateMetadata(), QFontDialogPrivate::updateSizes(), and QQmlMetaType::valueType().

+ Here is the call graph for this function:

◆ constFind()

template<class T >
const_iterator QSet< T >::constFind ( const T & value) const
inline

Definition at line 161 of file qset.h.

References QSet< T >::find().

Referenced by QQuick3DObjectPrivate::attachWatcherPriv(), QV4::Compiler::ScanFunctions::calcEscapingVariables(), QAbstractItemModel::changePersistentIndex(), QAbstractItemModel::changePersistentIndexList(), QQmlPropertyCache::checksum(), QQmlJSTypeResolver::comparableType(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QLowEnergyController::createServiceObject(), QSqlTableModel::data(), QDBusMetaType::demarshall(), doCountInternalCompositeTypeSelfReferences(), doWriteProperties(), QDrag::dragCursor(), QSSGRhiContext::dummyTexture(), Graph< Vertex, EdgeData >::edgeData(), QQsbInMemoryCollection::extractEntry(), QQmlMetaType::fetchOrCreateInlineComponentTypeForUrl(), QtAndroidPrivate::findClass(), QQmlMetaType::findInlineComponentType(), findMethodDefinitionOf(), findPropertyDefinitionOf(), QIcc::fromIccProfile(), QSSGRendererPrivate::generateRhiShaderPipelineImpl(), QGraphicsScenePrivate::gestureTargetsAtHotSpots(), QOpenGLVersionFunctionsFactory::get(), AndroidCamcorderProfile::get(), getCachedClass(), QSSGQmlUtilities::getIdForAnimation(), QSSGQmlUtilities::getIdForNode(), QSSGRenderShaderMetadata::getShaderMetaData(), QSqlTableModel::indexInQuery(), QNetworkDiskCache::insert(), QtSharedPointer::internalSafetyCheckRemove(), QSqlTableModel::isDirty(), QT_BEGIN_NAMESPACE::isSupportedCodec(), QSSGMesh::Mesh::loadMesh(), QDBusMetaType::marshall(), QQmlJS::Dom::DomEnvironment::moduleIndexWithUri(), notifyAutoFocusComplete(), notifyFrameAvailable(), notifyNewPreviewFrame(), notifyPictureCaptured(), notifyPictureExposed(), QApplication::palette(), QApplication::palette(), processNode(), qCompileQmlFile(), QQmlMetaType::qmlType(), QV4::Compiler::StringTableGenerator::registerString(), QBluetoothDeviceInfo::setManufacturerData(), setMaterialProperties(), QBluetoothDeviceInfo::setServiceData(), QFont::substitute(), QDBusMetaType::typeToSignature(), QAbstractTextDocumentLayout::unregisterHandler(), QQmlMetaType::unregisterInternalCompositeType(), QQmlMetaType::unregisterInternalCompositeType(), QQmlMetaType::valueType(), QQmlEnginePrivate::valueTypeInstance(), and verifyDigestMD5().

+ Here is the call graph for this function:

◆ contains() [1/2]

template<class T >
Q_INLINE_TEMPLATE bool QSet< T >::contains ( const QSet< T > & set) const

Definition at line 292 of file qset.h.

References contains(), i, and other().

+ Here is the call graph for this function:

◆ contains() [2/2]

template<class T >
bool QSet< T >::contains ( const T & value) const
inline

Definition at line 71 of file qset.h.

References QHash< Key, T >::contains().

Referenced by QQuickParticleAffector::activeGroup(), WriteIncludesBase::add(), QQsbIODeviceCollection::addEntry(), QGeoTiledMapScenePrivate::addTile(), QmlIR::IRBuilder::appendAlias(), QAbstractItemViewPrivate::checkPersistentEditorFocus(), QQmlTreeModelToTableModel::childrenVisible(), QQmlTreeModelToTableModel::collapse(), QQmlTreeModelToTableModel::collapseRecursively(), QQmlTreeModelToTableModel::expand(), QQmlTreeModelToTableModel::expandRecursively(), QQmlSA::PassManagerPrivate::findPropertyUsePasses(), QMdiSubWindowPrivate::getOperation(), QSSGShaderCustomMaterialAdapter::hasCustomShaderFunction(), QOpenGLContext::hasExtension(), QTableViewPrivate::heightHintForIndex(), QQmlPluginImporter::importDynamicPlugin(), QQmlPluginImporter::importPlugins(), QQmlPluginImporter::importStaticPlugin(), QSGDistanceFieldGlyphNode::invalidateGlyphs(), QQmlTreeModelToTableModel::isExpanded(), QQmlMetaType::isInterface(), QErrorMessagePrivate::isMessageToBeShown(), QPhysicsWorld::isNodeRemoved(), QRhiGles2::isTextureFormatSupported(), QMimeBinaryProvider::knowsMimeType(), QQmlTreeModelToTableModel::lastChildIndex(), HciManager::monitorEvent(), QSet< T >::operator&=(), QQmlJS::Dom::FieldFilter::operator()(), QSGDistanceFieldGlyphCache::populate(), QWindowsDirectWriteFontDatabase::populateFamily(), QWindowsDirectWriteFontDatabase::populateFamilyAliases(), QQuickItemParticle::prepareNextFrame(), QSGRenderer::preprocess(), QV4::Compiler::Codegen::referenceForName(), QWindowsContext::registerWindowClass(), QThreadPoolThread::run(), QmlIR::IRBuilder::sanityCheckFunctionNames(), QWinSettingsPrivate::set(), QmlIR::IRBuilder::setId(), QQuickParticleAffector::shouldAffect(), QQmlTreeModelToTableModel::showModelChildItems(), QQmlJSTypePropagator::startInstruction(), QThreadPoolPrivate::startThread(), QQmlTreeModelToTableModel::testConsistency(), QGeoTileRequestManagerPrivate::tileError(), QGeoTiledMapPrivate::updateScene(), QGeoTiledMapPrivate::updateTile(), QSGRhiShaderEffectMaterial::usesSubRectUniform(), QmlIR::IRBuilder::visit(), QmlIR::IRBuilder::visit(), QTableViewPrivate::widthHintForIndex(), QTreeViewPrivate::widthHintForIndex(), QTextOdfWriter::writeFrame(), and QTextOdfWriter::writeTableFormat().

+ Here is the call graph for this function:

◆ count()

template<class T >
qsizetype QSet< T >::count ( ) const
inline

Definition at line 154 of file qset.h.

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

Referenced by QSSGShaderCache::QSSGShaderCache(), QTriggerBody::collisionCount(), QtPrivate::findResult(), and QQmlListCompositor::transition().

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

◆ detach()

template<class T >
void QSet< T >::detach ( )
inline

Definition at line 58 of file qset.h.

References QHash< Key, T >::detach().

+ Here is the call graph for this function:

◆ empty()

template<class T >
bool QSet< T >::empty ( ) const
inline

Definition at line 177 of file qset.h.

References QSet< T >::isEmpty().

Referenced by QAndroidServicePrivate::~QAndroidServicePrivate(), QDuplicateTracker< T, Prealloc >::appendTo(), and QSGRhiDistanceFieldGlyphCache::isActive().

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

◆ end() [1/2]

template<class T >
iterator QSet< T >::end ( )
inline

Definition at line 140 of file qset.h.

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

Referenced by QMenu::~QMenu(), QQuickItemViewTransitioner::~QQuickItemViewTransitioner(), QQmlJS::Dom::AstRangesVisitor::addItemRanges(), QQmlJSTypeResolver::adjustOriginalType(), QQmlJSTypeResolver::adjustTrackedType(), QQmlJSTypeResolver::adjustTrackedType(), QV4::ArrayData::append(), QQmlJSLinter::applyFixes(), assignKnownModuleIds(), QSSGStageGeneratorBase::buildShaderSourcePass1(), QV4::MemoryManager::cleanupDeletedQObjectWrappersInSweep(), QQuickWindowPrivate::cleanupNodesOnShutdown(), QListViewPrivate::closestIndex(), QTreeViewPrivate::collapse(), QItemSelectionModelPrivate::columnsAboutToBeInserted(), QFutureInterfaceBasePrivate::connectOutputInterface(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QQmlOpenMetaObjectType::createProperties(), QQmlOpenMetaObjectType::createProperty(), QAbstractItemViewPrivate::delegateRefCount(), QQuickDeliveryAgentPrivate::deliverToPassiveGrabbers(), QFFmpeg::deviceTypes(), QTreeView::doItemsLayout(), QEventDispatcherWin32::doUnregisterSocketNotifier(), QQmlReusableDelegateModelItemsPool::drain(), QSignalMapperPrivate::emitMappedValue(), QQmlJS::Dom::QQmlDomAstCreator::endVisit(), QQmlJSImportVisitor::enterEnvironmentNonUnique(), q20::erase(), q20::erase_if(), QBackingStoreRhiSupportWindowWatcher::eventFilter(), FolderIterator::fileType(), QQmlMetaType::freeUnusedTypesAndCaches(), QQmlJSTypeResolver::generalizeType(), SyncScanner::generateDeprecatedHeaders(), QGraphicsScenePrivate::gestureEventHandler(), QFreetypeFace::getFace(), QSSGRendererPrivate::getShaderPipelineForDefaultMaterial(), QQmlTableModelColumn::getterAtRole(), QTestTable::indexOf(), QSqlDatabasePrivate::init(), QHeaderView::initializeSections(), QWidgetTextControlPrivate::inputMethodEvent(), State::insert(), State::insertClosure(), Node< _Tp >::insertEdge(), QSqlTableModel::insertRows(), QQmlJS::Dom::insertUpdatableElementInMultiMap(), Automaton::internState(), QItemSelectionModel::isSelected(), QQmlLSUtils::itemsFromTextLocation(), QV4::UrlSearchParamsPrototype::method_set(), QQmlJSTypeResolver::originalType(), Recognizer::parse(), parseEnvPath(), QtModuleInfoStore::populate(), QWindowsKeyMapper::possibleKeyCombinations(), QSGMaterialShaderPrivate::prepare(), Q_APPLICATION_STATIC(), qDBusRemoveTimeout(), QSSGBufferManager::registerMeshData(), QEventDispatcherWin32::registerSocketNotifier(), QAbstractAnimationJob::removeAnimationChangeListener(), QMimeDataPrivate::removeData(), QSSGQmlUtilities::removeProperty(), QUrlQuery::removeQueryItem(), QHttpHeadersPrivate::replaceOrAppend(), QItemSelectionModelPrivate::rowsAboutToBeInserted(), QItemSelectionModelPrivate::rowsAboutToBeRemoved(), QListView::rowsAboutToBeRemoved(), QWindowsFileSystemWatcherEngineThread::run(), QtConcurrent::ReduceKernel< ReduceFunctor, ReduceResultType, T >::runReduce(), QTreeViewPrivate::select(), QListViewPrivate::selection(), QMimeDataPrivate::setData(), sm_setProperty(), QTreeWidgetItemPrivate::sortChildren(), QSqlTableModel::submitAll(), SyncScanner::sync(), ListModel::sync(), QTabBar::tabSizeHint(), QQmlReusableDelegateModelItemsPool::takeItem(), Moc::toFullyQualified(), QQmlJSTypeResolver::trackedType(), QV4::SparseArrayData::truncate(), QDBusMetaType::typeToSignature(), QSSGBufferManager::unregisterMeshData(), QEventDispatcherWin32::unregisterTimers(), QAbstractItemView::updateEditorGeometries(), QSpanCollection::updateInsertedColumns(), QSpanCollection::updateRemovedColumns(), QSpanCollection::updateRemovedRows(), and QmlTypeRegistrar::write().

+ Here is the call graph for this function:

◆ end() [2/2]

template<class T >
const_iterator QSet< T >::end ( ) const
inlinenoexcept

Definition at line 141 of file qset.h.

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

+ Here is the call graph for this function:

◆ erase()

template<class T >
iterator QSet< T >::erase ( const_iterator i)
inline

Definition at line 145 of file qset.h.

References QSet< T >::constEnd(), QHash< Key, T >::erase(), i, and Q_ASSERT.

Referenced by QtPrivate::associative_erase_if(), QAbstractItemModel::changePersistentIndex(), QAbstractItemModel::changePersistentIndexList(), QV4::MemoryManager::cleanupDeletedQObjectWrappersInSweep(), QTreeViewPrivate::collapse(), QItemSelectionModelPrivate::columnsAboutToBeInserted(), QTreeView::doItemsLayout(), QQmlReusableDelegateModelItemsPool::drain(), QBackingStoreRhiSupportWindowWatcher::eventFilter(), QQmlMetaType::freeUnusedTypesAndCaches(), QGraphicsScenePrivate::gestureEventHandler(), QHeaderView::initializeSections(), QNetworkDiskCache::insert(), QSqlTableModel::insertRows(), QV4::UrlSearchParamsPrototype::method_set(), parseEnvPath(), qDBusRemoveTimeout(), qt_debug_print_texture_count(), QFreetypeFace::release(), QSSGQmlUtilities::removeProperty(), QUrlQuery::removeQueryItem(), QItemSelectionModelPrivate::rowsAboutToBeInserted(), QItemSelectionModelPrivate::rowsAboutToBeRemoved(), QListView::rowsAboutToBeRemoved(), QWindowsFileSystemWatcherEngineThread::run(), QWasmIntegration::setContainerElements(), QQmlReusableDelegateModelItemsPool::takeItem(), QV4::SparseArrayData::truncate(), QEventDispatcherWin32::unregisterTimers(), QQmlBaseModule< RequestType >::updatedSnapshot(), QAbstractItemView::updateEditorGeometries(), QSpanCollection::updateInsertedColumns(), QSpanCollection::updateRemovedColumns(), QSpanCollection::updateRemovedRows(), and while().

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

◆ find() [1/2]

template<class T >
iterator QSet< T >::find ( const T & value)
inline

Definition at line 159 of file qset.h.

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

Referenced by QQmlJSTypeResolver::adjustOriginalType(), QQmlJSTypeResolver::adjustTrackedType(), QQmlJSTypeResolver::adjustTrackedType(), assignKnownModuleIds(), QTreeViewPrivate::collapse(), QSet< T >::constFind(), QQmlPropertyCacheCreator< ObjectContainer >::createMetaObject(), QFontEngineMulti::createMultiFontEngine(), QEventDispatcherWin32::doUnregisterSocketNotifier(), QSignalMapperPrivate::emitMappedValue(), QQmlJS::Dom::QQmlDomAstCreator::endVisit(), QBackingStoreRhiSupportWindowWatcher::eventFilter(), FontProvider::fetchFont(), QTextEngine::formatIndex(), QQmlJSTypeResolver::generalizeType(), SyncScanner::generateDeprecatedHeaders(), Node< _Tp >::get(), QFreetypeFace::getFace(), QSSGRendererPrivate::getShaderPipelineForDefaultMaterial(), QQmlTableModelColumn::getterAtRole(), QAndroidActivityResultReceiverPrivate::handleActivityResult(), QSqlDatabasePrivate::init(), QQmlJS::Dom::insertUpdatableElementInMultiMap(), QTextEngine::itemize(), QQmlJS::Dom::keyMultiMapHelper(), QQmlJSTypeResolver::originalType(), QtModuleInfoStore::populate(), qtBtTypeForJavaBtType(), QSSGBufferManager::registerMeshData(), QEventDispatcherWin32::registerSocketNotifier(), resolveAndroidMajorClass(), resolveAndroidMinorClass(), QSqlTableModel::submitAll(), ListModel::sync(), QTabBar::tabSizeHint(), QTextBlock::text(), QTextBlock::textDirection(), QTextBlock::textFormats(), Moc::toFullyQualified(), QQmlJSTypeResolver::trackedType(), QFSFileEnginePrivate::unmap(), QSSGBufferManager::unregisterMeshData(), QQmlJS::Dom::valueFromMultimap(), and valueFromStaticFieldCache().

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

◆ find() [2/2]

template<class T >
const_iterator QSet< T >::find ( const T & value) const
inline

Definition at line 160 of file qset.h.

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

+ Here is the call graph for this function:

◆ insert() [1/3]

template<class T >
iterator QSet< T >::insert ( const T & value)
inline

Definition at line 155 of file qset.h.

References QHash< Key, T >::insert().

Referenced by QOpenGLExtensionMatcher::QOpenGLExtensionMatcher(), QQmlOpenMetaObject::QQmlOpenMetaObject(), QQmlOpenMetaObject::QQmlOpenMetaObject(), QSet< T >::QSet(), WriteIncludesBase::add(), QTextDocumentPrivate::addCursor(), QQsbIODeviceCollection::addEntry(), QSSGStageGeneratorBase::addInclude(), QSGRenderer::addNodesToPreprocess(), QmlLsp::QQmlCodeModel::addOpenToUpdate(), QV4::Compiler::Context::addUsedVariable(), QQuickAnimatorController::animationStateChanged(), QCommonListViewBase::appendHiddenRow(), QEvdevTouchScreenData::assignIds(), QQuickAnimatorController::cancel(), QQuick3DSceneManager::cleanup(), QGestureManager::cleanupCachedGestures(), collectProperty(), QRhiGles2::create(), QSGGuiThreadRenderLoop::createRenderContext(), QSGThreadedRenderLoop::createRenderContext(), QSGDefaultRenderContext::deferredReleaseGlyphCacheTexture(), QQmlJSImportVisitor::endVisit(), QQmlTreeModelToTableModel::expand(), QQmlTreeModelToTableModel::expandRow(), QHashPrivate::Data< Node >::findOrInsert(), Node< _Tp >::get(), QQmlPluginImporter::importDynamicPlugin(), QQmlPluginImporter::importPlugins(), QSqlTableModel::indexInQuery(), QV4::ExecutionEngine::initializeGlobal(), QWidgetTextControlPrivate::inputMethodEvent(), State::insert(), State::insertClosure(), QSqlTableModel::insertRows(), QBoxLayout::insertSpacerItem(), QBoxLayout::insertSpacing(), QBoxLayout::insertStretch(), QuickTestResultPrivate::intern(), Automaton::internState(), QSGRhiShaderLinker::linkTextureSubRects(), QQmlJS::Dom::DomEnvironment::moduleIndexWithUri(), QSGRenderer::nodeChanged(), QAndroidServicePrivate::onBind(), QSet< T >::operator+=(), QSet< T >::operator|=(), Moc::parse(), QWaylandXdgShellPrivate::ping(), QWaylandWlShellSurfacePrivate::ping(), QQuickStackViewPrivate::popToItem(), QSGDistanceFieldGlyphCache::populate(), QQuickShaderEffectPrivate::propertyChanged(), QHashPrivate::Data< Node >::reallocationHelper(), QQuick3DObjectPrivate::refSceneManager(), QTriggerBody::registerCollision(), TestHTTPServer::registerFileNameForContentSubstitution(), QSSGRhiContextPrivate::registerMesh(), QSSGBufferManager::registerMeshData(), QCtfLibImpl::registerMetadata(), QGraphicsScenePrivate::registerScenePosItem(), QV4::Compiler::StringTableGenerator::registerString(), QSSGRhiContextPrivate::registerTexture(), QQmlMetaType::registerUndeletableType(), QWindowsContext::registerWindowClass(), QHashPrivate::Data< Node >::rehash(), QSGRenderer::removeNodesToPreprocess(), QQsbInMemoryCollection::save(), QQuick3DRenderStats::setExtendedDataCollectionEnabled(), QSGDistanceFieldGlyphNode::setGlyphs(), QBluetoothDeviceInfo::setManufacturerData(), QPrinterPrivate::setProperty(), QQuick3DRenderStats::setRhiContext(), QBluetoothDeviceInfo::setServiceData(), QQuickAnimatorController::start(), QThreadPoolPrivate::startThread(), SyncScanner::sync(), QQuick3DWindowAttachment::synchronize(), QTabBar::tabSizeHint(), QQuick3DSceneManager::updateDirtyResource(), QSpanCollection::updateInsertedColumns(), QSpanCollection::updateRemovedRows(), QQmlMetaType::valueType(), QV4::ExecutionEngine::variantMapFromJS(), QQmlJSImportVisitor::visit(), QmlIR::IRBuilder::visit(), QQmlJSImportVisitor::visit(), QQuickAnimatorController::windowNodesDestroyed(), QTextOdfWriter::writeAll(), and QTextOdfWriter::writeTableFormat().

+ Here is the call graph for this function:

◆ insert() [2/3]

template<class T >
iterator QSet< T >::insert ( const_iterator ,
const T & value )
inline

Definition at line 179 of file qset.h.

References QSet< T >::insert().

Referenced by QSet< T >::insert().

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

◆ insert() [3/3]

template<class T >
iterator QSet< T >::insert ( T && value)
inline

Definition at line 157 of file qset.h.

References QHash< Key, T >::emplace().

+ Here is the call graph for this function:

◆ intersect()

template<class T >
Q_INLINE_TEMPLATE QSet< T > & QSet< T >::intersect ( const QSet< T > & other)

Definition at line 242 of file qset.h.

References other(), and remove().

Referenced by QSet< T >::operator&=().

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

◆ intersects()

template<class T >
Q_INLINE_TEMPLATE bool QSet< T >::intersects ( const QSet< T > & other) const

Definition at line 262 of file qset.h.

References i, other(), and this.

+ Here is the call graph for this function:

◆ isDetached()

template<class T >
bool QSet< T >::isDetached ( ) const
inline

Definition at line 59 of file qset.h.

References QHash< Key, T >::isDetached().

+ Here is the call graph for this function:

◆ isEmpty()

◆ operator!=()

template<class T >
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > QSet< T >::operator!= ( const QSet< T > & other) const
inline

Definition at line 43 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator&=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator&= ( const QSet< T > & other)
inline

Definition at line 185 of file qset.h.

References QSet< T >::intersect(), and other().

+ Here is the call graph for this function:

◆ operator&=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator&= ( const T & value)
inline

Definition at line 186 of file qset.h.

References QSet< T >::contains().

+ Here is the call graph for this function:

◆ operator+=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator+= ( const QSet< T > & other)
inline

Definition at line 188 of file qset.h.

References other(), and QSet< T >::unite().

+ Here is the call graph for this function:

◆ operator+=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator+= ( const T & value)
inline

Definition at line 189 of file qset.h.

References QSet< T >::insert().

+ Here is the call graph for this function:

◆ operator-=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator-= ( const QSet< T > & other)
inline

Definition at line 190 of file qset.h.

References other(), and QSet< T >::subtract().

+ Here is the call graph for this function:

◆ operator-=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator-= ( const T & value)
inline

Definition at line 191 of file qset.h.

References QSet< T >::remove().

+ Here is the call graph for this function:

◆ operator<<()

template<class T >
QSet< T > & QSet< T >::operator<< ( const T & value)
inline

Definition at line 179 of file qset.h.

◆ operator==()

template<class T >
template<typename U = T>
QTypeTraits::compare_eq_result_container< QSet, U > QSet< T >::operator== ( const QSet< T > & other) const
inline

Definition at line 40 of file qset.h.

References other().

+ Here is the call graph for this function:

◆ operator|=() [1/2]

template<class T >
QSet< T > & QSet< T >::operator|= ( const QSet< T > & other)
inline

Definition at line 183 of file qset.h.

References other(), and QSet< T >::unite().

+ Here is the call graph for this function:

◆ operator|=() [2/2]

template<class T >
QSet< T > & QSet< T >::operator|= ( const T & value)
inline

Definition at line 184 of file qset.h.

References QSet< T >::insert().

+ Here is the call graph for this function:

◆ remove()

template<class T >
bool QSet< T >::remove ( const T & value)
inline

Definition at line 63 of file qset.h.

References QHash< Key, T >::remove().

Referenced by QQmlOpenMetaObject::~QQmlOpenMetaObject(), QQuickItemViewTransitionJob::~QQuickItemViewTransitionJob(), QQuickAnimatorController::animationStateChanged(), QQuickAnimatorController::cancel(), QGestureManager::cleanupCachedGestures(), QSSGRhiContextStats::cleanupLayerInfo(), QQuick3DSceneManager::cleanupNodes(), QQmlTreeModelToTableModel::collapse(), QQmlTreeModelToTableModel::collapseRecursively(), QQmlTreeModelToTableModel::collapseRow(), QQuick3DObjectPrivate::derefSceneManager(), QTriggerBody::deregisterCollision(), QV4::Compiler::Codegen::endVisit(), QV4::Compiler::Codegen::endVisit(), QV4::Compiler::Codegen::endVisit(), QQmlJSImportVisitor::endVisit(), QSGGuiThreadRenderLoop::ensureRhi(), QGraphicsScenePrivate::gestureEventHandler(), QQuickParticleSystem::nextSystemIndex(), QSGRenderer::nodeChanged(), QSet< T >::operator-=(), QGestureManager::recycle(), QSSGRhiContextPrivate::releaseMesh(), QSSGRhiContextPrivate::releaseTexture(), QTextDocumentPrivate::removeCursor(), Graph< Vertex, EdgeData >::removeDirectedEdge(), QCommonListViewBase::removeHiddenRow(), QGraphicsScenePrivate::removeItemHelper(), QSGRenderer::removeNodesToPreprocess(), QSGRhiDistanceFieldGlyphCache::requestGlyphs(), QQuickParticleAffector::reset(), QQuick3DRenderStats::setExtendedDataCollectionEnabled(), QWaylandWlShellSurfacePrivate::shell_surface_pong(), QQuickAnimatorController::start(), QGeoTileRequestManagerPrivate::tileError(), QGeoTileRequestManagerPrivate::tileFetched(), QQuickItemParticle::unfreeze(), QGraphicsScenePrivate::unregisterScenePosItem(), QAbstractItemView::updateEditorGeometries(), and QWaylandXdgShellPrivate::xdg_wm_base_pong().

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

◆ removeIf()

template<class T >
template<typename Pred >
qsizetype QSet< T >::removeIf ( Pred predicate)
inline

Definition at line 66 of file qset.h.

References predicate, and QtPrivate::qset_erase_if().

Referenced by QQmlJS::Dom::DomEnvironment::removePath().

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

◆ reserve()

template<class T >
Q_INLINE_TEMPLATE void QSet< T >::reserve ( qsizetype size)
inline

Definition at line 226 of file qset.h.

Referenced by qCompileQmlFile(), and QDuplicateTracker< T, Prealloc >::reserve().

+ Here is the caller graph for this function:

◆ size()

template<class T >
qsizetype QSet< T >::size ( ) const
inline

Definition at line 50 of file qset.h.

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

Referenced by QThreadPoolPrivate::activeThreadCount(), QMimeBinaryProvider::addAllMimeTypes(), QtStringBuilder::appendToByteArray(), QMetaStringTable::blobSize(), QQuick3DWindowAttachment::cleanupResources(), QSortFilterProxyModel::columnCount(), QTriggerBody::deregisterCollision(), deviceNumber(), QCtfLibImpl::doTracepoint(), QQsbIODeviceCollection::dumpInfo(), QSortFilterProxyModel::headerData(), QCommonListViewBase::hiddenCount(), QSortFilterProxyModel::index(), QSortFilterProxyModelPrivate::insert_source_items(), operator+=(), Moc::parse(), QRhiD3D11::pipelineCacheData(), QRhiGles2::pipelineCacheData(), QQmlJSImportVisitor::processDefaultProperties(), QQmlOpenMetaObjectType::propertyCreated(), QUrlQuery::query(), QVariantAnimationPrivate::recalculateCurrentInterval(), QTriggerBody::registerCollision(), QGraphicsScenePrivate::removeItemHelper(), QSortFilterProxyModel::rowCount(), QShader::serialized(), set_text(), QSGDistanceFieldGlyphNode::setGlyphs(), QSortFilterProxyModel::setHeaderData(), QSSGLayerRenderData::setModelMaterials(), QSSGRhiShaderPipeline::setUniform(), QSSGRhiShaderPipeline::setUniformArray(), QSortFilterProxyModel::sibling(), QQmlJS::Dom::sinkEscaped(), QRhiGles2::tryLoadFromDiskOrPipelineCache(), and updateFile().

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

◆ squeeze()

template<class T >
void QSet< T >::squeeze ( )
inline

Definition at line 56 of file qset.h.

References QHash< Key, T >::squeeze().

+ Here is the call graph for this function:

◆ subtract()

template<class T >
Q_INLINE_TEMPLATE QSet< T > & QSet< T >::subtract ( const QSet< T > & other)

Definition at line 280 of file qset.h.

References clear(), other(), and remove().

Referenced by QSet< T >::operator-=().

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

◆ swap()

template<class T >
void QSet< T >::swap ( QSet< T > & other)
inlinenoexcept

Definition at line 36 of file qset.h.

References other(), and QHash< Key, T >::swap().

Referenced by QHeaderView::sectionsInserted().

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

◆ unite()

template<class T >
Q_INLINE_TEMPLATE QSet< T > & QSet< T >::unite ( const QSet< T > & other)

Definition at line 229 of file qset.h.

References insert(), other(), and swap().

Referenced by QSet< T >::operator+=(), QSet< T >::operator|=(), QQuickItemParticle::reset(), and QGeoCameraTilesPrivate::updateGeometry().

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

◆ values()

template<typename T >
Q_OUTOFLINE_TEMPLATE QList< T > QSet< T >::values ( ) const

Definition at line 304 of file qset.h.

References i.

Referenced by QV4::ArrayData::append(), and QStandardItem::setData().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator& [1/2]

template<class T >
QSet operator& ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 196 of file qset.h.

◆ operator& [2/2]

template<class T >
QSet operator& ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 197 of file qset.h.

◆ operator+ [1/2]

template<class T >
QSet operator+ ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 199 of file qset.h.

◆ operator+ [2/2]

template<class T >
QSet operator+ ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 200 of file qset.h.

◆ operator- [1/2]

template<class T >
QSet operator- ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 202 of file qset.h.

◆ operator- [2/2]

template<class T >
QSet operator- ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 203 of file qset.h.

◆ operator| [1/2]

template<class T >
QSet operator| ( const QSet< T > & lhs,
const QSet< T > & rhs )
friend

Definition at line 193 of file qset.h.

◆ operator| [2/2]

template<class T >
QSet operator| ( QSet< T > && lhs,
const QSet< T > & rhs )
friend

Definition at line 194 of file qset.h.


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