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)
QObject * source () const
Public Member Functions inherited from QQmlPropertyBindingBase
BindingKind bindingKind () const
bool isUndefined () const
Public Member Functions inherited from QPropertyBindingPrivate
const QtPrivate::BindingFunctionVTable * bindingFunctionVTable () const
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
bool isQmlBinding () 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 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

Additional Inherited Members

Public Types inherited from QQmlPropertyBindingBase
enum class  HasBoundFunction : bool { No = false , Yes = true }
enum class  IsUndefined : bool { No = false , Yes = true }
enum class  BindingKind : quint8 { JavaScript = 0 , PropertyToProperty = 1 }
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 QPropertyBindingPrivate * get (const QUntypedPropertyBinding &binding)
static QUntypedPropertyBinding makeUntyped (QPropertyBindingPrivate *d)
static QPropertyBindingPrivate * currentlyEvaluatingBinding ()
static void destroyAndFreeMemory (QPropertyBindingPrivate *priv)
Public Attributes inherited from QPropertyBindingPrivate
size_t dependencyObserverCount = 0
Protected Types inherited from QPropertyBindingPrivate
using DeclarativeErrorCallback = void(*)(QPropertyBindingPrivate *)
Protected Member Functions inherited from QQmlPropertyBindingBase
 QQmlPropertyBindingBase (QObject *target, QQmlPropertyIndex targetIndex, QMetaType targetMetaType, const QtPrivate::BindingFunctionVTable *vtable, BindingKind bindingKind, HasBoundFunction hasBoundFunction=HasBoundFunction::No)
QObject * target () const
QQmlPropertyIndex targetIndex () const
bool hasBoundFunction () const
void setIsUndefined (bool isUndefined)
Protected Attributes inherited from QQmlPropertyToBindablePropertyBinding
QQmlPropertyToPropertyBinding m_binding
Protected Attributes inherited from QPropertyBindingPrivate
QUntypedPropertyData * propertyDataPtr = nullptr
union { 
   QPropertyBindingSourceLocation   location 
   struct { 
      std::byte   declarativeExtraData [sizeof(QPropertyBindingSourceLocation)
         - sizeof(DeclarativeErrorCallback)] 
      DeclarativeErrorCallback   errorCallBack 
   } 
}; 

Detailed Description

Definition at line 170 of file qqmlpropertytopropertybinding_p.h.

Constructor & Destructor Documentation

◆ QQmlUnbindableToBindablePropertyBinding()

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

Definition at line 213 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 179 of file qqmlpropertytopropertybinding_p.h.

◆ update()

void QQmlUnbindableToBindablePropertyBinding::update ( )

Definition at line 223 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: