#include <qqmlpropertycache_p.h>
|
| QQmlPropertyCache ()=default |
| ~QQmlPropertyCache () |
void | update (const QMetaObject *) |
void | invalidate (const QMetaObject *) |
QQmlPropertyCache::Ptr | copy () const |
QQmlPropertyCache::Ptr | copyAndAppend (const QMetaObject *, QTypeRevision typeVersion, QQmlPropertyData::Flags propertyFlags=QQmlPropertyData::Flags(), QQmlPropertyData::Flags methodFlags=QQmlPropertyData::Flags(), QQmlPropertyData::Flags signalFlags=QQmlPropertyData::Flags()) const |
QQmlPropertyCache::Ptr | copyAndReserve (int propertyCount, int methodCount, int signalCount, int enumCount) const |
OverrideResult | appendAlias (const QString &, QQmlPropertyData::Flags flags, int coreIndex, QMetaType propType, QTypeRevision version, int notifyIndex, int encodedTargetIndex) |
void | appendSignal (const QString &, QQmlPropertyData::Flags, int coreIndex, const QMetaType *types=nullptr, const QList< QByteArray > &names=QList< QByteArray >()) |
void | appendMethod (const QString &, QQmlPropertyData::Flags flags, int coreIndex, QMetaType returnType, const QList< QByteArray > &names, const QVector< QMetaType > ¶meterTypes) |
void | appendEnum (const QString &, const QVector< QQmlEnumValue > &) |
const QMetaObject * | metaObject () const |
const QMetaObject * | createMetaObject () const |
const QMetaObject * | firstCppMetaObject () const |
template<typename K> |
const QQmlPropertyData * | property (const K &key, QObject *object, const QQmlRefPointer< QQmlContextData > &context) const |
const QQmlPropertyData * | property (int) const |
const QQmlPropertyData * | maybeUnresolvedProperty (int) const |
const QQmlPropertyData * | method (int) const |
const QQmlPropertyData * | signal (int index) const |
QQmlEnumData * | qmlEnum (int) const |
int | methodIndexToSignalIndex (int) const |
QString | defaultPropertyName () const |
const QQmlPropertyData * | defaultProperty () const |
const QQmlPropertyCache::ConstPtr & | parent () const |
void | setParent (QQmlPropertyCache::ConstPtr newParent) |
const QQmlPropertyData * | overrideData (const QQmlPropertyData *) const |
bool | isAllowedInRevision (const QQmlPropertyData *) const |
int | originalClone (int index) const |
QList< QByteArray > | signalParameterNames (int index) const |
const char * | className () const |
int | propertyCount () const |
int | ownPropertyCount () const |
int | propertyOffset () const |
int | methodCount () const |
int | ownMethodCount () const |
int | methodOffset () const |
int | signalCount () const |
int | ownSignalCount () const |
int | signalOffset () const |
int | qmlEnumCount () const |
void | toMetaObjectBuilder (QMetaObjectBuilder &) const |
bool | callJSFactoryMethod (QObject *object, void **args) const |
QByteArray | checksum (QHash< quintptr, QByteArray > *checksums, bool *ok) const |
QTypeRevision | allowedRevision (int index) const |
void | setAllowedRevision (int index, QTypeRevision allowed) |
void | release () const |
| QQmlRefCount () |
void | addref () const |
int | count () const |
|
static Ptr | createStandalone (const QMetaObject *, QTypeRevision metaObjectRevision=QTypeRevision::zero()) |
| Creates a standalone QQmlPropertyCache of metaObject.
|
static const QQmlPropertyData * | property (QObject *, QStringView, const QQmlRefPointer< QQmlContextData > &, QQmlPropertyData *) |
static const QQmlPropertyData * | property (QObject *, const QLatin1String &, const QQmlRefPointer< QQmlContextData > &, QQmlPropertyData *) |
static const QQmlPropertyData * | property (QObject *, const QV4::String *, const QQmlRefPointer< QQmlContextData > &, QQmlPropertyData *) |
static int | originalClone (const QObject *, int index) |
static QString | signalParameterStringForJS (const QList< QByteArray > ¶meterNameList, QString *errorString=nullptr) |
static bool | determineMetaObjectSizes (const QMetaObject &mo, int *fieldCount, int *stringCount) |
static bool | addToHash (QCryptographicHash &hash, const QMetaObject &mo) |
Definition at line 119 of file qqmlpropertycache_p.h.
◆ Ptr
◆ OverrideResult
◆ QQmlPropertyCache()
QQmlPropertyCache::QQmlPropertyCache |
( |
| ) |
|
|
default |
◆ ~QQmlPropertyCache()
QQmlPropertyCache::~QQmlPropertyCache |
( |
| ) |
|
◆ addToHash()
◆ allowedRevision()
QTypeRevision QQmlPropertyCache::allowedRevision |
( |
int | index | ) |
const |
|
inline |
◆ appendAlias()
◆ appendEnum()
◆ appendMethod()
◆ appendSignal()
◆ callJSFactoryMethod()
bool QQmlPropertyCache::callJSFactoryMethod |
( |
QObject * | object, |
|
|
void ** | args ) const |
|
inline |
◆ checksum()
◆ className()
const char * QQmlPropertyCache::className |
( |
| ) |
const |
◆ copy()
◆ copyAndAppend()
◆ copyAndReserve()
QQmlPropertyCache::Ptr QQmlPropertyCache::copyAndReserve |
( |
int | propertyCount, |
|
|
int | methodCount, |
|
|
int | signalCount, |
|
|
int | enumCount ) const |
◆ createMetaObject()
const QMetaObject * QQmlPropertyCache::createMetaObject |
( |
| ) |
const |
◆ createStandalone()
◆ defaultProperty()
◆ defaultPropertyName()
QString QQmlPropertyCache::defaultPropertyName |
( |
| ) |
const |
|
inline |
◆ determineMetaObjectSizes()
bool QQmlPropertyCache::determineMetaObjectSizes |
( |
const QMetaObject & | mo, |
|
|
int * | fieldCount, |
|
|
int * | stringCount ) |
|
static |
◆ firstCppMetaObject()
const QMetaObject * QQmlPropertyCache::firstCppMetaObject |
( |
| ) |
const |
|
inline |
◆ invalidate()
invalidates and updates the PropertyCache if the QMetaObject has changed. This function is used in the tooling to update dynamic properties.
Definition at line 585 of file qqmlpropertycache.cpp.
◆ isAllowedInRevision()
bool QQmlPropertyCache::isAllowedInRevision |
( |
const QQmlPropertyData * | data | ) |
const |
|
inline |
◆ maybeUnresolvedProperty()
const QQmlPropertyData * QQmlPropertyCache::maybeUnresolvedProperty |
( |
int | index | ) |
const |
◆ metaObject()
const QMetaObject * QQmlPropertyCache::metaObject |
( |
| ) |
const |
|
inline |
◆ method()
◆ methodCount()
int QQmlPropertyCache::methodCount |
( |
| ) |
const |
|
inline |
◆ methodIndexToSignalIndex()
int QQmlPropertyCache::methodIndexToSignalIndex |
( |
int | index | ) |
const |
|
inline |
◆ methodOffset()
int QQmlPropertyCache::methodOffset |
( |
| ) |
const |
|
inline |
◆ originalClone() [1/2]
int QQmlPropertyCache::originalClone |
( |
const QObject * | object, |
|
|
int | index ) |
|
static |
◆ originalClone() [2/2]
int QQmlPropertyCache::originalClone |
( |
int | index | ) |
const |
◆ overrideData()
◆ ownMethodCount()
int QQmlPropertyCache::ownMethodCount |
( |
| ) |
const |
|
inline |
◆ ownPropertyCount()
int QQmlPropertyCache::ownPropertyCount |
( |
| ) |
const |
|
inline |
◆ ownSignalCount()
int QQmlPropertyCache::ownSignalCount |
( |
| ) |
const |
|
inline |
◆ parent()
◆ property() [1/5]
◆ property() [2/5]
◆ property() [3/5]
◆ property() [4/5]
◆ property() [5/5]
◆ propertyCount()
int QQmlPropertyCache::propertyCount |
( |
| ) |
const |
|
inline |
◆ propertyOffset()
int QQmlPropertyCache::propertyOffset |
( |
| ) |
const |
|
inline |
◆ qmlEnum()
QQmlEnumData * QQmlPropertyCache::qmlEnum |
( |
int | index | ) |
const |
|
inline |
◆ qmlEnumCount()
int QQmlPropertyCache::qmlEnumCount |
( |
| ) |
const |
|
inline |
◆ setAllowedRevision()
◆ setParent()
◆ signal()
◆ signalCount()
int QQmlPropertyCache::signalCount |
( |
| ) |
const |
|
inline |
◆ signalOffset()
int QQmlPropertyCache::signalOffset |
( |
| ) |
const |
|
inline |
◆ signalParameterNames()
QList< QByteArray > QQmlPropertyCache::signalParameterNames |
( |
int | index | ) |
const |
◆ signalParameterStringForJS()
◆ toMetaObjectBuilder()
◆ update()
◆ QQmlCompiler
friend class QQmlCompiler |
|
friend |
◆ QQmlComponentAndAliasResolver
◆ QQmlEnginePrivate
◆ QQmlMetaObject
◆ QQmlPropertyCacheAliasCreator
◆ QQmlPropertyCacheCreator
The documentation for this class was generated from the following files: