Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QtPrivate::CompatPropertySafePoint Struct Reference

#include <qproperty_p.h>

+ Collaboration diagram for QtPrivate::CompatPropertySafePoint:

Public Member Functions

Q_CORE_EXPORT CompatPropertySafePoint (QBindingStatus *status, QUntypedPropertyData *property)
 
 ~CompatPropertySafePoint ()
 

Public Attributes

QUntypedPropertyDataproperty
 
CompatPropertySafePointpreviousState = nullptr
 
CompatPropertySafePoint ** currentState = nullptr
 
QtPrivate::BindingEvaluationState ** currentlyEvaluatingBindingList = nullptr
 
QtPrivate::BindingEvaluationStatebindingState = nullptr
 

Detailed Description

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 209 of file qproperty_p.h.

Constructor & Destructor Documentation

◆ CompatPropertySafePoint()

CompatPropertySafePoint::CompatPropertySafePoint ( QBindingStatus status,
QUntypedPropertyData property 
)

◆ ~CompatPropertySafePoint()

QtPrivate::CompatPropertySafePoint::~CompatPropertySafePoint ( )
inline

Definition at line 212 of file qproperty_p.h.

Member Data Documentation

◆ bindingState

QtPrivate::BindingEvaluationState* QtPrivate::CompatPropertySafePoint::bindingState = nullptr

Definition at line 221 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ currentlyEvaluatingBindingList

QtPrivate::BindingEvaluationState** QtPrivate::CompatPropertySafePoint::currentlyEvaluatingBindingList = nullptr

Definition at line 220 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ currentState

CompatPropertySafePoint** QtPrivate::CompatPropertySafePoint::currentState = nullptr

Definition at line 219 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ previousState

CompatPropertySafePoint* QtPrivate::CompatPropertySafePoint::previousState = nullptr

Definition at line 218 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ property

QUntypedPropertyData* QtPrivate::CompatPropertySafePoint::property

Definition at line 217 of file qproperty_p.h.


The documentation for this struct was generated from the following files: