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
QtPrivate::PropertyAdaptorSlotObjectHelpers Namespace Reference

Functions

void getter (const QUntypedPropertyData *d, void *value)
 
void setter (QUntypedPropertyData *d, const void *value)
 
QUntypedPropertyBinding getBinding (const QUntypedPropertyData *d)
 
bool bindingWrapper (QMetaType type, QUntypedPropertyData *d, QtPrivate::QPropertyBindingFunction binding, QUntypedPropertyData *temp, void *value)
 
QUntypedPropertyBinding setBinding (QUntypedPropertyData *d, const QUntypedPropertyBinding &binding, QPropertyBindingWrapper wrapper)
 
void setObserver (const QUntypedPropertyData *d, QPropertyObserver *observer)
 
template<typename T >
bool bindingWrapper (QMetaType type, QUntypedPropertyData *d, QtPrivate::QPropertyBindingFunction binding)
 
template<typename T >
QUntypedPropertyBinding setBinding (QUntypedPropertyData *d, const QUntypedPropertyBinding &binding)
 
template<typename T >
QUntypedPropertyBinding makeBinding (const QUntypedPropertyData *d, const QPropertyBindingSourceLocation &location)
 

Variables

template<class T >
constexpr QBindableInterface iface
 

Function Documentation

◆ bindingWrapper() [1/2]

template<typename T >
bool QtPrivate::PropertyAdaptorSlotObjectHelpers::bindingWrapper ( QMetaType type,
QUntypedPropertyData * d,
QtPrivate::QPropertyBindingFunction binding )

Definition at line 636 of file qproperty.h.

References bindingWrapper(), d, and Data.

+ Here is the call graph for this function:

◆ bindingWrapper() [2/2]

Q_CORE_EXPORT bool QtPrivate::PropertyAdaptorSlotObjectHelpers::bindingWrapper ( QMetaType type,
QUntypedPropertyData * d,
QtPrivate::QPropertyBindingFunction binding,
QUntypedPropertyData * temp,
void * value )

Definition at line 2448 of file qproperty.cpp.

References QtPrivate::BindingFunctionVTable::call, d, QtPrivate::QPropertyBindingFunction::functor, QtPrivate::QPropertyAdaptorSlotObject::metaProperty(), QtPrivate::QPropertyBindingFunction::vtable, and QMetaProperty::write().

Referenced by bindingWrapper().

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

◆ getBinding()

Q_CORE_EXPORT QUntypedPropertyBinding QtPrivate::PropertyAdaptorSlotObjectHelpers::getBinding ( const QUntypedPropertyData * d)

Definition at line 2442 of file qproperty.cpp.

References d.

◆ getter()

Q_CORE_EXPORT void QtPrivate::PropertyAdaptorSlotObjectHelpers::getter ( const QUntypedPropertyData * d,
void * value )

Definition at line 2425 of file qproperty.cpp.

References QtPrivate::QPropertyAdaptorSlotObject::bindingData(), d, and QtPrivate::QPropertyBindingData::registerWithCurrentlyEvaluatingBinding().

Referenced by makeBinding().

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

◆ makeBinding()

template<typename T >
QUntypedPropertyBinding QtPrivate::PropertyAdaptorSlotObjectHelpers::makeBinding ( const QUntypedPropertyData * d,
const QPropertyBindingSourceLocation & location )

Definition at line 653 of file qproperty.h.

References d, getter(), and Qt::makePropertyBinding().

+ Here is the call graph for this function:

◆ setBinding() [1/2]

template<typename T >
QUntypedPropertyBinding QtPrivate::PropertyAdaptorSlotObjectHelpers::setBinding ( QUntypedPropertyData * d,
const QUntypedPropertyBinding & binding )

Definition at line 647 of file qproperty.h.

References d, and setBinding().

+ Here is the call graph for this function:

◆ setBinding() [2/2]

Q_CORE_EXPORT QUntypedPropertyBinding QtPrivate::PropertyAdaptorSlotObjectHelpers::setBinding ( QUntypedPropertyData * d,
const QUntypedPropertyBinding & binding,
QPropertyBindingWrapper wrapper )

Definition at line 2462 of file qproperty.cpp.

References QtPrivate::QPropertyAdaptorSlotObject::bindingData(), d, QtPrivate::QPropertyBindingData::setBinding(), and wrapper().

Referenced by setBinding().

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

◆ setObserver()

Q_CORE_EXPORT void QtPrivate::PropertyAdaptorSlotObjectHelpers::setObserver ( const QUntypedPropertyData * d,
QPropertyObserver * observer )

Definition at line 2469 of file qproperty.cpp.

References d, and QPropertyObserver::setSource().

+ Here is the call graph for this function:

◆ setter()

Q_CORE_EXPORT void QtPrivate::PropertyAdaptorSlotObjectHelpers::setter ( QUntypedPropertyData * d,
const void * value )

Definition at line 2434 of file qproperty.cpp.

References QtPrivate::QPropertyAdaptorSlotObject::bindingData(), d, and QtPrivate::QPropertyBindingData::removeBinding().

+ Here is the call graph for this function:

Variable Documentation

◆ iface

template<class T >
constexpr QBindableInterface QtPrivate::PropertyAdaptorSlotObjectHelpers::iface
inlineconstexpr
Initial value:
= {
&setBinding<T>,
&makeBinding<T>,
&QMetaType::fromType<T>,
}
void getter(const QUntypedPropertyData *d, void *value)
void setObserver(const QUntypedPropertyData *d, QPropertyObserver *observer)
void setter(QUntypedPropertyData *d, const void *value)
QUntypedPropertyBinding getBinding(const QUntypedPropertyData *d)

Definition at line 666 of file qproperty.h.