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
QQmlRefCount Class Reference

#include <qqmlrefcount_p.h>

+ Inheritance diagram for QQmlRefCount:
+ Collaboration diagram for QQmlRefCount:

Public Member Functions

 QQmlRefCount ()
 
void addref () const
 
int count () const
 

Friends

template<typename T >
class QQmlRefCounted
 

Detailed Description

Definition at line 27 of file qqmlrefcount_p.h.

Constructor & Destructor Documentation

◆ QQmlRefCount()

QQmlRefCount::QQmlRefCount ( )
inline

Definition at line 130 of file qqmlrefcount_p.h.

Member Function Documentation

◆ addref()

void QQmlRefCount::addref ( ) const
inline

Definition at line 140 of file qqmlrefcount_p.h.

References QBasicAtomicInteger< T >::loadRelaxed(), Q_ASSERT, and QBasicAtomicInteger< T >::ref().

Referenced by QQmlDMAbstractItemModelData::QQmlDMAbstractItemModelData(), QQmlDMObjectDataMetaObject::QQmlDMObjectDataMetaObject(), QQmlProperty::QQmlProperty(), QV4::DocumentImpl::addref(), QQmlType::refHandle(), QQmlPropertyCacheVector::setOwn(), QV4::ResolvedTypeReference::setReferencesCompilationUnit(), and QQmlPropertyPrivate::setSignalExpression().

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

◆ count()

int QQmlRefCount::count ( ) const
inline

Definition at line 164 of file qqmlrefcount_p.h.

Referenced by QQmlType::refCount(), QV4::ResolvedTypeReference::setReferencesCompilationUnit(), QQmlPropertyCache::signalParameterStringForJS(), and QQmlTypeLoader::trimCache().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ QQmlRefCounted

template<typename T >
friend class QQmlRefCounted
friend

Definition at line 37 of file qqmlrefcount_p.h.


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