Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQmlValueTypeProxyBinding Class Reference

#include <qqmlvaluetypeproxybinding_p.h>

+ Inheritance diagram for QQmlValueTypeProxyBinding:
+ Collaboration diagram for QQmlValueTypeProxyBinding:

Public Member Functions

 QQmlValueTypeProxyBinding (QObject *o, QQmlPropertyIndex coreIndex)
 
QQmlAbstractBindingsubBindings () const
 
QQmlAbstractBindingbinding (QQmlPropertyIndex targetPropertyIndex) const
 
void removeBindings (quint32 mask)
 Removes a collection of bindings, corresponding to the set bits in mask.
 
void setEnabled (bool, QQmlPropertyData::WriteFlags) override
 
Kind kind () const final
 
- 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.
 
QQmlAbstractBindingnextBinding () const
 
bool canUseAccessor () const
 
void setCanUseAccessor (bool canUseAccessor)
 

Protected Member Functions

 ~QQmlValueTypeProxyBinding ()
 
- 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 ()
 

Friends

class QQmlAbstractBinding
 

Additional Inherited Members

- Public Types inherited from QQmlAbstractBinding
enum  Kind { ValueTypeProxy , QmlBinding , PropertyToPropertyBinding }
 
enum  TargetTag { NoTargetTag = 0x0 , UpdatingBinding = 0x1 , BindingEnabled = 0x2 }
 
enum  NextBindingTag { NoBindingTag = 0x0 , AddedToObject = 0x1 , CanUseAccessor = 0x2 }
 
typedef QExplicitlySharedDataPointer< QQmlAbstractBindingPtr
 
- Static Public Member Functions inherited from QQmlAbstractBinding
static void printBindingLoopError (const QQmlProperty &prop)
 
- Public Attributes inherited from QQmlAbstractBinding
RefCount ref
 
- Protected Attributes inherited from QQmlAbstractBinding
QQmlPropertyIndex m_targetIndex
 
QTaggedPointer< QObject, TargetTags > m_target
 
QTaggedPointer< QQmlAbstractBinding, NextBindingTags > m_nextBinding
 

Detailed Description

Definition at line 22 of file qqmlvaluetypeproxybinding_p.h.

Constructor & Destructor Documentation

◆ QQmlValueTypeProxyBinding()

QT_BEGIN_NAMESPACE QQmlValueTypeProxyBinding::QQmlValueTypeProxyBinding ( QObject * o,
QQmlPropertyIndex coreIndex )

◆ ~QQmlValueTypeProxyBinding()

QQmlValueTypeProxyBinding::~QQmlValueTypeProxyBinding ( )
protected

Definition at line 16 of file qqmlvaluetypeproxybinding.cpp.

References binding(), QExplicitlySharedDataPointer< T >::data(), QQmlAbstractBinding::nextBinding(), and QQmlAbstractBinding::setAddedToObject().

+ Here is the call graph for this function:

Member Function Documentation

◆ binding()

QQmlAbstractBinding * QQmlValueTypeProxyBinding::binding ( QQmlPropertyIndex targetPropertyIndex) const

Definition at line 39 of file qqmlvaluetypeproxybinding.cpp.

References binding(), QExplicitlySharedDataPointer< T >::data(), QQmlAbstractBinding::nextBinding(), and QQmlAbstractBinding::targetPropertyIndex().

Referenced by ~QQmlValueTypeProxyBinding(), binding(), and removeBindings().

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

◆ kind()

Kind QQmlValueTypeProxyBinding::kind ( ) const
inlinefinalvirtual

Implements QQmlAbstractBinding.

Definition at line 32 of file qqmlvaluetypeproxybinding_p.h.

References QQmlAbstractBinding::ValueTypeProxy.

◆ removeBindings()

void QQmlValueTypeProxyBinding::removeBindings ( quint32 mask)

Removes a collection of bindings, corresponding to the set bits in mask.

Definition at line 52 of file qqmlvaluetypeproxybinding.cpp.

References binding(), QExplicitlySharedDataPointer< T >::data(), QQmlAbstractBinding::nextBinding(), remove(), QQmlAbstractBinding::setAddedToObject(), QQmlAbstractBinding::setNextBinding(), QQmlAbstractBinding::targetPropertyIndex(), and QQmlPropertyIndex::valueTypeIndex().

+ Here is the call graph for this function:

◆ setEnabled()

void QQmlValueTypeProxyBinding::setEnabled ( bool e,
QQmlPropertyData::WriteFlags flags )
overridevirtual

Implements QQmlAbstractBinding.

Definition at line 25 of file qqmlvaluetypeproxybinding.cpp.

References QExplicitlySharedDataPointer< T >::data(), and QQmlAbstractBinding::setEnabled().

Referenced by removeOldBinding().

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

◆ subBindings()

QQmlAbstractBinding * QQmlValueTypeProxyBinding::subBindings ( ) const

Definition at line 34 of file qqmlvaluetypeproxybinding.cpp.

References QExplicitlySharedDataPointer< T >::data().

+ Here is the call graph for this function:

Friends And Related Symbol Documentation

◆ QQmlAbstractBinding

friend class QQmlAbstractBinding
friend

Definition at line 38 of file qqmlvaluetypeproxybinding_p.h.


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