![]() |
Qt 6.x
The Qt SDK
|
#include <qproperty_p.h>
Inheritance diagram for QPropertyBindingPrivate:
Collaboration diagram for QPropertyBindingPrivate:Public Types | |
| enum | NotificationState : bool { Delayed , Sent } |
Static Public Member Functions | |
| static constexpr size_t | getSizeEnsuringAlignment () |
| static QPropertyBindingPrivate * | get (const QUntypedPropertyBinding &binding) |
| static QPropertyBindingPrivate * | currentlyEvaluatingBinding () |
| static void | destroyAndFreeMemory (QPropertyBindingPrivate *priv) |
Public Attributes | |
| size_t | dependencyObserverCount = 0 |
Public Attributes inherited from QtPrivate::RefCounted | |
| int | ref = 0 |
Protected Types | |
| using | DeclarativeErrorCallback = void(*)(QPropertyBindingPrivate *) |
Protected Attributes | ||
| QUntypedPropertyData * | propertyDataPtr = nullptr | |
| union { | ||
| QPropertyBindingSourceLocation location | ||
| struct { | ||
| std::byte declarativeExtraData [sizeof(QPropertyBindingSourceLocation) - sizeof(DeclarativeErrorCallback)] | ||
| DeclarativeErrorCallback errorCallBack | ||
| } | ||
| }; | ||
Friends | |
| struct | QPropertyBindingDataPointer |
| class | QPropertyBindingPrivatePtr |
Definition at line 226 of file qproperty_p.h.
|
protected |
Definition at line 270 of file qproperty_p.h.
| enum QPropertyBindingPrivate::NotificationState : bool |
| Enumerator | |
|---|---|
| Delayed | |
| Sent | |
Definition at line 375 of file qproperty_p.h.
|
inline |
Definition at line 301 of file qproperty_p.h.
| QPropertyBindingPrivate::~QPropertyBindingPrivate | ( | ) |
Definition at line 282 of file qproperty.cpp.
References QtPrivate::BindingFunctionVTable::destroy, getSizeEnsuringAlignment(), QtPrivate::BindingFunctionVTable::size, and QPropertyObserverPointer::unlink().
Here is the call graph for this function:
|
inline |
Definition at line 346 of file qproperty_p.h.
| QPropertyObserverPointer QPropertyBindingPrivate::allocateDependencyObserver_slow | ( | ) |
Definition at line 301 of file qproperty.cpp.
References dependencyObserverCount, and QScopedPointer< T, Cleanup >::reset().
Here is the call graph for this function:
|
inline |
Definition at line 365 of file qproperty_p.h.
References error.
| void QPropertyBindingPrivate::clearDependencyObservers | ( | ) |
Definition at line 291 of file qproperty.cpp.
References dependencyObserverCount, i, and qMin().
Referenced by QtPrivate::BindingEvaluationState::BindingEvaluationState(), and unlinkAndDeref().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 565 of file qproperty.cpp.
References QtPrivate::BindingEvaluationState::binding, bindingStatus, and QBindingStatus::currentlyEvaluatingBinding.
|
inlinestatic |
Definition at line 399 of file qproperty_p.h.
References priv().
Referenced by QPropertyBindingPrivatePtr::destroyAndFreeMemory(), QPropertyBindingPrivatePtr::reset(), and unlinkAndDeref().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 384 of file qproperty_p.h.
| bool QPropertyBindingPrivate::evaluateRecursive | ( | PendingBindingObserverList & | bindingObservers, |
| QBindingStatus * | status = nullptr |
||
| ) |
Definition at line 317 of file qproperty.cpp.
References bindingStatus, and evaluateRecursive_inline().
Here is the call graph for this function:
|
inline |
Definition at line 793 of file qproperty_p.h.
References QPropertyBindingError::BindingLoop, error, and getSizeEnsuringAlignment().
Referenced by evaluateRecursive().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 378 of file qproperty_p.h.
References QPropertyBindingPrivatePtr::data().
Referenced by BindingFixer::BindingFixer(), BindingFixer::~BindingFixer(), UntypedProxyProperty::bindingSetter(), QQmlObjectCreator::finalize(), QQmlPropertyBinding::isUndefined(), QQmlAnyBinding::operator=(), and QQmlAnyBinding::operator=().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticconstexpr |
Definition at line 284 of file qproperty_p.h.
Referenced by QUntypedPropertyBinding::QUntypedPropertyBinding(), ~QPropertyBindingPrivate(), QQmlPropertyBinding::create(), QQmlPropertyBinding::createFromBoundFunction(), QQmlPropertyBinding::createFromCodeString(), QQmlPropertyBinding::createFromScriptString(), QQmlPropertyBinding::doEvaluate(), evaluateRecursive_inline(), and QQmlPropertyBinding::jsExpression().
Here is the caller graph for this function:
|
inline |
Definition at line 394 of file qproperty_p.h.
References QtPrivate::BindingFunctionVTable::size.
Referenced by QQmlPropertyBinding::isUndefined().
Here is the caller graph for this function:
|
inline |
Definition at line 298 of file qproperty_p.h.
|
inline |
Definition at line 296 of file qproperty_p.h.
| QPropertyBindingPrivate::NotificationState QPropertyBindingPrivate::notifyNonRecursive | ( | ) |
Definition at line 332 of file qproperty.cpp.
References Delayed, QPropertyObserverPointer::noSelfDependencies(), QPropertyObserverPointer::notify(), propertyDataPtr, Q_ASSERT, Sent, and staticObserverCallback.
Referenced by notifyNonRecursive().
Here is the call graph for this function:
Here is the caller graph for this function:| void QPropertyBindingPrivate::notifyNonRecursive | ( | const PendingBindingObserverList & | bindingObservers | ) |
Definition at line 324 of file qproperty.cpp.
References notifyNonRecursive().
Referenced by QProperty< T >::endPropertyUpdateGroup().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 331 of file qproperty_p.h.
References QPropertyObserverPointer::ptr.
|
inline |
Definition at line 299 of file qproperty_p.h.
Referenced by UntypedProxyProperty::bindingSetter().
Here is the caller graph for this function:
|
inline |
Definition at line 381 of file qproperty_p.h.
|
inline |
Definition at line 313 of file qproperty_p.h.
Referenced by QtPrivate::QPropertyBindingData::setBinding().
Here is the caller graph for this function:
|
inline |
Definition at line 314 of file qproperty_p.h.
References Q_ASSERT.
|
inline |
Definition at line 297 of file qproperty_p.h.
|
inline |
Definition at line 356 of file qproperty_p.h.
|
inline |
Definition at line 337 of file qproperty_p.h.
References QPropertyObserverPointer::ptr.
| void QPropertyBindingPrivate::unlinkAndDeref | ( | ) |
Definition at line 309 of file qproperty.cpp.
References clearDependencyObservers(), destroyAndFreeMemory(), and propertyDataPtr.
Referenced by QtPrivate::QPropertyBindingData::~QPropertyBindingData().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 366 of file qproperty_p.h.
|
friend |
Definition at line 229 of file qproperty_p.h.
|
friend |
Definition at line 230 of file qproperty_p.h.
Referenced by QQmlPropertyBinding::create(), QQmlPropertyBinding::createFromBoundFunction(), QQmlPropertyBinding::createFromCodeString(), and QQmlPropertyBinding::createFromScriptString().
| union { ... } QPropertyBindingPrivate |
| std::byte QPropertyBindingPrivate::declarativeExtraData[sizeof(QPropertyBindingSourceLocation) - sizeof(DeclarativeErrorCallback)] |
Definition at line 274 of file qproperty_p.h.
| size_t QPropertyBindingPrivate::dependencyObserverCount = 0 |
Definition at line 294 of file qproperty_p.h.
Referenced by allocateDependencyObserver_slow(), and clearDependencyObservers().
| DeclarativeErrorCallback QPropertyBindingPrivate::errorCallBack |
Definition at line 275 of file qproperty_p.h.
| QPropertyBindingSourceLocation QPropertyBindingPrivate::location |
Definition at line 272 of file qproperty_p.h.
|
protected |
Definition at line 261 of file qproperty_p.h.
Referenced by notifyNonRecursive(), and unlinkAndDeref().
| QtPrivate::QPropertyBindingWrapper QPropertyBindingPrivate::staticBindingWrapper |
Definition at line 253 of file qproperty_p.h.
| QtPrivate::QPropertyObserverCallback QPropertyBindingPrivate::staticObserverCallback = nullptr |
Definition at line 252 of file qproperty_p.h.
Referenced by notifyNonRecursive().