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

Constructor & Destructor Documentation

◆ CompatPropertySafePoint()

CompatPropertySafePoint::CompatPropertySafePoint ( QBindingStatus * status,
QUntypedPropertyData * property )

◆ ~CompatPropertySafePoint()

QtPrivate::CompatPropertySafePoint::~CompatPropertySafePoint ( )
inline

Definition at line 222 of file qproperty_p.h.

Member Data Documentation

◆ bindingState

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

Definition at line 231 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ currentlyEvaluatingBindingList

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

Definition at line 230 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ currentState

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

Definition at line 229 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ previousState

CompatPropertySafePoint* QtPrivate::CompatPropertySafePoint::previousState = nullptr

Definition at line 228 of file qproperty_p.h.

Referenced by CompatPropertySafePoint().

◆ property

QUntypedPropertyData* QtPrivate::CompatPropertySafePoint::property

Definition at line 227 of file qproperty_p.h.


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