QUntypedPropertyBinding Class
Represents a type-erased property binding. More...
| Header: | #include <QUntypedPropertyBinding> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core)target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
| Since: | Qt 6.0 |
Public Functions
| QUntypedPropertyBinding() | |
| QUntypedPropertyBinding(const QUntypedPropertyBinding &other) | |
| QUntypedPropertyBinding(QUntypedPropertyBinding &&other) | |
| ~QUntypedPropertyBinding() | |
| QPropertyBindingError | error() const |
| bool | isNull() const |
| QMetaType | valueMetaType() const |
| QUntypedPropertyBinding & | operator=(QUntypedPropertyBinding &&other) |
| QUntypedPropertyBinding & | operator=(const QUntypedPropertyBinding &other) |
See also QUntypedBindable.
Member Function Documentation
QUntypedPropertyBinding::QUntypedPropertyBinding()
Constructs a null QUntypedPropertyBinding.
See also isNull().
QUntypedPropertyBinding::QUntypedPropertyBinding(const QUntypedPropertyBinding &other)
Copy-constructs a QUntypedPropertyBinding from other.
QUntypedPropertyBinding::QUntypedPropertyBinding(QUntypedPropertyBinding &&other)
Move-constructs a QUntypedPropertyBinding from other.
other is left in a null state.
See also isNull().
[noexcept] QUntypedPropertyBinding::~QUntypedPropertyBinding()
Destroys the QUntypedPropertyBinding.
QPropertyBindingError QUntypedPropertyBinding::error() const
Returns the error state of the binding.
See also QPropertyBindingError.
bool QUntypedPropertyBinding::isNull() const
Returns true if the QUntypedPropertyBinding is null. This is only true for default-constructed and moved-from instances.
See also isNull().
QMetaType QUntypedPropertyBinding::valueMetaType() const
Returns the meta-type of the binding. If the QUntypedPropertyBinding is null, an invalid QMetaType is returned.
QUntypedPropertyBinding &QUntypedPropertyBinding::operator=(QUntypedPropertyBinding &&other)
Move-assigns other to this QUntypedPropertyBinding.
other is left in a null state.
See also isNull.
QUntypedPropertyBinding &QUntypedPropertyBinding::operator=(const QUntypedPropertyBinding &other)
Copy-assigns other to this QUntypedPropertyBinding.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.