Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QQmlPropertyCacheCreatorBase Struct Reference

#include <qqmlpropertycachecreator_p.h>

+ Inheritance diagram for QQmlPropertyCacheCreatorBase:
+ Collaboration diagram for QQmlPropertyCacheCreatorBase:

Classes

struct  IncrementalResult
 

Static Public Member Functions

static QMetaType metaTypeForPropertyType (QV4::CompiledData::CommonType type)
 
static QMetaType listTypeForPropertyType (QV4::CompiledData::CommonType type)
 
static bool canCreateClassNameTypeByUrl (const QUrl &url)
 
static QByteArray createClassNameTypeByUrl (const QUrl &url)
 
static QByteArray createClassNameForInlineComponent (const QUrl &baseUrl, const QString &name)
 

Static Public Attributes

static QAtomicInt Q_AUTOTEST_EXPORT classIndexCounter
 

Detailed Description

Definition at line 63 of file qqmlpropertycachecreator_p.h.

Member Function Documentation

◆ canCreateClassNameTypeByUrl()

bool QQmlPropertyCacheCreatorBase::canCreateClassNameTypeByUrl ( const QUrl url)
static

Definition at line 89 of file qqmlpropertycachecreator.cpp.

References processUrlForClassName(), and url.

Referenced by QQmlTypeData::done().

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

◆ createClassNameForInlineComponent()

QByteArray QQmlPropertyCacheCreatorBase::createClassNameForInlineComponent ( const QUrl baseUrl,
const QString name 
)
static

Definition at line 108 of file qqmlpropertycachecreator.cpp.

References baseUrl, classIndexCounter, QBasicAtomicInteger< T >::fetchAndAddRelaxed(), QByteArray::number(), processUrlForClassName(), and QStringView::toUtf8().

Referenced by doRegisterInlineComponentType().

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

◆ createClassNameTypeByUrl()

QByteArray QQmlPropertyCacheCreatorBase::createClassNameTypeByUrl ( const QUrl url)
static

Definition at line 98 of file qqmlpropertycachecreator.cpp.

References classIndexCounter, QBasicAtomicInteger< T >::fetchAndAddRelaxed(), QByteArray::number(), processUrlForClassName(), QStringView::toUtf8(), and url.

Referenced by createQQmlType(), createQQmlType(), and createTypeForUrl().

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

◆ listTypeForPropertyType()

◆ metaTypeForPropertyType()

QMetaType QQmlPropertyCacheCreatorBase::metaTypeForPropertyType ( QV4::CompiledData::CommonType  type)
static

Member Data Documentation

◆ classIndexCounter

QT_BEGIN_NAMESPACE QAtomicInt QQmlPropertyCacheCreatorBase::classIndexCounter
static

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