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
QBindingObserverPtr Struct Reference

#include <qproperty_p.h>

+ Collaboration diagram for QBindingObserverPtr:

Public Member Functions

 QBindingObserverPtr ()=default
 
 Q_DISABLE_COPY (QBindingObserverPtr)
 
void swap (QBindingObserverPtr &other) noexcept
 
 QBindingObserverPtr (QBindingObserverPtr &&other) noexcept
 
 QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP (QBindingObserverPtr)
 
 QBindingObserverPtr (QPropertyObserver *observer) noexcept
 
 ~QBindingObserverPtr ()
 
QPropertyBindingPrivatebinding () const noexcept
 
QPropertyObserveroperator-> ()
 

Detailed Description

Similar to QPropertyBindingPrivatePtr, but stores a QPropertyObserver * linking to the QPropertyBindingPrivate* instead of the QPropertyBindingPrivate* itself

Definition at line 42 of file qproperty_p.h.

Constructor & Destructor Documentation

◆ QBindingObserverPtr() [1/3]

QBindingObserverPtr::QBindingObserverPtr ( )
default

◆ QBindingObserverPtr() [2/3]

QBindingObserverPtr::QBindingObserverPtr ( QBindingObserverPtr && other)
inlinenoexcept

Definition at line 51 of file qproperty_p.h.

References d.

◆ QBindingObserverPtr() [3/3]

QBindingObserverPtr::QBindingObserverPtr ( QPropertyObserver * observer)
inlinenoexcept

Definition at line 944 of file qproperty_p.h.

References d, and Q_ASSERT.

◆ ~QBindingObserverPtr()

QBindingObserverPtr::~QBindingObserverPtr ( )
inline

Definition at line 950 of file qproperty_p.h.

References binding(), d, and QPropertyBindingPrivate::destroyAndFreeMemory().

+ Here is the call graph for this function:

Member Function Documentation

◆ binding()

QPropertyBindingPrivate * QBindingObserverPtr::binding ( ) const
inlinenoexcept

Definition at line 960 of file qproperty_p.h.

References d.

Referenced by ~QBindingObserverPtr(), QPropertyBindingDataPointer::firstObserver(), and QPropertyBindingDataPointer::setFirstObserver().

+ Here is the caller graph for this function:

◆ operator->()

QPropertyObserver * QBindingObserverPtr::operator-> ( )
inline

Definition at line 962 of file qproperty_p.h.

References d.

◆ Q_DISABLE_COPY()

QBindingObserverPtr::Q_DISABLE_COPY ( QBindingObserverPtr )

◆ QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP()

QBindingObserverPtr::QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_MOVE_AND_SWAP ( QBindingObserverPtr )

◆ swap()

void QBindingObserverPtr::swap ( QBindingObserverPtr & other)
inlinenoexcept

Definition at line 49 of file qproperty_p.h.

References d, other(), and qt_ptr_swap().

+ Here is the call graph for this function:

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