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

#include <qqmlpropertytopropertybinding_p.h>

Inheritance diagram for QQmlPropertyToBindablePropertyBinding:
Collaboration diagram for QQmlPropertyToBindablePropertyBinding:

Public Member Functions

 QQmlPropertyToBindablePropertyBinding (QQmlEngine *engine, const QQmlProperty &source, const QQmlProperty &target, const QtPrivate::BindingFunctionVTable *vtable)
Public Member Functions inherited from QPropertyBindingPrivate
bool isUpdating ()
void setSticky (bool keep=true)
bool isSticky ()
void scheduleNotify ()
 QPropertyBindingPrivate (QMetaType metaType, const QtPrivate::BindingFunctionVTable *vtable, const QPropertyBindingSourceLocation &location, bool isQQmlPropertyBinding=false)
 ~QPropertyBindingPrivate ()
void setProperty (QUntypedPropertyData *propertyPtr)
void setStaticObserver (QtPrivate::QPropertyObserverCallback callback, QtPrivate::QPropertyBindingWrapper bindingWrapper)
void prependObserver (QPropertyObserverPointer observer)
QPropertyObserverPointer takeObservers ()
void clearDependencyObservers ()
Q_ALWAYS_INLINE QPropertyObserverPointer allocateDependencyObserver ()
QPropertyObserverPointer allocateDependencyObserver_slow ()
QPropertyBindingSourceLocation sourceLocation () const
QPropertyBindingError bindingError () const
QMetaType valueMetaType () const
void unlinkAndDeref ()
bool evaluateRecursive (PendingBindingObserverList &bindingObservers, QBindingStatus *status=nullptr)
Q_ALWAYS_INLINE bool evaluateRecursive_inline (PendingBindingObserverList &bindingObservers, QBindingStatus *status)
void notifyNonRecursive (const PendingBindingObserverList &bindingObservers)
NotificationState notifyNonRecursive ()
void setError (QPropertyBindingError &&e)
void detachFromProperty ()
bool hasCustomVTable () const
Public Member Functions inherited from QtPrivate::RefCounted
int refCount () const
void addRef ()
bool deref ()

Static Public Member Functions

template<typename Concrete>
static bool update (QMetaType metaType, QUntypedPropertyData *dataPtr, void *f)
Static Public Member Functions inherited from QPropertyBindingPrivate
static constexpr size_t getSizeEnsuringAlignment ()
static QPropertyBindingPrivateget (const QUntypedPropertyBinding &binding)
static QPropertyBindingPrivatecurrentlyEvaluatingBinding ()
static void destroyAndFreeMemory (QPropertyBindingPrivate *priv)

Protected Attributes

QQmlPropertyToPropertyBinding m_binding
Protected Attributes inherited from QPropertyBindingPrivate
QUntypedPropertyDatapropertyDataPtr = nullptr
union { 
   QPropertyBindingSourceLocation   location 
   struct { 
      std::byte   declarativeExtraData [sizeof(QPropertyBindingSourceLocation)
         - sizeof(DeclarativeErrorCallback)] 
      DeclarativeErrorCallback   errorCallBack 
   } 
}; 

Additional Inherited Members

Public Types inherited from QPropertyBindingPrivate
enum  NotificationState : bool { Delayed , Sent }
Public Attributes inherited from QPropertyBindingPrivate
size_t dependencyObserverCount = 0
Protected Types inherited from QPropertyBindingPrivate
using DeclarativeErrorCallback = void(*)(QPropertyBindingPrivate *)

Detailed Description

Definition at line 137 of file qqmlpropertytopropertybinding_p.h.

Constructor & Destructor Documentation

◆ QQmlPropertyToBindablePropertyBinding()

QQmlPropertyToBindablePropertyBinding::QQmlPropertyToBindablePropertyBinding ( QQmlEngine * engine,
const QQmlProperty & source,
const QQmlProperty & target,
const QtPrivate::BindingFunctionVTable * vtable )

Definition at line 172 of file qqmlpropertytopropertybinding.cpp.

References QQmlPropertyToBindablePropertyBinding().

Referenced by QQmlPropertyToBindablePropertyBinding().

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

Member Function Documentation

◆ update()

template<typename Concrete>
bool QQmlPropertyToBindablePropertyBinding::update ( QMetaType metaType,
QUntypedPropertyData * dataPtr,
void * f )
inlinestatic

Definition at line 145 of file qqmlpropertytopropertybinding_p.h.

Member Data Documentation

◆ m_binding

QQmlPropertyToPropertyBinding QQmlPropertyToBindablePropertyBinding::m_binding
protected

Definition at line 163 of file qqmlpropertytopropertybinding_p.h.


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