![]() |
Qt 6.x
The Qt SDK
|
#include <qpropertyprivate.h>
Collaboration diagram for QtPrivate::QPropertyBindingData:Public Member Functions | |
| QPropertyBindingData ()=default | |
| QPropertyBindingData (QPropertyBindingData &&other) | |
| QPropertyBindingData & | operator= (QPropertyBindingData &&other)=delete |
| ~QPropertyBindingData () | |
| bool | hasBinding () const |
| bool | isNotificationDelayed () const |
| QUntypedPropertyBinding | setBinding (const QUntypedPropertyBinding &newBinding, QUntypedPropertyData *propertyDataPtr, QPropertyObserverCallback staticObserverCallback=nullptr, QPropertyBindingWrapper bindingWrapper=nullptr) |
| QPropertyBindingPrivate * | binding () const |
| void | evaluateIfDirty (const QUntypedPropertyData *) const |
| void | removeBinding () |
| void | registerWithCurrentlyEvaluatingBinding (QtPrivate::BindingEvaluationState *currentBinding) const |
| void | registerWithCurrentlyEvaluatingBinding () const |
| void | notifyObservers (QUntypedPropertyData *propertyDataPtr) const |
| void | notifyObservers (QUntypedPropertyData *propertyDataPtr, QBindingStorage *storage) const |
Static Public Attributes | |
| static constexpr quintptr | BindingBit = 0x1 |
| static constexpr quintptr | DelayedNotificationBit = 0x2 |
Friends | |
| struct | QT_PREPEND_NAMESPACE (QPropertyBindingDataPointer) |
| class | QT_PREPEND_NAMESPACE (QQmlPropertyBinding) |
| struct | QT_PREPEND_NAMESPACE (QPropertyDelayedNotifications) |
| template<typename Class , typename T , auto Offset, auto Setter, auto Signal, auto Getter> | |
| class | QT_PREPEND_NAMESPACE (QObjectCompatProperty) |
A property normally consists of the actual property value and metadata for the binding system. QPropertyBindingData is the latter part. It stores a pointer to either
Definition at line 232 of file qpropertyprivate.h.
|
default |
| QPropertyBindingData::QPropertyBindingData | ( | QPropertyBindingData && | other | ) |
Definition at line 533 of file qproperty.cpp.
References QPropertyBindingDataPointer::fixupAfterMove().
Here is the call graph for this function:| QPropertyBindingData::~QPropertyBindingData | ( | ) |
Definition at line 467 of file qproperty.cpp.
References binding(), isNotificationDelayed(), next, QPropertyProxyBindingData::originalBindingData, and QPropertyBindingPrivate::unlinkAndDeref().
Here is the call graph for this function:
|
inline |
Definition at line 264 of file qpropertyprivate.h.
References d.
Referenced by ~QPropertyBindingData(), QObjectBindableProperty< Class, T, Offset, Signal >::hasBinding(), QObjectCompatProperty< Class, T, Offset, Setter, Signal, Getter >::hasBinding(), and setBinding().
Here is the caller graph for this function:| void QPropertyBindingData::evaluateIfDirty | ( | const QUntypedPropertyData * | ) | const |
Definition at line 572 of file qproperty.cpp.
|
inline |
Definition at line 256 of file qpropertyprivate.h.
|
inline |
Definition at line 257 of file qpropertyprivate.h.
Referenced by ~QPropertyBindingData(), QPropertyDelayedNotifications::addProperty(), and notifyObservers().
Here is the caller graph for this function:| void QPropertyBindingData::notifyObservers | ( | QUntypedPropertyData * | propertyDataPtr | ) | const |
Definition at line 617 of file qproperty.cpp.
References notifyObservers().
Referenced by notifyObservers().
Here is the call graph for this function:
Here is the caller graph for this function:| void QPropertyBindingData::notifyObservers | ( | QUntypedPropertyData * | propertyDataPtr, |
| QBindingStorage * | storage | ||
| ) | const |
Definition at line 622 of file qproperty.cpp.
References isNotificationDelayed(), and storage.
Here is the call graph for this function:
|
delete |
| void QPropertyBindingData::registerWithCurrentlyEvaluatingBinding | ( | ) | const |
Definition at line 593 of file qproperty.cpp.
References bindingStatus, and QBindingStatus::currentlyEvaluatingBinding.
|
inline |
Definition at line 281 of file qpropertyprivate.h.
Referenced by QtPrivate::PropertyAdaptorSlotObjectHelpers::getter().
Here is the caller graph for this function:
|
inline |
Definition at line 275 of file qpropertyprivate.h.
Referenced by QtPrivate::PropertyAdaptorSlotObjectHelpers::setter(), QObjectBindableProperty< Class, T, Offset, Signal >::setValue(), and QObjectBindableProperty< Class, T, Offset, Signal >::setValue().
Here is the caller graph for this function:| QUntypedPropertyBinding QPropertyBindingData::setBinding | ( | const QUntypedPropertyBinding & | newBinding, |
| QUntypedPropertyData * | propertyDataPtr, | ||
| QPropertyObserverCallback | staticObserverCallback = nullptr, |
||
| QtPrivate::QPropertyBindingWrapper | guardCallback = nullptr |
||
| ) |
Definition at line 481 of file qproperty.cpp.
References QtPrivate::RefCounted::addRef(), binding(), BindingBit, QPropertyBindingError::BindingLoop, QPropertyBindingPrivatePtr::data(), QPropertyObserverPointer::ptr, QStringLiteral, and QPropertyBindingPrivate::setProperty().
Referenced by QObjectBindableProperty< Class, T, Offset, Signal >::setBinding(), QObjectCompatProperty< Class, T, Offset, Setter, Signal, Getter >::setBinding(), and QtPrivate::PropertyAdaptorSlotObjectHelpers::setBinding().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
|
friend |
|
friend |
|
friend |
|
inlinestaticconstexpr |
Definition at line 252 of file qpropertyprivate.h.
Referenced by QPropertyBindingDataPointer::addObserver(), QPropertyDelayedNotifications::addProperty(), QPropertyBindingDataPointer::fixupAfterMove(), QPropertyDelayedNotifications::notify(), and setBinding().
|
inlinestaticconstexpr |
Definition at line 254 of file qpropertyprivate.h.
Referenced by QPropertyDelayedNotifications::addProperty(), and QPropertyDelayedNotifications::evaluateBindings().