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
QQmlUnbindableToUnbindablePropertyBinding Class Reference

#include <qqmlpropertytopropertybinding_p.h>

Inheritance diagram for QQmlUnbindableToUnbindablePropertyBinding:
Collaboration diagram for QQmlUnbindableToUnbindablePropertyBinding:

Public Member Functions

 QQmlUnbindableToUnbindablePropertyBinding (QQmlEngine *engine, const QQmlProperty &source, const QQmlProperty &target)
Public Member Functions inherited from QQmlNotifierEndpoint
 QQmlNotifierEndpoint (Callback callback)
 ~QQmlNotifierEndpoint ()
bool isConnected () const
bool isConnected (QObject *source, int sourceSignal) const
bool isConnected (QQmlNotifier *) const
void disconnect ()
bool isNotifying () const
 Returns true if a notify is in progress.
void startNotifying (qintptr *originalSenderPtr)
void stopNotifying (qintptr *originalSenderPtr)
void cancelNotify ()
 Cancel any notifies that are in progress.
int signalIndex () const
Callback callbackType () const
QQmlNotifierEndpoint * nextEndpoint () const
qintptr sender () const
void setSender (qintptr sender)
QObject * senderAsObject () const
QQmlNotifier * senderAsNotifier () const
Public Member Functions inherited from QQmlPropertyToUnbindablePropertyBinding
Kind kind () const final
void setEnabled (bool e, QQmlPropertyData::WriteFlags flags) final
void update (QQmlPropertyData::WriteFlags flags=QQmlPropertyData::DontRemoveBinding)
QObject * source () const
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

void captureProperty (const QMetaObject *sourceMetaObject, const QMetaProperty &sourceProperty) final
Protected Member Functions inherited from QQmlPropertyToUnbindablePropertyBinding
 QQmlPropertyToUnbindablePropertyBinding (QQmlEngine *engine, const QQmlProperty &source, const QQmlProperty &target)
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 ()

Additional Inherited Members

Public Types inherited from QQmlNotifierEndpoint
enum  Callback {
  None = 0 , QQmlBoundSignal = 1 , QQmlJavaScriptExpressionGuard = 2 , QQmlVMEMetaObjectEndpoint = 3 ,
  QQmlUnbindableToUnbindableGuard = 4 , QQmlUnbindableToBindableGuard = 5 , QQmlDirtyReferenceObject = 6
}
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
Protected Attributes inherited from QQmlPropertyToUnbindablePropertyBinding
QQmlPropertyToPropertyBinding m_binding
Protected Attributes inherited from QQmlAbstractBinding
QQmlPropertyIndex m_targetIndex
QTaggedPointer< QObject, TargetTags > m_target
QTaggedPointer< QQmlAbstractBinding, State > m_nextBinding

Detailed Description

Definition at line 112 of file qqmlpropertytopropertybinding_p.h.

Constructor & Destructor Documentation

◆ QQmlUnbindableToUnbindablePropertyBinding()

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

Definition at line 60 of file qqmlpropertytopropertybinding.cpp.

References QQmlUnbindableToUnbindablePropertyBinding().

Referenced by QQmlUnbindableToUnbindablePropertyBinding().

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

Member Function Documentation

◆ captureProperty()

void QQmlUnbindableToUnbindablePropertyBinding::captureProperty ( const QMetaObject * sourceMetaObject,
const QMetaProperty & sourceProperty )
finalprotectedvirtual

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