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

Namespaces

namespace  AOTLookupValidation

Classes

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

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 ,
  ExplicitNone
}
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 class  PropertyResult {
  OK , NeedsInit , Deleted , OK ,
  NeedsInit , Deleted
}
enum class  ObjectLookupResult {
  Failure , Object , Fallback , Failure ,
  Object , Fallback
}
enum class  LookupType { Concrete , Variant , Concrete , Variant }

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, QList< int > *qmlTypeIds, const QMetaObject *extension)
template<typename T, typename E>
void qmlRegisterTypeAndRevisions (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QList< int > *qmlTypeIds, const QMetaObject *extension, bool forceAnonymous=false)
template<typename T>
void qmlRegisterSequenceAndRevisions (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QList< int > *qmlTypeIds)
template<>
void Q_QML_EXPORT qmlRegisterTypeAndRevisions< QQmlTypeNotAvailable, void > (const char *uri, int versionMajor, const QMetaObject *classInfoMetaObject, QList< 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, QList< 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 *lookup, QObject *object, QV4::ExecutionEngine *v4)
template<bool StrictType = false>
static PropertyResult storeObjectProperty (QV4::Lookup *lookup, QObject *object, void *value)
template<typename Op>
static PropertyResult changeFallbackProperty (QV4::Lookup *lookup, QObject *object, Op op)
static PropertyResult storeFallbackProperty (QV4::Lookup *lookup, QObject *object, void *value)
static PropertyResult resetFallbackProperty (QV4::Lookup *lookup, QObject *object, 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)
template<QV4::Lookup::Call FallbackCall>
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 void throwIsNotAFunctionError (const AOTCompiledContext *aotContext, QV4::Lookup *lookup, const QString &object)
static void 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, QList< int > *qmlTypeIds, const QMetaObject *extension, bool)

Typedef Documentation

◆ AutoParentFunction

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

Definition at line 476 of file qqmlprivate.h.

◆ CreateIntoFunction

Definition at line 224 of file qqmlprivate.h.

◆ CreateParentFunction

Definition at line 226 of file qqmlprivate.h.

◆ CreateSingletonFunction

Definition at line 225 of file qqmlprivate.h.

◆ CreateValueTypeFunction

Definition at line 227 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 167 of file qqmlprivate.h.

◆ QmlUnitCacheLookupFunction

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

Definition at line 874 of file qqmlprivate.h.

◆ QQmlAttachedPropertiesFunc

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

Definition at line 52 of file qqmlprivate.h.

Enumeration Type Documentation

◆ AutoParentResult

Enumerator
Parented 
IncompatibleObject 
IncompatibleParent 

Definition at line 475 of file qqmlprivate.h.

◆ LookupType [1/2]

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

Definition at line 1780 of file qqml.cpp.

◆ LookupType [2/2]

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

Definition at line 1780 of file qqml.cpp.

◆ ObjectLookupResult [1/2]

Enumerator
Failure 
Object 
Fallback 
Failure 
Object 
Fallback 

Definition at line 1710 of file qqml.cpp.

◆ ObjectLookupResult [2/2]

Enumerator
Failure 
Object 
Fallback 
Failure 
Object 
Fallback 

Definition at line 1710 of file qqml.cpp.

◆ PropertyResult [1/2]

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

Definition at line 1330 of file qqml.cpp.

◆ PropertyResult [2/2]

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

Definition at line 1330 of file qqml.cpp.

◆ QmlRegistrationWarning

Enumerator
UnconstructibleType 
UnconstructibleSingleton 
NonQObjectWithAtached 

Definition at line 1290 of file qqmlprivate.h.

◆ RegistrationType

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

Definition at line 880 of file qqmlprivate.h.

◆ SingletonConstructionMode

Enumerator
None 
Constructor 
Factory 
FactoryWrapper 
ExplicitNone 

Definition at line 132 of file qqmlprivate.h.

◆ ValueTypeCreationMethod

Enumerator
None 
Construct 
Structured 

Definition at line 478 of file qqmlprivate.h.

Function Documentation

◆ attachedPropertiesFunc()

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

Definition at line 464 of file qqmlprivate.h.

◆ attachedPropertiesMetaObject()

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

Definition at line 470 of file qqmlprivate.h.

◆ boolClassInfo()

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

Definition at line 950 of file qqmlprivate.h.

◆ callArrowFunction()

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

Definition at line 2212 of file qqml.cpp.

◆ callQObjectMethod()

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

Definition at line 2173 of file qqml.cpp.

◆ callQObjectMethodAsVariant()

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

Definition at line 2148 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 2137 of file qqml.cpp.

◆ canHoldVoid()

bool QQmlPrivate::canHoldVoid ( QMetaType type)
static

Definition at line 1604 of file qqml.cpp.

◆ captureFallbackProperty()

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

Definition at line 1299 of file qqml.cpp.

◆ captureObjectProperty()

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

Definition at line 1310 of file qqml.cpp.

◆ changeFallbackProperty()

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

Definition at line 1528 of file qqml.cpp.

◆ changeObjectProperty()

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

Definition at line 1491 of file qqml.cpp.

◆ classInfo()

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

Definition at line 934 of file qqmlprivate.h.

◆ compositeListMetaType() [1/2]

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

Definition at line 219 of file qqml.cpp.

◆ compositeListMetaType() [2/2]

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

Definition at line 213 of file qqml.cpp.

◆ compositeMetaType() [1/2]

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

Definition at line 205 of file qqml.cpp.

◆ compositeMetaType() [2/2]

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

Definition at line 199 of file qqml.cpp.

◆ createInto()

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

Definition at line 204 of file qqmlprivate.h.

◆ createParent()

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

Definition at line 222 of file qqmlprivate.h.

◆ createSingletonInstance()

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

Definition at line 207 of file qqmlprivate.h.

References Constructor, Factory, and FactoryWrapper.

◆ findFallbackPropertyQmlData()

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

Definition at line 1393 of file qqml.cpp.

◆ findObjectPropertyQmlData()

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

Definition at line 1339 of file qqml.cpp.

◆ indexOfOwnClassInfo()

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

Definition at line 918 of file qqmlprivate.h.

◆ inherits()

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

Definition at line 1321 of file qqml.cpp.

◆ initObjectLookup() [1/2]

template<QV4::Lookup::Call FallbackCall>
ObjectLookupResult QQmlPrivate::initObjectLookup ( const AOTCompiledContext * aotContext,
QV4::Lookup * lookup,
QObject * object )
static

Definition at line 1717 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 1782 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 2666 of file qqml.cpp.

◆ initValueLookup() [1/2]

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

Definition at line 3133 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 1809 of file qqml.cpp.

◆ isEnumUnderlyingType()

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

Definition at line 1569 of file qqml.cpp.

◆ isTypeCompatible()

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

Definition at line 1612 of file qqml.cpp.

◆ isUndefined()

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

Definition at line 1931 of file qqml.cpp.

◆ iterateVariant()

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

Definition at line 1222 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 966 of file qjsprimitivevalue.h.

◆ jsTypedFunctionArgument()

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

Definition at line 2131 of file qqml.cpp.

◆ loadFallbackAsVariant()

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

Definition at line 1465 of file qqml.cpp.

◆ loadFallbackProperty()

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

Definition at line 1409 of file qqml.cpp.

◆ loadObjectAsVariant()

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

Definition at line 1442 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 1358 of file qqml.cpp.

◆ markPointer()

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

Definition at line 1212 of file qqml.cpp.

◆ metaTypeForNamespace()

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

Definition at line 1264 of file qqmlprivate.h.

◆ propertyCapture()

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

Definition at line 1176 of file qqml.cpp.

◆ qdeclarativeelement_destructor()

void QQmlPrivate::qdeclarativeelement_destructor ( QObject * o)

Definition at line 205 of file qqmlengine.cpp.

◆ qmlExtendedObject()

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

Definition at line 154 of file qqml.cpp.

◆ qmlregister()

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

Definition at line 937 of file qqml.cpp.

◆ qmlRegisterSequenceAndRevisions()

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

Definition at line 1242 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,
QList< int > * qmlTypeIds,
const QMetaObject * extension )

Definition at line 1169 of file qqmlprivate.h.

References SingletonAndRevisionsRegistration.

◆ qmlRegisterTypeAndRevisions()

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

Definition at line 1197 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,
QList< int > * qmlTypeIds,
const QMetaObject * extension,
bool  )

Definition at line 1123 of file qqml.cpp.

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

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

Definition at line 1123 of file qqml.cpp.

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

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

Definition at line 1123 of file qqml.cpp.

◆ qmlRegistrationWarning()

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

Definition at line 173 of file qqml.cpp.

◆ qmlunregister()

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

Definition at line 1035 of file qqml.cpp.

◆ resetFallbackProperty()

PropertyResult QQmlPrivate::resetFallbackProperty ( QV4::Lookup * lookup,
QObject * object,
QV4::ExecutionEngine * v4 )
static

Definition at line 1551 of file qqml.cpp.

◆ resetObjectProperty()

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

Definition at line 1505 of file qqml.cpp.

◆ resetValueProperty()

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

Definition at line 3057 of file qqml.cpp.

References OK.

◆ resolveQObjectMethodOverload()

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

Definition at line 2290 of file qqml.cpp.

◆ revisionClassInfo()

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

Definition at line 939 of file qqmlprivate.h.

◆ revisionClassInfos()

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

Definition at line 1067 of file qqml.cpp.

◆ singletonConstructionMode()

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

Definition at line 187 of file qqmlprivate.h.

References Constructor, ExplicitNone, Factory, FactoryWrapper, and None.

◆ storeFallbackAsVariant()

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

Definition at line 1682 of file qqml.cpp.

◆ storeFallbackProperty()

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

Definition at line 1542 of file qqml.cpp.

◆ storeObjectAsVariant()

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

Definition at line 1650 of file qqml.cpp.

◆ storeObjectProperty()

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

Definition at line 1520 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 3075 of file qqml.cpp.

References NeedsInit.

◆ storeValueProperty()

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

Definition at line 3047 of file qqml.cpp.

References OK.

◆ throwIsNotAFunctionError()

void QQmlPrivate::throwIsNotAFunctionError ( const AOTCompiledContext * aotContext,
QV4::Lookup * lookup,
const QString & object )
static

Definition at line 2258 of file qqml.cpp.

◆ tryEnsureMethodsCache()

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

Definition at line 2323 of file qqml.cpp.

◆ writeBackFallbackAsVariant()

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

Definition at line 1478 of file qqml.cpp.

◆ writeBackFallbackProperty()

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

Definition at line 1429 of file qqml.cpp.

◆ writeBackObjectAsVariant()

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

Definition at line 1454 of file qqml.cpp.

◆ writeBackObjectProperty()

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

Definition at line 1376 of file qqml.cpp.