Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQmlPropertyToUnbindablePropertyBinding Class Referenceabstract

#include <qqmlpropertytopropertybinding_p.h>

Inheritance diagram for QQmlPropertyToUnbindablePropertyBinding:
Collaboration diagram for QQmlPropertyToUnbindablePropertyBinding:

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
QObjecttargetObject () 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)
QQmlAbstractBindingnextBinding () 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, Statem_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< QQmlAbstractBindingPtr
Public Attributes inherited from QQmlAbstractBinding
RefCount ref

Detailed Description

Definition at line 93 of file qqmlpropertytopropertybinding_p.h.

Constructor & Destructor Documentation

◆ QQmlPropertyToUnbindablePropertyBinding()

QQmlPropertyToUnbindablePropertyBinding::QQmlPropertyToUnbindablePropertyBinding ( QQmlEngine * engine,
const QQmlProperty & source,
const QQmlProperty & target )
protected

Definition at line 115 of file qqmlpropertytopropertybinding.cpp.

References QQmlPropertyToUnbindablePropertyBinding().

Referenced by QQmlPropertyToUnbindablePropertyBinding().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ captureProperty()

virtual void QQmlPropertyToUnbindablePropertyBinding::captureProperty ( const QMetaObject * sourceMetaObject,
const QMetaProperty & sourceProperty )
protectedpure virtual

◆ kind()

QQmlAbstractBinding::Kind QQmlPropertyToUnbindablePropertyBinding::kind ( ) const
finalvirtual

Implements QQmlAbstractBinding.

Definition at line 67 of file qqmlpropertytopropertybinding.cpp.

◆ setEnabled()

void QQmlPropertyToUnbindablePropertyBinding::setEnabled ( bool e,
QQmlPropertyData::WriteFlags flags )
finalvirtual

Implements QQmlAbstractBinding.

Definition at line 72 of file qqmlpropertytopropertybinding.cpp.

◆ update()

void QQmlPropertyToUnbindablePropertyBinding::update ( QQmlPropertyData::WriteFlags flags = QQmlPropertyData::DontRemoveBinding)

Definition at line 82 of file qqmlpropertytopropertybinding.cpp.

Member Data Documentation

◆ m_binding

QQmlPropertyToPropertyBinding QQmlPropertyToUnbindablePropertyBinding::m_binding
protected

Definition at line 107 of file qqmlpropertytopropertybinding_p.h.


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