![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\inmodule QtQml More...
#include <qqmlabstractbinding_p.h>
Classes | |
| struct | RefCount |
Public Types | |
| enum | Kind { ValueTypeProxy , QmlBinding , PropertyToPropertyBinding } |
| enum | State { Disabled = 0 , AddedToObject = 1 , BindingEnabled = 2 , UpdatingBinding = 3 } |
| enum | TargetTag { NoTargetTag = 0x0 , CanUseAccessor = 0x1 , IsSticky = 0x2 } |
| typedef QExplicitlySharedDataPointer< QQmlAbstractBinding > | Ptr |
Public Member Functions | |
| virtual | ~QQmlAbstractBinding () |
| virtual QString | expression () const |
| virtual Kind | kind () const =0 |
| QQmlPropertyIndex | targetPropertyIndex () const |
| void | remapTargetPropertyIndex (QQmlPropertyIndex indexindex) |
| QObject * | targetObject () const |
| void | setTarget (const QQmlProperty &) |
| bool | setTarget (QObject *, const QQmlPropertyData &, const QQmlPropertyData *valueType) |
| bool | setTarget (QObject *, int coreIndex, bool coreIsAlias, int valueTypeIndex) |
| virtual void | setEnabled (bool e, QQmlPropertyData::WriteFlags ff=QQmlPropertyData::DontRemoveBinding)=0 |
| void | addToObject () |
| Add this binding to object. | |
| void | removeFromObject () |
| Remove the binding from the object. | |
| virtual void | printBindingLoopError (const QQmlProperty &prop) |
| QQmlAbstractBinding * | nextBinding () const |
| bool | canUseAccessor () const |
| void | setCanUseAccessor (bool canUseAccessor) |
| bool | isSticky () const |
| void | setSticky (bool isSticky) |
Public Attributes | |
| RefCount | ref |
Protected Member Functions | |
| QQmlAbstractBinding () | |
| void | setAddedToObject (bool vv) |
| bool | isAddedToObject () const |
| void | setNextBinding (QQmlAbstractBinding *) |
| void | getPropertyData (const QQmlPropertyData **propertyData, QQmlPropertyData *valueTypeData) const |
| bool | updatingFlag () const |
| void | setUpdatingFlag (bool) |
| bool | enabledFlag () const |
| void | setEnabledFlag (bool) |
| void | updateCanUseAccessor () |
Protected Attributes | |
| QQmlPropertyIndex | m_targetIndex |
| QTaggedPointer< QObject, TargetTags > | m_target |
| QTaggedPointer< QQmlAbstractBinding, State > | m_nextBinding |
Friends | |
| class | QQmlAnyBinding |
| class | QQmlData |
| class | QQmlValueTypeProxyBinding |
| class | QQmlObjectCreator |
\inmodule QtQml
Definition at line 29 of file qqmlabstractbinding_p.h.
Definition at line 43 of file qqmlabstractbinding_p.h.
| Enumerator | |
|---|---|
| ValueTypeProxy | |
| QmlBinding | |
| PropertyToPropertyBinding | |
Definition at line 35 of file qqmlabstractbinding_p.h.
| Enumerator | |
|---|---|
| Disabled | |
| AddedToObject | |
| BindingEnabled | |
| UpdatingBinding | |
Definition at line 92 of file qqmlabstractbinding_p.h.
| Enumerator | |
|---|---|
| NoTargetTag | |
| CanUseAccessor | |
| IsSticky | |
Definition at line 99 of file qqmlabstractbinding_p.h.
|
protected |
Definition at line 19 of file qqmlabstractbinding.cpp.
|
virtual |
Definition at line 25 of file qqmlabstractbinding.cpp.
| void QQmlAbstractBinding::addToObject | ( | ) |
Add this binding to object.
This transfers ownership of the binding to the object, marks the object's property as being bound.
However, it does not enable the binding itself or call update() on it.
Definition at line 42 of file qqmlabstractbinding.cpp.
|
inline |
Definition at line 73 of file qqmlabstractbinding_p.h.
|
inlineprotected |
Definition at line 187 of file qqmlabstractbinding_p.h.
|
virtual |
Reimplemented in QQmlBinding.
Definition at line 287 of file qqmlabstractbinding.cpp.
|
protected |
Definition at line 168 of file qqmlabstractbinding.cpp.
|
inlineprotected |
Definition at line 158 of file qqmlabstractbinding_p.h.
|
inline |
Definition at line 78 of file qqmlabstractbinding_p.h.
|
pure virtual |
Implemented in QQmlBinding, QQmlPropertyToUnbindablePropertyBinding, and QQmlValueTypeProxyBinding.
|
inline |
Definition at line 163 of file qqmlabstractbinding_p.h.
|
virtual |
Reimplemented in QQmlBinding.
Definition at line 163 of file qqmlabstractbinding.cpp.
|
inline |
Definition at line 54 of file qqmlabstractbinding_p.h.
| void QQmlAbstractBinding::removeFromObject | ( | ) |
Remove the binding from the object.
Definition at line 97 of file qqmlabstractbinding.cpp.
|
inlineprotected |
Definition at line 153 of file qqmlabstractbinding_p.h.
|
inline |
Definition at line 75 of file qqmlabstractbinding_p.h.
|
pure virtual |
Implemented in QQmlBinding, QQmlPropertyToUnbindablePropertyBinding, and QQmlValueTypeProxyBinding.
|
inlineprotected |
Definition at line 192 of file qqmlabstractbinding_p.h.
|
inlineprotected |
Definition at line 168 of file qqmlabstractbinding_p.h.
|
inline |
Definition at line 79 of file qqmlabstractbinding_p.h.
| void QQmlAbstractBinding::setTarget | ( | const QQmlProperty & | prop | ) |
Definition at line 202 of file qqmlabstractbinding.cpp.
| bool QQmlAbstractBinding::setTarget | ( | QObject * | object, |
| const QQmlPropertyData & | core, | ||
| const QQmlPropertyData * | valueType ) |
Definition at line 208 of file qqmlabstractbinding.cpp.
| bool QQmlAbstractBinding::setTarget | ( | QObject * | object, |
| int | coreIndex, | ||
| bool | coreIsAlias, | ||
| int | valueTypeIndex ) |
Definition at line 232 of file qqmlabstractbinding.cpp.
|
inlineprotected |
Definition at line 182 of file qqmlabstractbinding_p.h.
|
inline |
Definition at line 58 of file qqmlabstractbinding_p.h.
|
inline |
Definition at line 52 of file qqmlabstractbinding_p.h.
|
protected |
Definition at line 193 of file qqmlabstractbinding.cpp.
|
inlineprotected |
Definition at line 177 of file qqmlabstractbinding_p.h.
|
friend |
Definition at line 31 of file qqmlabstractbinding_p.h.
|
friend |
Definition at line 107 of file qqmlabstractbinding_p.h.
|
friend |
Definition at line 109 of file qqmlabstractbinding_p.h.
|
friend |
Definition at line 108 of file qqmlabstractbinding_p.h.
|
protected |
Definition at line 131 of file qqmlabstractbinding_p.h.
|
protected |
Definition at line 128 of file qqmlabstractbinding_p.h.
|
protected |
Definition at line 125 of file qqmlabstractbinding_p.h.
| RefCount QQmlAbstractBinding::ref |
Definition at line 88 of file qqmlabstractbinding_p.h.