Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlPrivate Namespace Reference

Classes

struct  AOTCompiledContext
struct  AOTCompiledFunction
struct  AOTTrackedLocalsStorage
struct  CachedQmlUnit
struct  Constructors
struct  Constructors< T, WrapperT, SingletonConstructionMode::Constructor >
struct  Constructors< T, WrapperT, SingletonConstructionMode::Factory >
struct  Constructors< T, WrapperT, SingletonConstructionMode::FactoryWrapper >
struct  Constructors< T, WrapperT, SingletonConstructionMode::None >
struct  ExtendedType
struct  ExtendedType< T, false, false >
struct  ExtendedType< T, false, true >
struct  ExtendedType< T, true, false >
struct  FallbackPropertyQmlData
struct  HasSingletonFactory
struct  HasSingletonFactory< T, WrapperT, std::void_t< decltype(WrapperT::create(static_cast< QQmlEngine * >(nullptr), static_cast< QJSEngine * >(nullptr)))> >
struct  LookupNotInitialized
struct  ObjectPropertyQmlData
struct  OverridableAttachedType
struct  OverridableAttachedType< QQmlComponent, QQmlComponentAttached >
struct  OverridableAttachedType< T, QQmlComponentAttached >
struct  QmlAnonymous
struct  QmlAnonymous< T, std::void_t< typename T::QmlIsAnonymous > >
struct  QmlAttached
struct  QmlAttached< T, std::void_t< decltype(T::qmlAttachedProperties)>, true >
struct  QmlAttached< T, std::void_t< typename OverridableAttachedType< T, typename T::QmlAttachedType >::Type >, false >
struct  QmlAttachedAccessor
struct  QmlExtended
struct  QmlExtended< T, std::void_t< typename T::QmlExtendedType > >
struct  QmlExtendedNamespace
struct  QmlExtendedNamespace< T, std::void_t< decltype(T::qmlExtendedNamespace())> >
struct  QmlInterface
struct  QmlInterface< T, std::void_t< typename T::QmlIsInterface, decltype(qobject_interface_iid< T * >())> >
struct  QmlMarkerFunction
struct  QmlMarkerFunction< Ret(Class::*)()>
struct  QmlMetaType
struct  QmlMetaType< void >
struct  QmlResolved
struct  QmlResolved< T, std::void_t< typename T::QmlForeignType > >
struct  QmlSequence
struct  QmlSequence< T, std::void_t< typename T::QmlIsSequence > >
struct  QmlSingleton
struct  QmlSingleton< T, std::void_t< typename T::QmlIsSingleton > >
struct  QmlUncreatable
struct  QmlUncreatable< T, std::void_t< typename T::QmlIsUncreatable > >
class  QQmlElement
struct  RegisterAutoParent
struct  RegisterCompositeSingletonType
struct  RegisterCompositeType
struct  RegisterInterface
struct  RegisterQmlUnitCacheHook
struct  RegisterSequentialContainer
struct  RegisterSequentialContainerAndRevisions
struct  RegisterSingletonType
struct  RegisterSingletonTypeAndRevisions
struct  RegisterType
struct  RegisterTypeAndRevisions
struct  SingletonInstanceFunctor
struct  StaticCastSelector
struct  StaticCastSelectorClass
struct  StaticCastSelectorClass< From, To, sizeof(int)>
struct  StaticMetaObject
struct  StaticMetaObject< T, std::void_t< decltype(T::staticMetaObject)> >
struct  ValueType
struct  ValueType< T, F, false, false >
struct  ValueType< T, F, HasCtor, true >
struct  ValueType< T, F, true, false >
struct  ValueTypeFactory
struct  ValueTypeFactory< F, std::void_t< decltype(F::create(QJSValue()))> >

Typedefs

template<typename A>
using QQmlAttachedPropertiesFunc = A *(*)(QObject *)
template<typename T, typename Marker>
using QmlTypeHasMarker = std::is_same<T, typename QmlMarkerFunction<Marker>::ClassType>
using CreateIntoFunction = void (*)(void *, void *)
using CreateSingletonFunction = QObject *(*)(QQmlEngine *, QJSEngine *)
using CreateParentFunction = QObject *(*)(QObject *)
using CreateValueTypeFunction = QVariant (*)(const QJSValue &)
typedef AutoParentResult(* AutoParentFunction) (QObject *object, QObject *parent)
typedef const CachedQmlUnit *(* QmlUnitCacheLookupFunction) (const QUrl &url)
using QmlContextPropertyGetter = QV4::ReturnedValue (*)(QV4::Lookup *lookup, QV4::ExecutionEngine *engine, QV4::Value *thisObject)

Enumerations

enum class  SingletonConstructionMode { None , Constructor , Factory , FactoryWrapper }
enum  AutoParentResult { Parented , IncompatibleObject , IncompatibleParent }
enum class  ValueTypeCreationMethod { None , Construct , Structured }
enum  RegistrationType {
  TypeRegistration = 0 , InterfaceRegistration = 1 , AutoParentRegistration = 2 , SingletonRegistration = 3 ,
  CompositeRegistration = 4 , CompositeSingletonRegistration = 5 , QmlUnitCacheHookRegistration = 6 , TypeAndRevisionsRegistration = 7 ,
  SingletonAndRevisionsRegistration = 8 , SequentialContainerRegistration = 9 , SequentialContainerAndRevisionsRegistration = 10
}
enum  QmlRegistrationWarning { UnconstructibleType , UnconstructibleSingleton , NonQObjectWithAtached }
enum class  PropertyResult {
  OK , NeedsInit , Deleted , OK ,
  NeedsInit , Deleted
}
enum class  ObjectLookupResult {
  Failure , Object , Fallback , Failure ,
  Object , Fallback
}
enum class  LookupType { Concrete , Variant , Concrete , Variant }
enum  MatchScore { NoMatch , ExactMatch , NoMatch , ExactMatch }
enum class  PropertyResult {
  OK , NeedsInit , Deleted , OK ,
  NeedsInit , Deleted
}
enum class  ObjectLookupResult {
  Failure , Object , Fallback , Failure ,
  Object , Fallback
}
enum class  LookupType { Concrete , Variant , Concrete , Variant }
enum  MatchScore { NoMatch , ExactMatch , NoMatch , ExactMatch }

Functions

double jsExponentiate (double base, double exponent)
void Q_QML_EXPORT qdeclarativeelement_destructor (QObject *)
template<typename T, typename WrapperT>
constexpr SingletonConstructionMode singletonConstructionMode ()
template<typename T>
void createInto (void *memory, void *)
template<typename T, typename WrapperT, SingletonConstructionMode Mode>
QObjectcreateSingletonInstance (QQmlEngine *q, QJSEngine *j)
template<typename T>
QObjectcreateParent (QObject *p)
template<typename T>
QQmlAttachedPropertiesFunc< QObjectattachedPropertiesFunc ()
template<typename T>
const QMetaObjectattachedPropertiesMetaObject ()
int Q_QML_EXPORT qmlregister (RegistrationType, void *)
void Q_QML_EXPORT qmlunregister (RegistrationType, quintptr)
static int indexOfOwnClassInfo (const QMetaObject *metaObject, const char *key, int startOffset=-1)
const char * classInfo (const QMetaObject *metaObject, const char *key)
QTypeRevision revisionClassInfo (const QMetaObject *metaObject, const char *key, QTypeRevision defaultValue=QTypeRevision())
Q_QML_EXPORT QList< QTypeRevisionrevisionClassInfos (const QMetaObject *metaObject, const char *key)
bool boolClassInfo (const QMetaObject *metaObject, const char *key, bool defaultValue=false)
template<typename T, typename E, typename WrapperT = T>
void qmlRegisterSingletonAndRevisions (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QVector< int > *qmlTypeIds, const QMetaObject *extension)
template<typename T, typename E>
void qmlRegisterTypeAndRevisions (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QVector< int > *qmlTypeIds, const QMetaObject *extension, bool forceAnonymous=false)
template<typename T>
void qmlRegisterSequenceAndRevisions (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QVector< int > *qmlTypeIds)
template<>
void Q_QML_EXPORT qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void > (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QVector< int > *qmlTypeIds, const QMetaObject *, bool)
constexpr QtPrivate::QMetaTypeInterface metaTypeForNamespace (const QtPrivate::QMetaTypeInterface::MetaObjectFn &metaObjectFunction, const char *name)
Q_QML_EXPORT QObjectqmlExtendedObject (QObject *, int)
Q_QML_EXPORT void qmlRegistrationWarning (QmlRegistrationWarning warning, QMetaType type)
Q_QML_EXPORT QMetaType compositeMetaType (QV4::ExecutableCompilationUnit *unit, int elementNameId)
Q_QML_EXPORT QMetaType compositeMetaType (QV4::ExecutableCompilationUnit *unit, const QString &elementName)
Q_QML_EXPORT QMetaType compositeListMetaType (QV4::ExecutableCompilationUnit *unit, int elementNameId)
Q_QML_EXPORT QMetaType compositeListMetaType (QV4::ExecutableCompilationUnit *unit, const QString &elementName)
template<>
void qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void > (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QVector< int > *qmlTypeIds, const QMetaObject *extension, bool)
static QQmlPropertyCapturepropertyCapture (const AOTCompiledContext *aotContext)
static bool markPointer (const QVariant &element, QV4::MarkStack *markStack)
static void iterateVariant (const QVariant &element, std::vector< QVariant > *elements)
static void captureFallbackProperty (QObject *object, int coreIndex, int notifyIndex, bool isConstant, const AOTCompiledContext *aotContext)
static void captureObjectProperty (QObject *object, const QQmlPropertyCache *propertyCache, const QQmlPropertyData *property, const AOTCompiledContext *aotContext)
static bool inherits (const QQmlPropertyCache *descendent, const QQmlPropertyCache *ancestor)
template<bool StrictType>
ObjectPropertyQmlData findObjectPropertyQmlData (QV4::Lookup *lookup, QObject *object)
template<bool StrictType = false>
PropertyResult loadObjectProperty (QV4::Lookup *lookup, QObject *object, void *target, const AOTCompiledContext *aotContext)
template<bool StrictType = false>
PropertyResult writeBackObjectProperty (QV4::Lookup *lookup, QObject *object, void *source)
static FallbackPropertyQmlData findFallbackPropertyQmlData (QV4::Lookup *lookup, QObject *object)
static PropertyResult loadFallbackProperty (QV4::Lookup *lookup, QObject *object, void *target, const AOTCompiledContext *aotContext)
static PropertyResult writeBackFallbackProperty (QV4::Lookup *lookup, QObject *object, void *source)
PropertyResult loadObjectAsVariant (QV4::Lookup *lookup, QObject *object, void *target, const AOTCompiledContext *aotContext)
PropertyResult writeBackObjectAsVariant (QV4::Lookup *lookup, QObject *object, void *source)
PropertyResult loadFallbackAsVariant (QV4::Lookup *lookup, QObject *object, void *target, const AOTCompiledContext *aotContext)
PropertyResult writeBackFallbackAsVariant (QV4::Lookup *lookup, QObject *object, void *source)
template<bool StrictType, typename Op>
static PropertyResult changeObjectProperty (QV4::Lookup *lookup, QObject *object, Op op)
template<bool StrictType = false>
static PropertyResult resetObjectProperty (QV4::Lookup *l, QObject *object, QV4::ExecutionEngine *v4)
template<bool StrictType = false>
static PropertyResult storeObjectProperty (QV4::Lookup *l, QObject *object, void *value)
template<typename Op>
static PropertyResult changeFallbackProperty (QV4::Lookup *lookup, QObject *object, Op op)
static PropertyResult storeFallbackProperty (QV4::Lookup *l, QObject *object, void *value)
static PropertyResult resetFallbackProperty (QV4::Lookup *l, QObject *object, const QMetaProperty *property, QV4::ExecutionEngine *v4)
static bool isEnumUnderlyingType (QMetaType enumType, QMetaType numberType)
static bool canHoldVoid (QMetaType type)
static bool isTypeCompatible (QMetaType source, QMetaType target)
static PropertyResult storeObjectAsVariant (QV4::ExecutionEngine *v4, QV4::Lookup *lookup, QObject *object, void *value)
static PropertyResult storeFallbackAsVariant (QV4::ExecutionEngine *v4, QV4::Lookup *lookup, QObject *object, void *value)
static ObjectLookupResult initObjectLookup (const AOTCompiledContext *aotContext, QV4::Lookup *lookup, QObject *object)
template<QV4::Lookup::Call ObjectCall, QV4::Lookup::Call FallbackCall, LookupType Type>
void initObjectLookup (const AOTCompiledContext *aotContext, uint index, QObject *object)
static void initValueLookup (QV4::Lookup *lookup, QV4::ExecutableCompilationUnit *compilationUnit, const QMetaObject *metaObject)
static bool isUndefined (const void *value, QMetaType type)
static QMetaType jsTypedFunctionArgument (const QQmlType &type, const QV4::CompiledData::ParameterType &parameter)
static bool callQObjectMethodWithTypes (QV4::ExecutionEngine *engine, QV4::Lookup *lookup, QObject *thisObject, void **args, QMetaType *types, int argc)
static bool callQObjectMethodAsVariant (QV4::ExecutionEngine *engine, QV4::Lookup *lookup, QObject *thisObject, void **args, int argc)
static bool callQObjectMethod (QV4::ExecutionEngine *engine, QV4::Lookup *lookup, QObject *thisObject, void **args, int argc)
static bool callArrowFunction (QV4::ExecutionEngine *engine, QV4::ArrowFunction *function, QObject *thisObject, void **args, int argc)
static MatchScore resolveQObjectMethodOverload (QV4::QObjectMethod *method, QV4::Lookup *lookup, int relativeMethodIndex)
static bool tryEnsureMethodsCache (QV4::QObjectMethod *method, QObject *object)
template<QV4::Lookup::Call call>
static void initTypeWrapperLookup (const AOTCompiledContext *context, QV4::Lookup *lookup, uint importNamespace)
static PropertyResult storeValueProperty (QV4::Lookup *lookup, const QMetaObject *metaObject, void *target, void *value)
static PropertyResult resetValueProperty (QV4::Lookup *lookup, const QMetaObject *metaObject, void *target, QV4::ExecutionEngine *v4)
static PropertyResult storeValueAsVariant (QV4::ExecutionEngine *v4, QV4::Lookup *lookup, const QMetaObject *metaObject, void *target, void *value)
template<LookupType Type>
void initValueLookup (const AOTCompiledContext *aotContext, uint index, const QMetaObject *metaObject)
template<>
void qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void > (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QVector< int > *qmlTypeIds, const QMetaObject *extension, bool)

Typedef Documentation

◆ AutoParentFunction

typedef AutoParentResult(* QQmlPrivate::AutoParentFunction) (QObject *object, QObject *parent)

Definition at line 441 of file qqmlprivate.h.

◆ CreateIntoFunction

Definition at line 198 of file qqmlprivate.h.

◆ CreateParentFunction

Definition at line 200 of file qqmlprivate.h.

◆ CreateSingletonFunction

Definition at line 199 of file qqmlprivate.h.

◆ CreateValueTypeFunction

Definition at line 201 of file qqmlprivate.h.

◆ QmlContextPropertyGetter

◆ QmlTypeHasMarker

template<typename T, typename Marker>
using QQmlPrivate::QmlTypeHasMarker = std::is_same<T, typename QmlMarkerFunction<Marker>::ClassType>

Definition at line 175 of file qqmlprivate.h.

◆ QmlUnitCacheLookupFunction

typedef const CachedQmlUnit *(* QQmlPrivate::QmlUnitCacheLookupFunction) (const QUrl &url)

Definition at line 839 of file qqmlprivate.h.

◆ QQmlAttachedPropertiesFunc

template<typename A>
using QQmlPrivate::QQmlAttachedPropertiesFunc = A *(*)(QObject *)

Definition at line 48 of file qqmlprivate.h.

Enumeration Type Documentation

◆ AutoParentResult

Enumerator
Parented 
IncompatibleObject 
IncompatibleParent 

Definition at line 440 of file qqmlprivate.h.

◆ LookupType [1/2]

enum class QQmlPrivate::LookupType
strong
Enumerator
Concrete 
Variant 
Concrete 
Variant 

Definition at line 1762 of file qqml.cpp.

◆ LookupType [2/2]

enum class QQmlPrivate::LookupType
strong
Enumerator
Concrete 
Variant 
Concrete 
Variant 

Definition at line 1762 of file qqml.cpp.

◆ MatchScore [1/2]

Enumerator
NoMatch 
ExactMatch 
NoMatch 
ExactMatch 

Definition at line 2262 of file qqml.cpp.

◆ MatchScore [2/2]

Enumerator
NoMatch 
ExactMatch 
NoMatch 
ExactMatch 

Definition at line 2262 of file qqml.cpp.

◆ ObjectLookupResult [1/2]

Enumerator
Failure 
Object 
Fallback 
Failure 
Object 
Fallback 

Definition at line 1700 of file qqml.cpp.

◆ ObjectLookupResult [2/2]

Enumerator
Failure 
Object 
Fallback 
Failure 
Object 
Fallback 

Definition at line 1700 of file qqml.cpp.

◆ PropertyResult [1/2]

enum class QQmlPrivate::PropertyResult
strong
Enumerator
OK 
NeedsInit 
Deleted 
OK 
NeedsInit 
Deleted 

Definition at line 1314 of file qqml.cpp.

◆ PropertyResult [2/2]

enum class QQmlPrivate::PropertyResult
strong
Enumerator
OK 
NeedsInit 
Deleted 
OK 
NeedsInit 
Deleted 

Definition at line 1314 of file qqml.cpp.

◆ QmlRegistrationWarning

Enumerator
UnconstructibleType 
UnconstructibleSingleton 
NonQObjectWithAtached 

Definition at line 1226 of file qqmlprivate.h.

◆ RegistrationType

Enumerator
TypeRegistration 
InterfaceRegistration 
AutoParentRegistration 
SingletonRegistration 
CompositeRegistration 
CompositeSingletonRegistration 
QmlUnitCacheHookRegistration 
TypeAndRevisionsRegistration 
SingletonAndRevisionsRegistration 
SequentialContainerRegistration 
SequentialContainerAndRevisionsRegistration 

Definition at line 845 of file qqmlprivate.h.

◆ SingletonConstructionMode

Enumerator
None 
Constructor 
Factory 
FactoryWrapper 

Definition at line 126 of file qqmlprivate.h.

◆ ValueTypeCreationMethod

Enumerator
None 
Construct 
Structured 

Definition at line 443 of file qqmlprivate.h.

Function Documentation

◆ attachedPropertiesFunc()

template<typename T>
QQmlAttachedPropertiesFunc< QObject > QQmlPrivate::attachedPropertiesFunc ( )
inline

Definition at line 429 of file qqmlprivate.h.

◆ attachedPropertiesMetaObject()

template<typename T>
const QMetaObject * QQmlPrivate::attachedPropertiesMetaObject ( )
inline

Definition at line 435 of file qqmlprivate.h.

◆ boolClassInfo()

bool QQmlPrivate::boolClassInfo ( const QMetaObject * metaObject,
const char * key,
bool defaultValue = false )
inline

Definition at line 915 of file qqmlprivate.h.

◆ callArrowFunction()

bool QQmlPrivate::callArrowFunction ( QV4::ExecutionEngine * engine,
QV4::ArrowFunction * function,
QObject * thisObject,
void ** args,
int argc )
static

Definition at line 2195 of file qqml.cpp.

◆ callQObjectMethod()

bool QQmlPrivate::callQObjectMethod ( QV4::ExecutionEngine * engine,
QV4::Lookup * lookup,
QObject * thisObject,
void ** args,
int argc )
static

Definition at line 2157 of file qqml.cpp.

◆ callQObjectMethodAsVariant()

bool QQmlPrivate::callQObjectMethodAsVariant ( QV4::ExecutionEngine * engine,
QV4::Lookup * lookup,
QObject * thisObject,
void ** args,
int argc )
static

Definition at line 2133 of file qqml.cpp.

◆ callQObjectMethodWithTypes()

bool QQmlPrivate::callQObjectMethodWithTypes ( QV4::ExecutionEngine * engine,
QV4::Lookup * lookup,
QObject * thisObject,
void ** args,
QMetaType * types,
int argc )
static

Definition at line 2122 of file qqml.cpp.

◆ canHoldVoid()

bool QQmlPrivate::canHoldVoid ( QMetaType type)
static

Definition at line 1590 of file qqml.cpp.

◆ captureFallbackProperty()

void QQmlPrivate::captureFallbackProperty ( QObject * object,
int coreIndex,
int notifyIndex,
bool isConstant,
const AOTCompiledContext * aotContext )
static

Definition at line 1283 of file qqml.cpp.

◆ captureObjectProperty()

void QQmlPrivate::captureObjectProperty ( QObject * object,
const QQmlPropertyCache * propertyCache,
const QQmlPropertyData * property,
const AOTCompiledContext * aotContext )
static

Definition at line 1294 of file qqml.cpp.

◆ changeFallbackProperty()

template<typename Op>
PropertyResult QQmlPrivate::changeFallbackProperty ( QV4::Lookup * lookup,
QObject * object,
Op op )
static

Definition at line 1518 of file qqml.cpp.

◆ changeObjectProperty()

template<bool StrictType, typename Op>
PropertyResult QQmlPrivate::changeObjectProperty ( QV4::Lookup * lookup,
QObject * object,
Op op )
static

Definition at line 1481 of file qqml.cpp.

◆ classInfo()

const char * QQmlPrivate::classInfo ( const QMetaObject * metaObject,
const char * key )
inline

Definition at line 899 of file qqmlprivate.h.

◆ compositeListMetaType() [1/2]

QMetaType QQmlPrivate::compositeListMetaType ( QV4::ExecutableCompilationUnit * unit,
const QString & elementName )

Definition at line 217 of file qqml.cpp.

◆ compositeListMetaType() [2/2]

QMetaType QQmlPrivate::compositeListMetaType ( QV4::ExecutableCompilationUnit * unit,
int elementNameId )

Definition at line 211 of file qqml.cpp.

◆ compositeMetaType() [1/2]

QMetaType QQmlPrivate::compositeMetaType ( QV4::ExecutableCompilationUnit * unit,
const QString & elementName )

Definition at line 203 of file qqml.cpp.

◆ compositeMetaType() [2/2]

QMetaType QQmlPrivate::compositeMetaType ( QV4::ExecutableCompilationUnit * unit,
int elementNameId )

Definition at line 197 of file qqml.cpp.

◆ createInto()

template<typename T>
void QQmlPrivate::createInto ( void * memory,
void *  )

Definition at line 178 of file qqmlprivate.h.

◆ createParent()

template<typename T>
QObject * QQmlPrivate::createParent ( QObject * p)

Definition at line 196 of file qqmlprivate.h.

◆ createSingletonInstance()

template<typename T, typename WrapperT, SingletonConstructionMode Mode>
QObject * QQmlPrivate::createSingletonInstance ( QQmlEngine * q,
QJSEngine * j )

Definition at line 181 of file qqmlprivate.h.

References Constructor, Factory, and FactoryWrapper.

◆ findFallbackPropertyQmlData()

FallbackPropertyQmlData QQmlPrivate::findFallbackPropertyQmlData ( QV4::Lookup * lookup,
QObject * object )
static

Definition at line 1377 of file qqml.cpp.

◆ findObjectPropertyQmlData()

template<bool StrictType>
ObjectPropertyQmlData QQmlPrivate::findObjectPropertyQmlData ( QV4::Lookup * lookup,
QObject * object )

Definition at line 1323 of file qqml.cpp.

◆ indexOfOwnClassInfo()

int QQmlPrivate::indexOfOwnClassInfo ( const QMetaObject * metaObject,
const char * key,
int startOffset = -1 )
static

Definition at line 883 of file qqmlprivate.h.

◆ inherits()

bool QQmlPrivate::inherits ( const QQmlPropertyCache * descendent,
const QQmlPropertyCache * ancestor )
static

Definition at line 1305 of file qqml.cpp.

◆ initObjectLookup() [1/2]

ObjectLookupResult QQmlPrivate::initObjectLookup ( const AOTCompiledContext * aotContext,
QV4::Lookup * lookup,
QObject * object )
static

Definition at line 1706 of file qqml.cpp.

References Failure, Fallback, and Object.

◆ initObjectLookup() [2/2]

template<QV4::Lookup::Call ObjectCall, QV4::Lookup::Call FallbackCall, LookupType Type>
void QQmlPrivate::initObjectLookup ( const AOTCompiledContext * aotContext,
uint index,
QObject * object )

Definition at line 1764 of file qqml.cpp.

References Failure, Fallback, Object, and Variant.

◆ initTypeWrapperLookup()

template<QV4::Lookup::Call call>
void QQmlPrivate::initTypeWrapperLookup ( const AOTCompiledContext * context,
QV4::Lookup * lookup,
uint importNamespace )
static

Definition at line 2656 of file qqml.cpp.

◆ initValueLookup() [1/2]

template<LookupType Type>
void QQmlPrivate::initValueLookup ( const AOTCompiledContext * aotContext,
uint index,
const QMetaObject * metaObject )

Definition at line 3120 of file qqml.cpp.

References Variant.

◆ initValueLookup() [2/2]

void QQmlPrivate::initValueLookup ( QV4::Lookup * lookup,
QV4::ExecutableCompilationUnit * compilationUnit,
const QMetaObject * metaObject )
static

Definition at line 1791 of file qqml.cpp.

◆ isEnumUnderlyingType()

bool QQmlPrivate::isEnumUnderlyingType ( QMetaType enumType,
QMetaType numberType )
static

Definition at line 1555 of file qqml.cpp.

◆ isTypeCompatible()

bool QQmlPrivate::isTypeCompatible ( QMetaType source,
QMetaType target )
static

Definition at line 1598 of file qqml.cpp.

◆ isUndefined()

bool QQmlPrivate::isUndefined ( const void * value,
QMetaType type )
static

Definition at line 1914 of file qqml.cpp.

◆ iterateVariant()

void QQmlPrivate::iterateVariant ( const QVariant & element,
std::vector< QVariant > * elements )
static

Definition at line 1215 of file qqml.cpp.

◆ jsExponentiate()

double QQmlPrivate::jsExponentiate ( double base,
double exponent )
inline
Since
6.4

Performs JavaScript's Number::exponentiate operation on base and exponent, and returns the result.

See https://tc39.es/ecma262/multipage/ecmascript-data-types-and-values.html#sec-numeric-types-number-exponentiate

Definition at line 953 of file qjsprimitivevalue.h.

◆ jsTypedFunctionArgument()

QMetaType QQmlPrivate::jsTypedFunctionArgument ( const QQmlType & type,
const QV4::CompiledData::ParameterType & parameter )
static

Definition at line 2116 of file qqml.cpp.

◆ loadFallbackAsVariant()

PropertyResult QQmlPrivate::loadFallbackAsVariant ( QV4::Lookup * lookup,
QObject * object,
void * target,
const AOTCompiledContext * aotContext )

Definition at line 1449 of file qqml.cpp.

◆ loadFallbackProperty()

PropertyResult QQmlPrivate::loadFallbackProperty ( QV4::Lookup * lookup,
QObject * object,
void * target,
const AOTCompiledContext * aotContext )
static

Definition at line 1393 of file qqml.cpp.

◆ loadObjectAsVariant()

PropertyResult QQmlPrivate::loadObjectAsVariant ( QV4::Lookup * lookup,
QObject * object,
void * target,
const AOTCompiledContext * aotContext )

Definition at line 1426 of file qqml.cpp.

◆ loadObjectProperty()

template<bool StrictType = false>
PropertyResult QQmlPrivate::loadObjectProperty ( QV4::Lookup * lookup,
QObject * object,
void * target,
const AOTCompiledContext * aotContext )

Definition at line 1342 of file qqml.cpp.

◆ markPointer()

bool QQmlPrivate::markPointer ( const QVariant & element,
QV4::MarkStack * markStack )
static

Definition at line 1205 of file qqml.cpp.

◆ metaTypeForNamespace()

QtPrivate::QMetaTypeInterface QQmlPrivate::metaTypeForNamespace ( const QtPrivate::QMetaTypeInterface::MetaObjectFn & metaObjectFunction,
const char * name )
constexpr

Definition at line 1200 of file qqmlprivate.h.

◆ propertyCapture()

QQmlPropertyCapture * QQmlPrivate::propertyCapture ( const AOTCompiledContext * aotContext)
static

Definition at line 1169 of file qqml.cpp.

◆ qdeclarativeelement_destructor()

void QQmlPrivate::qdeclarativeelement_destructor ( QObject * o)

Definition at line 209 of file qqmlengine.cpp.

◆ qmlExtendedObject()

QObject * QQmlPrivate::qmlExtendedObject ( QObject * object,
int index )

Definition at line 152 of file qqml.cpp.

◆ qmlregister()

int QQmlPrivate::qmlregister ( RegistrationType type,
void * data )

Definition at line 930 of file qqml.cpp.

◆ qmlRegisterSequenceAndRevisions()

template<typename T>
void QQmlPrivate::qmlRegisterSequenceAndRevisions ( const char * uri,
int versionMajor,
const QMetaObject * classInfoMetaObject,
QVector< int > * qmlTypeIds )

Definition at line 1178 of file qqmlprivate.h.

References SequentialContainerAndRevisionsRegistration.

◆ qmlRegisterSingletonAndRevisions()

template<typename T, typename E, typename WrapperT = T>
void QQmlPrivate::qmlRegisterSingletonAndRevisions ( const char * uri,
int versionMajor,
const QMetaObject * classInfoMetaObject,
QVector< int > * qmlTypeIds,
const QMetaObject * extension )

Definition at line 1105 of file qqmlprivate.h.

References SingletonAndRevisionsRegistration.

◆ qmlRegisterTypeAndRevisions()

template<typename T, typename E>
void QQmlPrivate::qmlRegisterTypeAndRevisions ( const char * uri,
int versionMajor,
const QMetaObject * classInfoMetaObject,
QVector< int > * qmlTypeIds,
const QMetaObject * extension,
bool forceAnonymous = false )

Definition at line 1133 of file qqmlprivate.h.

References TypeAndRevisionsRegistration.

◆ qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void >() [1/3]

template<>
void Q_QML_EXPORT QQmlPrivate::qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void > ( const char * uri,
int versionMajor,
const QMetaObject * classInfoMetaObject,
QVector< int > * qmlTypeIds,
const QMetaObject * extension,
bool  )

Definition at line 1116 of file qqml.cpp.

◆ qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void >() [2/3]

template<>
void QQmlPrivate::qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void > ( const char * uri,
int versionMajor,
const QMetaObject * classInfoMetaObject,
QVector< int > * qmlTypeIds,
const QMetaObject * extension,
bool  )

Definition at line 1116 of file qqml.cpp.

◆ qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void >() [3/3]

template<>
void QQmlPrivate::qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void > ( const char * uri,
int versionMajor,
const QMetaObject * classInfoMetaObject,
QVector< int > * qmlTypeIds,
const QMetaObject * extension,
bool  )

Definition at line 1116 of file qqml.cpp.

◆ qmlRegistrationWarning()

void QQmlPrivate::qmlRegistrationWarning ( QQmlPrivate::QmlRegistrationWarning warning,
QMetaType type )

Definition at line 171 of file qqml.cpp.

◆ qmlunregister()

void QQmlPrivate::qmlunregister ( RegistrationType type,
quintptr data )

Definition at line 1028 of file qqml.cpp.

◆ resetFallbackProperty()

PropertyResult QQmlPrivate::resetFallbackProperty ( QV4::Lookup * l,
QObject * object,
const QMetaProperty * property,
QV4::ExecutionEngine * v4 )
static

Definition at line 1540 of file qqml.cpp.

◆ resetObjectProperty()

template<bool StrictType = false>
PropertyResult QQmlPrivate::resetObjectProperty ( QV4::Lookup * l,
QObject * object,
QV4::ExecutionEngine * v4 )
static

Definition at line 1495 of file qqml.cpp.

◆ resetValueProperty()

PropertyResult QQmlPrivate::resetValueProperty ( QV4::Lookup * lookup,
const QMetaObject * metaObject,
void * target,
QV4::ExecutionEngine * v4 )
static

Definition at line 3044 of file qqml.cpp.

References OK.

◆ resolveQObjectMethodOverload()

MatchScore QQmlPrivate::resolveQObjectMethodOverload ( QV4::QObjectMethod * method,
QV4::Lookup * lookup,
int relativeMethodIndex )
static

Definition at line 2264 of file qqml.cpp.

References ExactMatch, and NoMatch.

◆ revisionClassInfo()

QTypeRevision QQmlPrivate::revisionClassInfo ( const QMetaObject * metaObject,
const char * key,
QTypeRevision defaultValue = QTypeRevision() )
inline

Definition at line 904 of file qqmlprivate.h.

◆ revisionClassInfos()

QList< QTypeRevision > QQmlPrivate::revisionClassInfos ( const QMetaObject * metaObject,
const char * key )

Definition at line 1060 of file qqml.cpp.

◆ singletonConstructionMode()

template<typename T, typename WrapperT>
SingletonConstructionMode QQmlPrivate::singletonConstructionMode ( )
constexpr

Definition at line 151 of file qqmlprivate.h.

References Constructor, Factory, FactoryWrapper, and None.

◆ storeFallbackAsVariant()

PropertyResult QQmlPrivate::storeFallbackAsVariant ( QV4::ExecutionEngine * v4,
QV4::Lookup * lookup,
QObject * object,
void * value )
static

Definition at line 1668 of file qqml.cpp.

◆ storeFallbackProperty()

PropertyResult QQmlPrivate::storeFallbackProperty ( QV4::Lookup * l,
QObject * object,
void * value )
static

Definition at line 1532 of file qqml.cpp.

◆ storeObjectAsVariant()

PropertyResult QQmlPrivate::storeObjectAsVariant ( QV4::ExecutionEngine * v4,
QV4::Lookup * lookup,
QObject * object,
void * value )
static

Definition at line 1636 of file qqml.cpp.

◆ storeObjectProperty()

template<bool StrictType = false>
PropertyResult QQmlPrivate::storeObjectProperty ( QV4::Lookup * l,
QObject * object,
void * value )
static

Definition at line 1510 of file qqml.cpp.

◆ storeValueAsVariant()

PropertyResult QQmlPrivate::storeValueAsVariant ( QV4::ExecutionEngine * v4,
QV4::Lookup * lookup,
const QMetaObject * metaObject,
void * target,
void * value )
static

Definition at line 3062 of file qqml.cpp.

References NeedsInit.

◆ storeValueProperty()

PropertyResult QQmlPrivate::storeValueProperty ( QV4::Lookup * lookup,
const QMetaObject * metaObject,
void * target,
void * value )
static

Definition at line 3034 of file qqml.cpp.

References OK.

◆ tryEnsureMethodsCache()

bool QQmlPrivate::tryEnsureMethodsCache ( QV4::QObjectMethod * method,
QObject * object )
static

Definition at line 2293 of file qqml.cpp.

◆ writeBackFallbackAsVariant()

PropertyResult QQmlPrivate::writeBackFallbackAsVariant ( QV4::Lookup * lookup,
QObject * object,
void * source )

Definition at line 1465 of file qqml.cpp.

◆ writeBackFallbackProperty()

PropertyResult QQmlPrivate::writeBackFallbackProperty ( QV4::Lookup * lookup,
QObject * object,
void * source )
static

Definition at line 1413 of file qqml.cpp.

◆ writeBackObjectAsVariant()

PropertyResult QQmlPrivate::writeBackObjectAsVariant ( QV4::Lookup * lookup,
QObject * object,
void * source )

Definition at line 1438 of file qqml.cpp.

◆ writeBackObjectProperty()

template<bool StrictType = false>
PropertyResult QQmlPrivate::writeBackObjectProperty ( QV4::Lookup * lookup,
QObject * object,
void * source )

Definition at line 1360 of file qqml.cpp.