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

#include <qproperty_p.h>

Collaboration diagram for QPropertyObserverPointer:

Public Types

enum class  Notify { Everything , OnlyChangeHandlers }

Public Member Functions

void unlink ()
void unlink_fast ()
void setBindingToNotify (QPropertyBindingPrivate *binding)
void setBindingToNotify_unsafe (QPropertyBindingPrivate *binding)
void setChangeHandler (QPropertyObserver::ChangeHandler changeHandler)
void notify (QUntypedPropertyData *propertyDataPtr)
void noSelfDependencies (QPropertyBindingPrivate *binding)
void evaluateBindings (PendingBindingObserverList &bindingObservers, QBindingStatus *status)
void observeProperty (QPropertyBindingDataPointer property)
 operator bool () const
QPropertyObserverPointer nextObserver () const
QPropertyBindingPrivatebinding () const

Public Attributes

QPropertyObserverptr = nullptr

Detailed Description

Definition at line 127 of file qproperty_p.h.

Member Enumeration Documentation

◆ Notify

Enumerator
Everything 
OnlyChangeHandlers 

Definition at line 162 of file qproperty_p.h.

Member Function Documentation

◆ binding()

QPropertyBindingPrivate * QPropertyObserverPointer::binding ( ) const
inline

Definition at line 177 of file qproperty_p.h.

References ptr.

◆ evaluateBindings()

void QPropertyObserverPointer::evaluateBindings ( PendingBindingObserverList & bindingObservers,
QBindingStatus * status )

Definition at line 864 of file qproperty.cpp.

◆ nextObserver()

QPropertyObserverPointer QPropertyObserverPointer::nextObserver ( ) const
inline

Definition at line 175 of file qproperty_p.h.

References ptr.

Referenced by QPropertyBindingDataPointer::observerCount().

Here is the caller graph for this function:

◆ noSelfDependencies()

void QPropertyObserverPointer::noSelfDependencies ( QPropertyBindingPrivate * binding)

Definition at line 847 of file qproperty.cpp.

◆ notify()

void QPropertyObserverPointer::notify ( QUntypedPropertyData * propertyDataPtr)
inline

Walks through the list of property observers, and calls any ChangeHandler found there. It doesn't do anything with bindings, which are only handled in QPropertyBindingPrivate::evaluateRecursive.

Definition at line 911 of file qproperty_p.h.

References QPropertyObserverNodeProtector::next(), and ptr.

Here is the call graph for this function:

◆ observeProperty()

void QPropertyObserverPointer::observeProperty ( QPropertyBindingDataPointer property)

Definition at line 887 of file qproperty.cpp.

References ptr, and unlink().

Here is the call graph for this function:

◆ operator bool()

QPropertyObserverPointer::operator bool ( ) const
inlineexplicit

Definition at line 173 of file qproperty_p.h.

References ptr.

◆ setBindingToNotify()

void QPropertyObserverPointer::setBindingToNotify ( QPropertyBindingPrivate * binding)
inline

Definition at line 152 of file qproperty_p.h.

References ptr.

◆ setBindingToNotify_unsafe()

void QPropertyObserverPointer::setBindingToNotify_unsafe ( QPropertyBindingPrivate * binding)

The same as setBindingToNotify, but assumes that the tag is already correct.

Definition at line 827 of file qproperty.cpp.

◆ setChangeHandler()

void QPropertyObserverPointer::setChangeHandler ( QPropertyObserver::ChangeHandler changeHandler)

Definition at line 816 of file qproperty.cpp.

References ptr.

◆ unlink()

void QPropertyObserverPointer::unlink ( )
inline

Unlinks

Definition at line 131 of file qproperty_p.h.

Referenced by observeProperty().

Here is the caller graph for this function:

◆ unlink_fast()

void QPropertyObserverPointer::unlink_fast ( )
inline

Like unlink, but does not handle ObserverIsAlias. Must only be called in places where we know that we are not dealing with such an observer.

Definition at line 142 of file qproperty_p.h.

Referenced by QPropertyObserverNodeProtector::~QPropertyObserverNodeProtector().

Here is the caller graph for this function:

Member Data Documentation

◆ ptr

QPropertyObserver* QPropertyObserverPointer::ptr = nullptr

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