![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qqmlpropertytopropertybinding_p.h>
Public Member Functions | |
Kind | kind () const final |
void | setEnabled (bool e, QQmlPropertyData::WriteFlags flags) final |
void | update (QQmlPropertyData::WriteFlags flags=QQmlPropertyData::DontRemoveBinding) |
Public Member Functions inherited from QQmlAbstractBinding | |
virtual | ~QQmlAbstractBinding () |
virtual QString | expression () const |
QQmlPropertyIndex | targetPropertyIndex () const |
QObject * | targetObject () const |
void | setTarget (const QQmlProperty &) |
bool | setTarget (QObject *, const QQmlPropertyData &, const QQmlPropertyData *valueType) |
bool | setTarget (QObject *, int coreIndex, bool coreIsAlias, int valueTypeIndex) |
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) |
Protected Member Functions | |
QQmlPropertyToUnbindablePropertyBinding (QQmlEngine *engine, const QQmlProperty &source, const QQmlProperty &target) | |
virtual void | captureProperty (const QMetaObject *sourceMetaObject, const QMetaProperty &sourceProperty)=0 |
Protected Member Functions inherited from QQmlAbstractBinding | |
QQmlAbstractBinding () | |
void | setAddedToObject (bool v) |
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 | |
QQmlPropertyToPropertyBinding | m_binding |
Protected Attributes inherited from QQmlAbstractBinding | |
QQmlPropertyIndex | m_targetIndex |
QTaggedPointer< QObject, TargetTags > | m_target |
QTaggedPointer< QQmlAbstractBinding, State > | m_nextBinding |
Additional Inherited Members | |
Public Types inherited from QQmlAbstractBinding | |
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 Attributes inherited from QQmlAbstractBinding | |
RefCount | ref |
Definition at line 93 of file qqmlpropertytopropertybinding_p.h.
|
protected |
Definition at line 115 of file qqmlpropertytopropertybinding.cpp.
References QQmlPropertyToUnbindablePropertyBinding().
Referenced by QQmlPropertyToUnbindablePropertyBinding().
|
protectedpure virtual |
Implemented in QQmlBindableToUnbindablePropertyBinding, and QQmlUnbindableToUnbindablePropertyBinding.
|
finalvirtual |
Implements QQmlAbstractBinding.
Definition at line 67 of file qqmlpropertytopropertybinding.cpp.
|
finalvirtual |
Implements QQmlAbstractBinding.
Definition at line 72 of file qqmlpropertytopropertybinding.cpp.
void QQmlPropertyToUnbindablePropertyBinding::update | ( | QQmlPropertyData::WriteFlags | flags = QQmlPropertyData::DontRemoveBinding | ) |
Definition at line 82 of file qqmlpropertytopropertybinding.cpp.
|
protected |
Definition at line 107 of file qqmlpropertytopropertybinding_p.h.