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

#include <qqmllist_p.h>

+ Collaboration diagram for QQmlListReferencePrivate:

Public Member Functions

 QQmlListReferencePrivate ()
 
void addref ()
 
void release ()
 
const QMetaObjectelementType ()
 

Static Public Member Functions

static QQmlListReference init (const QQmlListProperty< QObject > &, QMetaType)
 
static QQmlListReferencePrivateget (QQmlListReference *ref)
 

Public Attributes

QPointer< QObjectobject
 
QQmlListProperty< QObjectproperty
 
QMetaType propertyType
 
int refCount
 

Detailed Description

Definition at line 27 of file qqmllist_p.h.

Constructor & Destructor Documentation

◆ QQmlListReferencePrivate()

QQmlListReferencePrivate::QQmlListReferencePrivate ( )

Definition at line 20 of file qqmllist.cpp.

Referenced by init().

+ Here is the caller graph for this function:

Member Function Documentation

◆ addref()

void QQmlListReferencePrivate::addref ( )

Definition at line 40 of file qqmllist.cpp.

References Q_ASSERT, and refCount.

Referenced by QQmlListReference::QQmlListReference().

+ Here is the caller graph for this function:

◆ elementType()

const QMetaObject * QQmlListReferencePrivate::elementType ( )
inline

Definition at line 46 of file qqmllist_p.h.

References QQmlMetaType::listValueType(), propertyType, and QQmlMetaType::rawMetaObjectForType().

Referenced by QQmlListReference::listElementType().

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

◆ get()

static QQmlListReferencePrivate * QQmlListReferencePrivate::get ( QQmlListReference * ref)
inlinestatic

Definition at line 42 of file qqmllist_p.h.

◆ init()

QQmlListReference QQmlListReferencePrivate::init ( const QQmlListProperty< QObject > & prop,
QMetaType propType )
static

Definition at line 25 of file qqmllist.cpp.

References QQmlListReferencePrivate(), and object.

Referenced by QQmlPropertyPrivate::readValueProperty(), and QV4::QmlListWrapper::toListReference().

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

◆ release()

void QQmlListReferencePrivate::release ( )

Definition at line 46 of file qqmllist.cpp.

References Q_ASSERT, and refCount.

Referenced by QQmlListReference::~QQmlListReference(), and QQmlListReference::operator=().

+ Here is the caller graph for this function:

Member Data Documentation

◆ object

◆ property

◆ propertyType

QMetaType QQmlListReferencePrivate::propertyType

◆ refCount

int QQmlListReferencePrivate::refCount

Definition at line 40 of file qqmllist_p.h.

Referenced by addref(), and release().


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