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

#include <qqmlpropertytopropertybinding_p.h>

Inheritance diagram for QQmlUnbindableToBindablePropertyBinding:
Collaboration diagram for QQmlUnbindableToBindablePropertyBinding:

Public Member Functions

 QQmlUnbindableToBindablePropertyBinding (QQmlEngine *engine, const QQmlProperty &source, const QQmlProperty &target)
void update ()
void captureProperty (const QMetaObject *, const QMetaProperty &property)
Public Member Functions inherited from QQmlPropertyToBindablePropertyBinding
 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 ()
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 connect (QObject *source, int sourceSignal, QQmlEngine *engine, bool doNotify=true)
void connect (QQmlNotifier *)
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
qintptr sender () const
void setSender (qintptr sender)
QObjectsenderAsObject () const
QQmlNotifiersenderAsNotifier () const

Additional Inherited Members

Public Types inherited from QPropertyBindingPrivate
enum  NotificationState : bool { Delayed , Sent }
Public Types inherited from QQmlNotifierEndpoint
enum  Callback {
  None = 0 , QQmlBoundSignal = 1 , QQmlJavaScriptExpressionGuard = 2 , QQmlVMEMetaObjectEndpoint = 3 ,
  QQmlUnbindableToUnbindableGuard = 4 , QQmlUnbindableToBindableGuard = 5 , QQmlDirtyReferenceObject = 6
}
Static Public Member Functions inherited from QQmlPropertyToBindablePropertyBinding
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)
Public Attributes inherited from QPropertyBindingPrivate
size_t dependencyObserverCount = 0
Protected Types inherited from QPropertyBindingPrivate
using DeclarativeErrorCallback = void(*)(QPropertyBindingPrivate *)
Protected Attributes inherited from QQmlPropertyToBindablePropertyBinding
QQmlPropertyToPropertyBinding m_binding
Protected Attributes inherited from QPropertyBindingPrivate
QUntypedPropertyDatapropertyDataPtr = nullptr
union { 
   QPropertyBindingSourceLocation   location 
   struct { 
      std::byte   declarativeExtraData [sizeof(QPropertyBindingSourceLocation)
         - sizeof(DeclarativeErrorCallback)] 
      DeclarativeErrorCallback   errorCallBack 
   } 
}; 

Detailed Description

Definition at line 166 of file qqmlpropertytopropertybinding_p.h.

Constructor & Destructor Documentation

◆ QQmlUnbindableToBindablePropertyBinding()

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

Definition at line 181 of file qqmlpropertytopropertybinding.cpp.

References QQmlUnbindableToBindablePropertyBinding().

Referenced by QQmlUnbindableToBindablePropertyBinding().

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

Member Function Documentation

◆ captureProperty()

void QQmlUnbindableToBindablePropertyBinding::captureProperty ( const QMetaObject * ,
const QMetaProperty & property )
inline

Definition at line 175 of file qqmlpropertytopropertybinding_p.h.

◆ update()

void QQmlUnbindableToBindablePropertyBinding::update ( )

Definition at line 191 of file qqmlpropertytopropertybinding.cpp.

Referenced by QQmlUnbindableToBindableGuard_callback().

Here is the caller graph for this function:

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