Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPropertyBindingDataPointer Struct Reference

#include <qproperty_p.h>

+ Collaboration diagram for QPropertyBindingDataPointer:

Public Member Functions

QPropertyBindingPrivatebinding () const
 
void setObservers (QPropertyObserver *observer)
 
void Q_ALWAYS_INLINE addObserver (QPropertyObserver *observer)
 
void setFirstObserver (QPropertyObserver *observer)
 
QPropertyObserverPointer firstObserver () const
 
int observerCount () const
 

Static Public Member Functions

static void fixupAfterMove (QtPrivate::QPropertyBindingData *ptr)
 
static QPropertyProxyBindingDataproxyData (QtPrivate::QPropertyBindingData *ptr)
 
template<typename T >
static QPropertyBindingDataPointer get (QProperty< T > &property)
 

Public Attributes

const QtPrivate::QPropertyBindingDataptr = nullptr
 

Detailed Description

Definition at line 67 of file qproperty_p.h.

Member Function Documentation

◆ addObserver()

void QPropertyBindingDataPointer::addObserver ( QPropertyObserver * observer)

Definition at line 38 of file qproperty.cpp.

References binding(), QtPrivate::QPropertyBindingData::BindingBit, d, firstObserver(), ptr, and Q_ASSERT.

+ Here is the call graph for this function:

◆ binding()

QPropertyBindingPrivate * QPropertyBindingDataPointer::binding ( ) const
inline

Definition at line 71 of file qproperty_p.h.

References ptr().

Referenced by addObserver().

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

◆ firstObserver()

QPropertyObserverPointer QPropertyBindingDataPointer::firstObserver ( ) const
inline

Definition at line 475 of file qproperty_p.h.

References QBindingObserverPtr::binding(), and ptr().

Referenced by addObserver().

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

◆ fixupAfterMove()

void QPropertyBindingDataPointer::fixupAfterMove ( QtPrivate::QPropertyBindingData * ptr)
inlinestatic

Definition at line 458 of file qproperty_p.h.

References QtPrivate::QPropertyBindingData::BindingBit, d, proxy, ptr(), and Q_ASSERT.

Referenced by QtPrivate::QPropertyBindingData::QPropertyBindingData().

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

◆ get()

template<typename T >
static QPropertyBindingDataPointer QPropertyBindingDataPointer::get ( QProperty< T > & property)
inlinestatic

Definition at line 91 of file qproperty_p.h.

◆ observerCount()

int QPropertyBindingDataPointer::observerCount ( ) const
inline

Definition at line 493 of file qproperty_p.h.

◆ proxyData()

QPropertyProxyBindingData * QPropertyBindingDataPointer::proxyData ( QtPrivate::QPropertyBindingData * ptr)
inlinestatic

Returns the proxy data of ptr, or nullptr if ptr has no delayed notification

Definition at line 486 of file qproperty_p.h.

References ptr().

+ Here is the call graph for this function:

◆ setFirstObserver()

void QPropertyBindingDataPointer::setFirstObserver ( QPropertyObserver * observer)
inline

Definition at line 448 of file qproperty_p.h.

References QBindingObserverPtr::binding(), d, and ptr().

+ Here is the call graph for this function:

◆ setObservers()

void QPropertyBindingDataPointer::setObservers ( QPropertyObserver * observer)
inline

Definition at line 76 of file qproperty_p.h.

References d, and ptr().

+ Here is the call graph for this function:

Member Data Documentation

◆ ptr

const QtPrivate::QPropertyBindingData* QPropertyBindingDataPointer::ptr = nullptr

Definition at line 69 of file qproperty_p.h.

Referenced by addObserver().


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