![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
void | addProperty (const QPropertyBindingData *bindingData, QUntypedPropertyData *propertyData) |
void | evaluateBindings (PendingBindingObserverList &bindingObservers, qsizetype index, QBindingStatus *status) |
void | notify (qsizetype index) |
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 69 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 91 of file qproperty.cpp.
References next.
|
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 91 of file qproperty.cpp.
|
inline |
Called in Qt::endPropertyUpdateGroup. For the QPropertyProxyBindingData at position index, it \list
Definition at line 126 of file qproperty.cpp.
References QPropertyBindingDataPointer::firstObserver().
|
inline |
Called in Qt::endPropertyUpdateGroup. For the QPropertyProxyBindingData at position index, it \list
Definition at line 126 of file qproperty.cpp.
Called in Qt::endPropertyUpdateGroup. For the QPropertyProxyBindingData at position i, it \list
Definition at line 154 of file qproperty.cpp.
Called in Qt::endPropertyUpdateGroup. For the QPropertyProxyBindingData at position i, it \list
Definition at line 154 of file qproperty.cpp.
QPropertyProxyBindingData QPropertyDelayedNotifications::delayedProperties |
Definition at line 80 of file qproperty.cpp.
QPropertyDelayedNotifications * QPropertyDelayedNotifications::next = nullptr |
Definition at line 75 of file qproperty.cpp.
Referenced by addProperty().
|
inlinestaticconstexpr |
Definition at line 73 of file qproperty.cpp.
int QPropertyDelayedNotifications::ref = 0 |
Definition at line 74 of file qproperty.cpp.
Referenced by QProperty< double >::beginPropertyUpdateGroup().
|
staticconstexpr |
Definition at line 79 of file qproperty.cpp.
qsizetype QPropertyDelayedNotifications::used = 0 |
Definition at line 76 of file qproperty.cpp.