![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qproperty_p.h>
Public Member Functions | |
Q_CORE_EXPORT | CompatPropertySafePoint (QBindingStatus *status, QUntypedPropertyData *property) |
~CompatPropertySafePoint () | |
Public Attributes | |
QUntypedPropertyData * | property |
CompatPropertySafePoint * | previousState = nullptr |
CompatPropertySafePoint ** | currentState = nullptr |
QtPrivate::BindingEvaluationState ** | currentlyEvaluatingBindingList = nullptr |
QtPrivate::BindingEvaluationState * | bindingState = nullptr |
CompatPropertySafePoint needs to be constructed before the setter of a QObjectCompatProperty runs. It prevents spurious binding dependencies caused by reads of properties inside the compat property setter. Moreover, it ensures that we don't destroy bindings when using operator=
Definition at line 220 of file qproperty_p.h.
CompatPropertySafePoint::CompatPropertySafePoint | ( | QBindingStatus * | status, |
QUntypedPropertyData * | property ) |
Definition at line 552 of file qproperty.cpp.
References bindingState, currentlyEvaluatingBindingList, currentState, and previousState.
|
inline |
Definition at line 223 of file qproperty_p.h.
References bindingState, currentlyEvaluatingBindingList, currentState, and previousState.
QtPrivate::BindingEvaluationState* QtPrivate::CompatPropertySafePoint::bindingState = nullptr |
Definition at line 232 of file qproperty_p.h.
Referenced by CompatPropertySafePoint(), and ~CompatPropertySafePoint().
QtPrivate::BindingEvaluationState** QtPrivate::CompatPropertySafePoint::currentlyEvaluatingBindingList = nullptr |
Definition at line 231 of file qproperty_p.h.
Referenced by CompatPropertySafePoint(), and ~CompatPropertySafePoint().
CompatPropertySafePoint** QtPrivate::CompatPropertySafePoint::currentState = nullptr |
Definition at line 230 of file qproperty_p.h.
Referenced by CompatPropertySafePoint(), and ~CompatPropertySafePoint().
CompatPropertySafePoint* QtPrivate::CompatPropertySafePoint::previousState = nullptr |
Definition at line 229 of file qproperty_p.h.
Referenced by CompatPropertySafePoint(), and ~CompatPropertySafePoint().
QUntypedPropertyData* QtPrivate::CompatPropertySafePoint::property |
Definition at line 228 of file qproperty_p.h.