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
QQmlOpenMetaObjectType Class Referencefinal

#include <qqmlopenmetaobject_p.h>

+ Inheritance diagram for QQmlOpenMetaObjectType:
+ Collaboration diagram for QQmlOpenMetaObjectType:

Public Member Functions

 QQmlOpenMetaObjectType (const QMetaObject *base)
 
 ~QQmlOpenMetaObjectType ()
 
void createProperties (const QVector< QByteArray > &names)
 
int createProperty (const QByteArray &name)
 
int propertyOffset () const
 
int signalOffset () const
 
int propertyCount () const
 
QByteArray propertyName (int) const
 
- Public Member Functions inherited from QQmlRefCounted< QQmlOpenMetaObjectType >
void release () const
 
- Public Member Functions inherited from QQmlRefCount
 QQmlRefCount ()
 
void addref () const
 
int count () const
 

Protected Member Functions

virtual void propertyCreated (int, QMetaPropertyBuilder &)
 
- Protected Member Functions inherited from QQmlRefCounted< QQmlOpenMetaObjectType >
 ~QQmlRefCounted ()
 

Friends

class QQmlOpenMetaObject
 
class QQmlOpenMetaObjectPrivate
 

Detailed Description

Definition at line 31 of file qqmlopenmetaobject_p.h.

Constructor & Destructor Documentation

◆ QQmlOpenMetaObjectType()

QQmlOpenMetaObjectType::QQmlOpenMetaObjectType ( const QMetaObject * base)

Definition at line 39 of file qqmlopenmetaobject.cpp.

References base, and QQmlOpenMetaObjectTypePrivate::init().

+ Here is the call graph for this function:

◆ ~QQmlOpenMetaObjectType()

QQmlOpenMetaObjectType::~QQmlOpenMetaObjectType ( )

Definition at line 45 of file qqmlopenmetaobject.cpp.

References QQmlOpenMetaObjectTypePrivate::mem.

Member Function Documentation

◆ createProperties()

void QQmlOpenMetaObjectType::createProperties ( const QVector< QByteArray > & names)

Definition at line 74 of file qqmlopenmetaobject.cpp.

References QMetaObjectBuilder::addProperty(), QMetaObjectBuilder::addSignal(), QByteArray::at(), QSet< T >::begin(), QQmlOpenMetaObjectTypePrivate::cache, QSet< T >::end(), i, QHash< Key, T >::insert(), it, QQmlOpenMetaObjectTypePrivate::mem, QQmlOpenMetaObjectTypePrivate::mob, QQmlOpenMetaObjectTypePrivate::names, QByteArray::number(), QMetaObjectBuilder::propertyCount(), propertyCreated(), QQmlOpenMetaObjectTypePrivate::referers, QMetaObjectBuilder::toMetaObject(), and QQmlPropertyCache::update().

Referenced by QQmlOpenMetaObject::setValues().

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

◆ createProperty()

int QQmlOpenMetaObjectType::createProperty ( const QByteArray & name)

◆ propertyCount()

int QQmlOpenMetaObjectType::propertyCount ( ) const

Definition at line 62 of file qqmlopenmetaobject.cpp.

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

+ Here is the call graph for this function:

◆ propertyCreated()

void QQmlOpenMetaObjectType::propertyCreated ( int id,
QMetaPropertyBuilder & builder )
protectedvirtual

Definition at line 117 of file qqmlopenmetaobject.cpp.

References QSet< T >::begin(), propertyCreated(), QQmlOpenMetaObjectTypePrivate::referers, and QSet< T >::size().

Referenced by createProperties(), createProperty(), and propertyCreated().

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

◆ propertyName()

QByteArray QQmlOpenMetaObjectType::propertyName ( int idx) const

Definition at line 67 of file qqmlopenmetaobject.cpp.

References QQmlOpenMetaObjectTypePrivate::mob, QMetaPropertyBuilder::name(), QMetaObjectBuilder::property(), and Q_ASSERT.

+ Here is the call graph for this function:

◆ propertyOffset()

int QQmlOpenMetaObjectType::propertyOffset ( ) const

◆ signalOffset()

int QQmlOpenMetaObjectType::signalOffset ( ) const

Friends And Related Symbol Documentation

◆ QQmlOpenMetaObject

friend class QQmlOpenMetaObject
friend

Definition at line 52 of file qqmlopenmetaobject_p.h.

◆ QQmlOpenMetaObjectPrivate

friend class QQmlOpenMetaObjectPrivate
friend

Definition at line 53 of file qqmlopenmetaobject_p.h.


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