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

#include <qqmltype_p.h>

+ Collaboration diagram for QQmlType:

Classes

struct  SingletonInstanceInfo
 

Public Types

enum  RegistrationType {
  CppType = 0 , SingletonType = 1 , InterfaceType = 2 , CompositeType = 3 ,
  CompositeSingletonType = 4 , InlineComponentType = 5 , SequentialContainerType = 6 , AnyRegistrationType = 255
}
 
typedef QVariant(* CreateValueTypeFunc) (const QJSValue &)
 
typedef void(* CreateFunc) (void *, void *)
 
typedef QObject *(* ExtensionFunc) (QObject *)
 

Public Member Functions

 QQmlType ()
 
 QQmlType (const QQmlType &other)
 
 QQmlType (QQmlType &&other)
 
QQmlTypeoperator= (const QQmlType &other)
 
QQmlTypeoperator= (QQmlType &&other)
 
 QQmlType (const QQmlTypePrivate *priv)
 
 ~QQmlType ()
 
bool isValid () const
 
QByteArray typeName () const
 
QString qmlTypeName () const
 
QString elementName () const
 
QHashedString module () const
 
QTypeRevision version () const
 
bool availableInVersion (QTypeRevision version) const
 
bool availableInVersion (const QHashedStringRef &module, QTypeRevision version) const
 
CreateValueTypeFunc createValueTypeFunction () const
 
bool canConstructValueType () const
 
bool canPopulateValueType () const
 
QObjectcreate () const
 
QObjectcreate (void **, size_t) const
 Like create without arguments, but allocates some extra space after the object.
 
QObjectcreateWithQQmlData () const
 
CreateFunc createFunction () const
 
QQmlCustomParsercustomParser () const
 
bool isCreatable () const
 
ExtensionFunc extensionFunction () const
 
const QMetaObjectextensionMetaObject () const
 
bool isExtendedType () const
 
QString noCreationReason () const
 
bool isSingleton () const
 
bool isInterface () const
 
bool isComposite () const
 
bool isCompositeSingleton () const
 
bool isQObjectSingleton () const
 
bool isQJSValueSingleton () const
 
bool isSequentialContainer () const
 
bool isValueType () const
 
QMetaType typeId () const
 
QMetaType qListTypeId () const
 
QMetaSequence listMetaSequence () const
 
const QMetaObjectmetaObject () const
 
const QMetaObjectmetaObjectForValueType () const
 
const QMetaObjectbaseMetaObject () const
 
QTypeRevision metaObjectRevision () const
 
bool containsRevisionedAttributes () const
 
QQmlAttachedPropertiesFunc attachedPropertiesFunction (QQmlEnginePrivate *engine) const
 
const QMetaObjectattachedPropertiesType (QQmlEnginePrivate *engine) const
 
int parserStatusCast () const
 
const char * interfaceIId () const
 
int propertyValueSourceCast () const
 
int propertyValueInterceptorCast () const
 
int finalizerCast () const
 
int index () const
 
bool isInlineComponentType () const
 
SingletonInstanceInfo::ConstPtr singletonInstanceInfo () const
 
QUrl sourceUrl () const
 
int enumValue (QQmlEnginePrivate *engine, const QHashedStringRef &, bool *ok) const
 
int enumValue (QQmlEnginePrivate *engine, const QHashedCStringRef &, bool *ok) const
 
int enumValue (QQmlEnginePrivate *engine, const QV4::String *, bool *ok) const
 
int scopedEnumIndex (QQmlEnginePrivate *engine, const QV4::String *, bool *ok) const
 
int scopedEnumIndex (QQmlEnginePrivate *engine, const QString &, bool *ok) const
 
int scopedEnumValue (QQmlEnginePrivate *engine, int index, const QV4::String *, bool *ok) const
 
int scopedEnumValue (QQmlEnginePrivate *engine, int index, const QString &, bool *ok) const
 
int scopedEnumValue (QQmlEnginePrivate *engine, const QHashedStringRef &, const QHashedStringRef &, bool *ok) const
 
const QQmlTypePrivatepriv () const
 
void createProxy (QObject *instance) const
 

Static Public Member Functions

static void refHandle (const QQmlTypePrivate *priv)
 
static void derefHandle (const QQmlTypePrivate *priv)
 
static int refCount (const QQmlTypePrivate *priv)
 

Friends

class QQmlTypePrivate
 
size_t qHash (const QQmlType &t, size_t seed)
 
bool operator== (const QQmlType &a, const QQmlType &b) noexcept
 
bool operator!= (const QQmlType &a, const QQmlType &b) noexcept
 

Detailed Description

Definition at line 43 of file qqmltype_p.h.

Member Typedef Documentation

◆ CreateFunc

typedef void(* QQmlType::CreateFunc) (void *, void *)

Definition at line 76 of file qqmltype_p.h.

◆ CreateValueTypeFunc

typedef QVariant(* QQmlType::CreateValueTypeFunc) (const QJSValue &)

Definition at line 66 of file qqmltype_p.h.

◆ ExtensionFunc

typedef QObject *(* QQmlType::ExtensionFunc) (QObject *)

Definition at line 82 of file qqmltype_p.h.

Member Enumeration Documentation

◆ RegistrationType

Enumerator
CppType 
SingletonType 
InterfaceType 
CompositeType 
CompositeSingletonType 
InlineComponentType 
SequentialContainerType 
AnyRegistrationType 

Definition at line 159 of file qqmltype_p.h.

Constructor & Destructor Documentation

◆ QQmlType() [1/4]

QQmlType::QQmlType ( )
default

◆ QQmlType() [2/4]

QQmlType::QQmlType ( const QQmlType & other)
default

◆ QQmlType() [3/4]

QQmlType::QQmlType ( QQmlType && other)
default

◆ QQmlType() [4/4]

QQmlType::QQmlType ( const QQmlTypePrivate * priv)
explicit

Definition at line 102 of file qqmltype.cpp.

◆ ~QQmlType()

QQmlType::~QQmlType ( )
default

Member Function Documentation

◆ attachedPropertiesFunction()

QQmlAttachedPropertiesFunc QQmlType::attachedPropertiesFunction ( QQmlEnginePrivate * engine) const

Definition at line 709 of file qqmltype.cpp.

References QQmlTypePrivate::attachedPropertiesBase(), base, and engine.

Referenced by QQmlBindPrivate::decodeBinding().

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

◆ attachedPropertiesType()

const QMetaObject * QQmlType::attachedPropertiesType ( QQmlEnginePrivate * engine) const

Definition at line 716 of file qqmltype.cpp.

References QQmlTypePrivate::attachedPropertiesBase(), base, and engine.

+ Here is the call graph for this function:

◆ availableInVersion() [1/2]

bool QQmlType::availableInVersion ( const QHashedStringRef & module,
QTypeRevision version ) const

Definition at line 133 of file qqmltype.cpp.

References availableInVersion(), module(), and version().

+ Here is the call graph for this function:

◆ availableInVersion() [2/2]

bool QQmlType::availableInVersion ( QTypeRevision version) const

Definition at line 119 of file qqmltype.cpp.

References QTypeRevision::hasMajorVersion(), QTypeRevision::hasMinorVersion(), QTypeRevision::majorVersion(), QTypeRevision::minorVersion(), version(), and QQmlTypePrivate::version.

Referenced by availableInVersion().

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

◆ baseMetaObject()

const QMetaObject * QQmlType::baseMetaObject ( ) const

Definition at line 694 of file qqmltype.cpp.

References QQmlTypePrivate::baseMetaObject.

◆ canConstructValueType()

bool QQmlType::canConstructValueType ( ) const

Definition at line 556 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

Referenced by createOrConstructValueType(), and createOrConstructValueType().

+ Here is the caller graph for this function:

◆ canPopulateValueType()

bool QQmlType::canPopulateValueType ( ) const

Definition at line 563 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

Referenced by createOrConstructValueType(), and createOrConstructValueType().

+ Here is the caller graph for this function:

◆ containsRevisionedAttributes()

bool QQmlType::containsRevisionedAttributes ( ) const

Definition at line 699 of file qqmltype.cpp.

References QQmlTypePrivate::ProxyMetaObjects::containsRevisionedAttributes, and QQmlTypePrivate::init().

+ Here is the call graph for this function:

◆ create() [1/2]

QObject * QQmlType::create ( ) const

Allocates and initializes an object if the type is creatable. Returns a pointer to the object, or nullptr if the type was not creatable.

Definition at line 482 of file qqmltype.cpp.

References create().

Referenced by create(), and createWithQQmlData().

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

◆ create() [2/2]

QObject * QQmlType::create ( void ** memory,
size_t additionalMemory ) const

Like create without arguments, but allocates some extra space after the object.

Parameters
memoryAn out-only argument. *memory will point to the start of the additionally allocated memory.
additionalMemoryThe amount of extra memory in bytes that shoudld be allocated.
Note
This function is used to allocate the QQmlData next to the object in the QQmlObjectCreator.

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Definition at line 500 of file qqmltype.cpp.

References createProxy(), QQmlTypePrivate::extraData, and isCreatable().

+ Here is the call graph for this function:

◆ createFunction()

QQmlType::CreateFunc QQmlType::createFunction ( ) const

Definition at line 570 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

◆ createProxy()

void QQmlType::createProxy ( QObject * instance) const

Definition at line 831 of file qqmltype.cpp.

References QQmlTypePrivate::ProxyMetaObjects::data, QQmlTypePrivate::init(), QList< T >::isEmpty(), and void.

Referenced by create(), and qmltcCreateDynamicMetaObject().

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

◆ createValueTypeFunction()

QQmlType::CreateValueTypeFunc QQmlType::createValueTypeFunction ( ) const

Definition at line 549 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

Referenced by createOrConstructValueType().

+ Here is the caller graph for this function:

◆ createWithQQmlData()

QObject * QQmlType::createWithQQmlData ( ) const

Like create, but also allocates memory behind the object, constructs a QQmlData there and lets the objects declarativeData point to the newly created QQmlData.

Definition at line 518 of file qqmltype.cpp.

References create(), QQmlData::DoesNotOwnMemory, QObjectPrivate::get(), and Q_ASSERT.

Referenced by QQmlComponentPrivate::beginCreate().

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

◆ customParser()

QQmlCustomParser * QQmlType::customParser ( ) const

Definition at line 540 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

◆ derefHandle()

void QQmlType::derefHandle ( const QQmlTypePrivate * priv)
static

Definition at line 818 of file qqmltype.cpp.

References priv(), and QQmlRefCounted< T >::release().

Referenced by QV4::Heap::QQmlTypeWrapper::destroy(), QV4::Heap::QQmlScopedEnumWrapper::destroy(), and QV4::QQmlTypeWrapper::lookupScopedEnum().

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

◆ elementName()

QString QQmlType::elementName ( ) const

Definition at line 462 of file qqmltype.cpp.

References QQmlTypePrivate::elementName.

◆ enumValue() [1/3]

int QQmlType::enumValue ( QQmlEnginePrivate * engine,
const QHashedCStringRef & name,
bool * ok ) const

Definition at line 777 of file qqmltype.cpp.

References engine, QQmlTypePrivate::enumValue(), and ok.

+ Here is the call graph for this function:

◆ enumValue() [2/3]

int QQmlType::enumValue ( QQmlEnginePrivate * engine,
const QHashedStringRef & name,
bool * ok ) const

Definition at line 772 of file qqmltype.cpp.

References engine, QQmlTypePrivate::enumValue(), and ok.

+ Here is the call graph for this function:

◆ enumValue() [3/3]

int QQmlType::enumValue ( QQmlEnginePrivate * engine,
const QV4::String * name,
bool * ok ) const

Definition at line 782 of file qqmltype.cpp.

References engine, QQmlTypePrivate::enumValue(), and ok.

+ Here is the call graph for this function:

◆ extensionFunction()

QQmlType::ExtensionFunc QQmlType::extensionFunction ( ) const

◆ extensionMetaObject()

const QMetaObject * QQmlType::extensionMetaObject ( ) const

Definition at line 604 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, QQmlTypePrivate::regType, and SingletonType.

Referenced by QV4::ResolvedTypeReference::createPropertyCache().

+ Here is the caller graph for this function:

◆ finalizerCast()

int QQmlType::finalizerCast ( ) const

Definition at line 744 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

Referenced by QQmlComponentPrivate::beginCreate().

+ Here is the caller graph for this function:

◆ index()

int QQmlType::index ( ) const

Definition at line 758 of file qqmltype.cpp.

References QQmlTypePrivate::index.

Referenced by QQmlMetaType::typeId().

+ Here is the caller graph for this function:

◆ interfaceIId()

const char * QQmlType::interfaceIId ( ) const

Definition at line 751 of file qqmltype.cpp.

References QQmlTypePrivate::extraData, InterfaceType, and QQmlTypePrivate::regType.

◆ isComposite()

bool QQmlType::isComposite ( ) const

Definition at line 634 of file qqmltype.cpp.

References QQmlTypePrivate::isComposite().

+ Here is the call graph for this function:

◆ isCompositeSingleton()

bool QQmlType::isCompositeSingleton ( ) const

Definition at line 639 of file qqmltype.cpp.

References CompositeSingletonType, isInlineComponentType(), and QQmlTypePrivate::regType.

+ Here is the call graph for this function:

◆ isCreatable()

bool QQmlType::isCreatable ( ) const

Definition at line 584 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

Referenced by create().

+ Here is the caller graph for this function:

◆ isExtendedType()

bool QQmlType::isExtendedType ( ) const

Definition at line 619 of file qqmltype.cpp.

References QQmlTypePrivate::ProxyMetaObjects::data, QQmlTypePrivate::init(), and QList< T >::isEmpty().

+ Here is the call graph for this function:

◆ isInlineComponentType()

bool QQmlType::isInlineComponentType ( ) const

Definition at line 763 of file qqmltype.cpp.

References InlineComponentType, and QQmlTypePrivate::regType.

Referenced by QV4::ResolvedTypeReference::addToHash(), and isCompositeSingleton().

+ Here is the caller graph for this function:

◆ isInterface()

bool QQmlType::isInterface ( ) const

Definition at line 629 of file qqmltype.cpp.

References InterfaceType, and QQmlTypePrivate::regType.

◆ isQJSValueSingleton()

bool QQmlType::isQJSValueSingleton ( ) const

Definition at line 653 of file qqmltype.cpp.

References QQmlTypePrivate::extraData, QQmlTypePrivate::regType, and SingletonType.

◆ isQObjectSingleton()

bool QQmlType::isQObjectSingleton ( ) const

Definition at line 648 of file qqmltype.cpp.

References QQmlTypePrivate::extraData, QQmlTypePrivate::regType, and SingletonType.

◆ isSequentialContainer()

bool QQmlType::isSequentialContainer ( ) const

Definition at line 658 of file qqmltype.cpp.

References QQmlTypePrivate::regType, and SequentialContainerType.

Referenced by QV4::coerceListType(), QV4::ExecutionEngine::fromData(), QV4::SequencePrototype::fromVariant(), listMetaSequence(), and QV4::loadProperty().

+ Here is the caller graph for this function:

◆ isSingleton()

bool QQmlType::isSingleton ( ) const

Definition at line 624 of file qqmltype.cpp.

References CompositeSingletonType, QQmlTypePrivate::regType, and SingletonType.

◆ isValid()

bool QQmlType::isValid ( ) const
inline

◆ isValueType()

bool QQmlType::isValueType ( ) const

Definition at line 663 of file qqmltype.cpp.

References QQmlTypePrivate::isValueType().

+ Here is the call graph for this function:

◆ listMetaSequence()

QMetaSequence QQmlType::listMetaSequence ( ) const

Definition at line 678 of file qqmltype.cpp.

References QQmlTypePrivate::extraData, and isSequentialContainer().

Referenced by QV4::coerceListType(), QV4::ExecutionEngine::fromData(), QV4::SequencePrototype::fromVariant(), and QV4::loadProperty().

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

◆ metaObject()

const QMetaObject * QQmlType::metaObject ( ) const

Definition at line 683 of file qqmltype.cpp.

References QQmlTypePrivate::metaObject().

Referenced by QV4::ResolvedTypeReference::createPropertyCache(), QV4::ResolvedTypeReference::doDynamicTypeCheck(), QV4::QQmlTypeWrapper::metaObject(), QQmlMetaType::metaObjectForType(), and QQmlCustomParser::resolveType().

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

◆ metaObjectForValueType()

const QMetaObject * QQmlType::metaObjectForValueType ( ) const

Definition at line 688 of file qqmltype.cpp.

References QQmlTypePrivate::metaObjectForValueType(), and Q_ASSERT.

Referenced by QV4::coerce(), createOrConstructValueType(), and createOrConstructValueType().

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

◆ metaObjectRevision()

QTypeRevision QQmlType::metaObjectRevision ( ) const

Definition at line 704 of file qqmltype.cpp.

References QQmlTypePrivate::revision.

Referenced by QQmlMetaTypeData::propertyCache().

+ Here is the caller graph for this function:

◆ module()

QHashedString QQmlType::module ( ) const

Definition at line 105 of file qqmltype.cpp.

Referenced by QV4::ResolvedTypeReference::addToHash(), and availableInVersion().

+ Here is the caller graph for this function:

◆ noCreationReason()

QString QQmlType::noCreationReason ( ) const

Definition at line 577 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

◆ operator=() [1/2]

QQmlType & QQmlType::operator= ( const QQmlType & other)
default

◆ operator=() [2/2]

QQmlType & QQmlType::operator= ( QQmlType && other)
default

◆ parserStatusCast()

int QQmlType::parserStatusCast ( ) const

Definition at line 723 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

Referenced by QQmlComponentPrivate::beginCreate().

+ Here is the caller graph for this function:

◆ priv()

const QQmlTypePrivate * QQmlType::priv ( ) const
inline

Definition at line 154 of file qqmltype_p.h.

References d.

Referenced by derefHandle(), refCount(), and refHandle().

+ Here is the caller graph for this function:

◆ propertyValueInterceptorCast()

int QQmlType::propertyValueInterceptorCast ( ) const

Definition at line 737 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

◆ propertyValueSourceCast()

int QQmlType::propertyValueSourceCast ( ) const

Definition at line 730 of file qqmltype.cpp.

References CppType, QQmlTypePrivate::extraData, and QQmlTypePrivate::regType.

◆ qListTypeId()

QMetaType QQmlType::qListTypeId ( ) const

Definition at line 673 of file qqmltype.cpp.

References QQmlTypePrivate::listId.

Referenced by QV4::coerceListType(), and QQmlPropertyCacheCreator< ObjectContainer >::metaTypeForParameter().

+ Here is the caller graph for this function:

◆ qmlTypeName()

QString QQmlType::qmlTypeName ( ) const

Definition at line 469 of file qqmltype.cpp.

References QQmlTypePrivate::name.

Referenced by QQuickDesignerSupportMetaInfo::isSubclassOf(), and QQmlDebugTranslationServicePrivate::sendTranslatableTextOccurrences().

+ Here is the caller graph for this function:

◆ refCount()

int QQmlType::refCount ( const QQmlTypePrivate * priv)
static

Definition at line 824 of file qqmltype.cpp.

References QQmlRefCount::count(), and priv().

+ Here is the call graph for this function:

◆ refHandle()

void QQmlType::refHandle ( const QQmlTypePrivate * priv)
static

Definition at line 812 of file qqmltype.cpp.

References QQmlRefCount::addref(), and priv().

Referenced by QV4::Heap::QQmlTypeWrapper::init(), QV4::QQmlTypeWrapper::virtualGet(), and QV4::QQmlTypeWrapper::virtualResolveLookupGetter().

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

◆ scopedEnumIndex() [1/2]

int QQmlType::scopedEnumIndex ( QQmlEnginePrivate * engine,
const QString & name,
bool * ok ) const

Definition at line 792 of file qqmltype.cpp.

References engine, ok, and QQmlTypePrivate::scopedEnumIndex().

+ Here is the call graph for this function:

◆ scopedEnumIndex() [2/2]

int QQmlType::scopedEnumIndex ( QQmlEnginePrivate * engine,
const QV4::String * name,
bool * ok ) const

Definition at line 787 of file qqmltype.cpp.

References engine, ok, and QQmlTypePrivate::scopedEnumIndex().

+ Here is the call graph for this function:

◆ scopedEnumValue() [1/3]

int QQmlType::scopedEnumValue ( QQmlEnginePrivate * engine,
const QHashedStringRef & scopedEnumName,
const QHashedStringRef & name,
bool * ok ) const

Definition at line 807 of file qqmltype.cpp.

References engine, ok, and QQmlTypePrivate::scopedEnumValue().

+ Here is the call graph for this function:

◆ scopedEnumValue() [2/3]

int QQmlType::scopedEnumValue ( QQmlEnginePrivate * engine,
int index,
const QString & name,
bool * ok ) const

Definition at line 802 of file qqmltype.cpp.

References engine, ok, and QQmlTypePrivate::scopedEnumValue().

+ Here is the call graph for this function:

◆ scopedEnumValue() [3/3]

int QQmlType::scopedEnumValue ( QQmlEnginePrivate * engine,
int index,
const QV4::String * name,
bool * ok ) const

Definition at line 797 of file qqmltype.cpp.

References engine, ok, and QQmlTypePrivate::scopedEnumValue().

+ Here is the call graph for this function:

◆ singletonInstanceInfo()

QQmlType::SingletonInstanceInfo::ConstPtr QQmlType::singletonInstanceInfo ( ) const

◆ sourceUrl()

QUrl QQmlType::sourceUrl ( ) const

Definition at line 767 of file qqmltype.cpp.

References QQmlTypePrivate::sourceUrl().

Referenced by QQmlMetaType::removeFromInlineComponents().

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

◆ typeId()

QMetaType QQmlType::typeId ( ) const

Definition at line 668 of file qqmltype.cpp.

References QQmlTypePrivate::typeId.

Referenced by QV4::coerce(), QV4::coerceListType(), createOrConstructValueType(), QQmlTypeData::done(), QQmlValueTypeProvider::heapCreateValueType(), QV4::CompiledData::CompilationUnit::metaType(), and QQmlPropertyCacheCreator< ObjectContainer >::metaTypeForParameter().

+ Here is the caller graph for this function:

◆ typeName()

QByteArray QQmlType::typeName ( ) const

Definition at line 451 of file qqmltype.cpp.

References QQmlTypePrivate::baseMetaObject, QMetaObject::className(), CompositeSingletonType, QQmlTypePrivate::extraData, QByteArray(), QQmlTypePrivate::regType, and SingletonType.

Referenced by QQmlBindPrivate::decodeBinding(), and QQmlDebugTranslationServicePrivate::sendTranslatableTextOccurrences().

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

◆ version()

QTypeRevision QQmlType::version ( ) const

Definition at line 112 of file qqmltype.cpp.

References QQmlTypePrivate::version.

Referenced by availableInVersion(), and availableInVersion().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ operator!=

bool operator!= ( const QQmlType & a,
const QQmlType & b )
friend

Definition at line 179 of file qqmltype_p.h.

◆ operator==

bool operator== ( const QQmlType & a,
const QQmlType & b )
friend

Definition at line 175 of file qqmltype_p.h.

◆ qHash

size_t qHash ( const QQmlType & t,
size_t seed = 0 )
friend

Definition at line 187 of file qqmltype_p.h.

◆ QQmlTypePrivate

friend class QQmlTypePrivate
friend

Definition at line 173 of file qqmltype_p.h.


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