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
QQuickPropertyChangesPrivate Class Reference
+ Inheritance diagram for QQuickPropertyChangesPrivate:
+ Collaboration diagram for QQuickPropertyChangesPrivate:

Classes

class  ExpressionChange
 

Public Member Functions

 QQuickPropertyChangesPrivate ()
 
void decode ()
 
void decodeBinding (const QString &propertyPrefix, const QQmlRefPointer< QV4::ExecutableCompilationUnit > &qmlUnit, const QV4::CompiledData::Binding *binding)
 
QQmlProperty property (const QString &)
 
- Public Member Functions inherited from QQuickStateOperationPrivate
 QQuickStateOperationPrivate ()
 
- Public Member Functions inherited from QObjectPrivate
void ensureExtraData ()
 
 QObjectPrivate (int version=QObjectPrivateVersion)
 
virtual ~QObjectPrivate ()
 
void deleteChildren ()
 
void clearBindingStorage ()
 
void checkForIncompatibleLibraryVersion (int version) const
 
void setParent_helper (QObject *)
 
void moveToThread_helper ()
 
void setThreadData_helper (QThreadData *currentData, QThreadData *targetData, QBindingStatus *status)
 
QObjectList receiverList (const char *signal) const
 
void ensureConnectionData ()
 
void addConnection (int signal, Connection *c)
 
int signalIndex (const char *signalName, const QMetaObject **meta=nullptr) const
 
bool isSignalConnected (uint signalIdx, bool checkDeclarative=true) const
 
bool maybeSignalConnected (uint signalIndex) const
 
bool isDeclarativeSignalConnected (uint signalIdx) const
 
void connectNotify (const QMetaMethod &signal)
 
void disconnectNotify (const QMetaMethod &signal)
 
void reinitBindingStorageAfterThreadMove ()
 
virtual std::string flagsForDumping () const
 
virtual void writeToDebugStream (QDebug &) const
 
QtPrivate::QPropertyAdaptorSlotObjectgetPropertyAdaptorSlotObject (const QMetaProperty &property)
 
- Public Member Functions inherited from QObjectData
 QObjectData ()=default
 
virtual ~QObjectData ()=0
 
QMetaObjectdynamicMetaObject () const
 

Public Attributes

QPointer< QObjectobject
 
QList< const QV4::CompiledData::Binding * > bindings
 
QQmlRefPointer< QV4::ExecutableCompilationUnitcompilationUnit
 
bool decoded: 1
 
bool restore: 1
 
bool isExplicit: 1
 
QList< QPair< QString, QVariant > > properties
 
QList< ExpressionChangeexpressions
 
QList< QQuickReplaceSignalHandler * > signalReplacements
 
- Public Attributes inherited from QQuickStateOperationPrivate
QQuickStatem_state
 
- Public Attributes inherited from QObjectPrivate
ExtraDataextraData
 
QAtomicPointer< QThreadDatathreadData
 
QAtomicPointer< ConnectionDataconnections
 
union { 
 
   QObject *   currentChildBeingDeleted 
 
   QAbstractDeclarativeData *   declarativeData 
 
};  
 
QAtomicPointer< QtSharedPointer::ExternalRefCountDatasharedRefcount
 
- Public Attributes inherited from QObjectData
QObjectq_ptr
 
QObjectparent
 
QObjectList children
 
uint isWidget: 1
 
uint blockSig: 1
 
uint wasDeleted: 1
 
uint isDeletingChildren: 1
 
uint sendChildEvents: 1
 
uint receiveChildEvents: 1
 
uint isWindow: 1
 
uint deleteLaterCalled: 1
 
uint isQuickItem: 1
 
uint willBeWidget: 1
 
uint wasWidget: 1
 
uint receiveParentEvents: 1
 
uint unused: 20
 
QAtomicInt postedEvents
 
QDynamicMetaObjectDatametaObject
 
QBindingStorage bindingStorage
 

Additional Inherited Members

- Public Types inherited from QObjectPrivate
typedef void(* StaticMetaCallFunction) (QObject *, QMetaObject::Call, int, void **)
 
using ConnectionDataPointer = QExplicitlySharedDataPointer<ConnectionData>
 
- Static Public Member Functions inherited from QObjectPrivate
static bool removeConnection (Connection *c)
 
static QObjectPrivateget (QObject *o)
 
static const QObjectPrivateget (const QObject *o)
 
template<typename Func1 , typename Func2 >
static QMetaObject::Connection connect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot, Qt::ConnectionType type=Qt::AutoConnection)
 
template<typename Func1 , typename Func2 >
static bool disconnect (const typename QtPrivate::FunctionPointer< Func1 >::Object *sender, Func1 signal, const typename QtPrivate::FunctionPointer< Func2 >::Object *receiverPrivate, Func2 slot)
 
static QMetaObject::Connection connectImpl (const QObject *sender, int signal_index, const QObject *receiver, void **slot, QtPrivate::QSlotObjectBase *slotObj, int type, const int *types, const QMetaObject *senderMetaObject)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static QMetaObject::Connection connect (const QObject *sender, int signal_index, const QObject *receiver, QtPrivate::QSlotObjectBase *slotObj, Qt::ConnectionType type)
 
static bool disconnect (const QObject *sender, int signal_index, void **slot)
 
static bool disconnect (const QObject *sender, int signal_index, const QObject *receiver, void **slot)
 

Detailed Description

Definition at line 173 of file qquickpropertychanges.cpp.

Constructor & Destructor Documentation

◆ QQuickPropertyChangesPrivate()

QQuickPropertyChangesPrivate::QQuickPropertyChangesPrivate ( )
inline

Definition at line 177 of file qquickpropertychanges.cpp.

Member Function Documentation

◆ decode()

void QQuickPropertyChangesPrivate::decode ( )

Definition at line 238 of file qquickpropertychanges.cpp.

References bindings, QList< T >::clear(), compilationUnit, decodeBinding(), and decoded.

+ Here is the call graph for this function:

◆ decodeBinding()

void QQuickPropertyChangesPrivate::decodeBinding ( const QString & propertyPrefix,
const QQmlRefPointer< QV4::ExecutableCompilationUnit > & qmlUnit,
const QV4::CompiledData::Binding * binding )

Definition at line 251 of file qquickpropertychanges.cpp.

References QQmlRefPointer< T >::adopt(), QV4::ExecutableCompilationUnit::bindingValueAsNumber(), QV4::ExecutableCompilationUnit::bindingValueAsString(), compilationUnit, decodeBinding(), QQuickReplaceSignalHandler::expression, expressions, QVariant::fromValue(), QQmlPropertyPrivate::get(), QQmlData::get(), QQmlContextData::get(), i, QQmlBinding::Invalid, QQmlSignalNames::isHandlerName(), QV4::CompiledData::Binding::isSignalHandler(), QQmlProperty::isSignalProperty(), QV4::CompiledData::Binding::isTranslationBinding(), line, QQmlProperty::object, QV4::ExecutableCompilationUnit::objectAt(), properties, property, QQuickReplaceSignalHandler::property, QV4::CompiledData::Binding::propertyNameIndex, qMakePair(), qmlContext(), QV4::CompilationUnitRuntimeData::runtimeFunctions, signalReplacements, QV4::ExecutableCompilationUnit::stringAt(), QV4::CompiledData::Binding::type(), QV4::CompiledData::Binding::Type_AttachedProperty, QV4::CompiledData::Binding::Type_Boolean, QV4::CompiledData::Binding::Type_GroupProperty, QV4::CompiledData::Binding::Type_Null, QV4::CompiledData::Binding::Type_Number, QV4::CompiledData::Binding::Type_Script, QV4::CompiledData::Binding::Type_String, QV4::CompiledData::Binding::Type_Translation, QV4::CompiledData::Binding::Type_TranslationById, url, QUrl::url(), QV4::CompiledData::Binding::value, QV4::CompiledData::Binding::valueAsBoolean(), and var.

Referenced by decode(), and decodeBinding().

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

◆ property()

QQmlProperty QQuickPropertyChangesPrivate::property ( const QString & property)

Definition at line 407 of file qquickpropertychanges.cpp.

References QQmlPropertyPrivate::AllowId, QQmlPropertyPrivate::AllowSignal, QQmlPropertyPrivate::create(), QQmlData::get(), QQmlProperty::isValid(), QQmlProperty::isWritable(), property, qmlWarning(), QQmlProperty::SignalProperty, and QQmlProperty::type().

+ Here is the call graph for this function:

Member Data Documentation

◆ bindings

QList<const QV4::CompiledData::Binding *> QQuickPropertyChangesPrivate::bindings

◆ compilationUnit

QQmlRefPointer<QV4::ExecutableCompilationUnit> QQuickPropertyChangesPrivate::compilationUnit

Definition at line 182 of file qquickpropertychanges.cpp.

Referenced by decode(), and decodeBinding().

◆ decoded

bool QQuickPropertyChangesPrivate::decoded

Definition at line 184 of file qquickpropertychanges.cpp.

Referenced by decode().

◆ expressions

QList<ExpressionChange> QQuickPropertyChangesPrivate::expressions

Definition at line 211 of file qquickpropertychanges.cpp.

Referenced by decodeBinding().

◆ isExplicit

bool QQuickPropertyChangesPrivate::isExplicit

Definition at line 186 of file qquickpropertychanges.cpp.

◆ object

QPointer<QObject> QQuickPropertyChangesPrivate::object

Definition at line 180 of file qquickpropertychanges.cpp.

◆ properties

QList<QPair<QString, QVariant> > QQuickPropertyChangesPrivate::properties

Definition at line 210 of file qquickpropertychanges.cpp.

Referenced by decodeBinding().

◆ restore

bool QQuickPropertyChangesPrivate::restore

Definition at line 185 of file qquickpropertychanges.cpp.

◆ signalReplacements

QList<QQuickReplaceSignalHandler*> QQuickPropertyChangesPrivate::signalReplacements

Definition at line 212 of file qquickpropertychanges.cpp.

Referenced by decodeBinding().


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