![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
void | addProperty (const QPropertyBindingData *bindingData, QUntypedPropertyData *propertyData) |
void | evaluateBindings (PendingBindingObserverList &bindingObservers, qsizetype index, QBindingStatus *status) |
void | notify (qsizetype index) |
Public Attributes | |
int | ref = 0 |
QPropertyDelayedNotifications * | next = nullptr |
qsizetype | used = 0 |
QPropertyProxyBindingData | delayedProperties [size] |
Static Public Attributes | |
static constexpr auto | PageSize = 4096 |
static constexpr qsizetype | size = (PageSize - 3*sizeof(void *))/sizeof(QPropertyProxyBindingData) |
QPropertyDelayedNotifications is used to manage delayed notifications in grouped property updates. It acts as a pool allocator for QPropertyProxyBindingData, and has methods to manage delayed notifications.
Definition at line 67 of file qproperty.cpp.
|
inline |
This method is called when a property attempts to notify its observers while inside of a property update group. Instead of actually notifying, it replaces bindingData's d_ptr with a QPropertyProxyBindingData. bindingData and propertyData are the binding data and property data of the property whose notify call gets delayed.
Definition at line 89 of file qproperty.cpp.
References QtPrivate::QPropertyBindingData::BindingBit, QtPrivate::QPropertyBindingData::DelayedNotificationBit, delayedProperties, QtPrivate::QPropertyBindingData::isNotificationDelayed(), next, and Q_ASSERT.
|
inline |
Called in Qt::endPropertyUpdateGroup. For the QPropertyProxyBindingData at position index, it \list
Definition at line 124 of file qproperty.cpp.
References QtPrivate::QPropertyBindingData::DelayedNotificationBit, delayedProperties, QPropertyObserverPointer::evaluateBindings(), and Q_ASSERT.
Called in Qt::endPropertyUpdateGroup. For the QPropertyProxyBindingData at position i, it \list
Definition at line 152 of file qproperty.cpp.
References QtPrivate::QPropertyBindingData::BindingBit, and delayedProperties.
QPropertyProxyBindingData QPropertyDelayedNotifications::delayedProperties[size] |
Definition at line 78 of file qproperty.cpp.
Referenced by addProperty(), evaluateBindings(), and notify().
QPropertyDelayedNotifications* QPropertyDelayedNotifications::next = nullptr |
Definition at line 73 of file qproperty.cpp.
Referenced by addProperty().
|
inlinestaticconstexpr |
Definition at line 71 of file qproperty.cpp.
int QPropertyDelayedNotifications::ref = 0 |
Definition at line 72 of file qproperty.cpp.
Referenced by QProperty< T >::beginPropertyUpdateGroup().
|
staticconstexpr |
Definition at line 77 of file qproperty.cpp.
qsizetype QPropertyDelayedNotifications::used = 0 |
Definition at line 74 of file qproperty.cpp.