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, QObject *sourceObject, QQmlPropertyIndex sourcePropertyIndex, QObject *targetObject, int targetPropertyIndex)
 
void update ()
 
- 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)
 
bool Q_ALWAYS_INLINE 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
 

Static Public Member Functions

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)
 

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
}
 
- Public Attributes inherited from QPropertyBindingPrivate
size_t dependencyObserverCount = 0
 
- Protected Types inherited from QPropertyBindingPrivate
using DeclarativeErrorCallback = void(*)(QPropertyBindingPrivate *)
 
- 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 140 of file qqmlpropertytopropertybinding_p.h.

Constructor & Destructor Documentation

◆ QQmlUnbindableToBindablePropertyBinding()

QQmlUnbindableToBindablePropertyBinding::QQmlUnbindableToBindablePropertyBinding ( QQmlEngine * engine,
QObject * sourceObject,
QQmlPropertyIndex sourcePropertyIndex,
QObject * targetObject,
int targetPropertyIndex )

Definition at line 186 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

◆ update() [1/2]

void QQmlUnbindableToBindablePropertyBinding::update ( )

Definition at line 222 of file qqmlpropertytopropertybinding.cpp.

Referenced by QQmlUnbindableToBindableGuard_callback().

+ Here is the caller graph for this function:

◆ update() [2/2]

bool QQmlUnbindableToBindablePropertyBinding::update ( QMetaType metaType,
QUntypedPropertyData * dataPtr,
void * f )
static

Definition at line 201 of file qqmlpropertytopropertybinding.cpp.


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