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::QBindableInterfaceForProperty< const Property, std::void_t< decltype(std::declval< Property >().binding())> > Class Template Reference

#include <qproperty.h>

+ Collaboration diagram for QtPrivate::QBindableInterfaceForProperty< const Property, std::void_t< decltype(std::declval< Property >().binding())> >:

Static Public Attributes

static constexpr QBindableInterface iface
 

Detailed Description

template<typename Property>
class QtPrivate::QBindableInterfaceForProperty< const Property, std::void_t< decltype(std::declval< Property >().binding())> >

Definition at line 570 of file qproperty.h.

Member Data Documentation

◆ iface

template<typename Property >
constexpr QBindableInterface QtPrivate::QBindableInterfaceForProperty< const Property, std::void_t< decltype(std::declval< Property >().binding())> >::iface
staticconstexpr
Initial value:
= {
[](const QUntypedPropertyData *d, void *value) -> void
{ *static_cast<T*>(value) = static_cast<const Property *>(d)->value(); },
nullptr,
{ return static_cast<const Property *>(d)->binding(); },
nullptr,
{ return Qt::makePropertyBinding([d]() -> T { return static_cast<const Property *>(d)->value(); }, location); },
[](const QUntypedPropertyData *d, QPropertyObserver *observer) -> void
{ observer->setSource(static_cast<const Property *>(d)->bindingData()); },
[]() { return QMetaType::fromType<T>(); }
}
auto makePropertyBinding(Functor &&f, const QPropertyBindingSourceLocation &location=QT_PROPERTY_DEFAULT_BINDING_LOCATION, std::enable_if_t< std::is_invocable_v< Functor > > *=nullptr)
Definition qproperty.h:212
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLint location

Definition at line 575 of file qproperty.h.


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