Sur cette page

QUntypedPropertyBinding Class

Représente une liaison de propriété à type effacé. En savoir plus...

En-tête : #include <QUntypedPropertyBinding>
CMake : find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake : QT += core
Depuis : Qt 6.0

Fonctions publiques

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)

Description détaillée

Voir aussi QUntypedBindable.

Documentation sur les fonctions membres

QUntypedPropertyBinding::QUntypedPropertyBinding()

Crée un objet `QUntypedPropertyBinding` de type null.

Voir également isNull().

QUntypedPropertyBinding::QUntypedPropertyBinding(const QUntypedPropertyBinding &other)

Copie et construit un objet `QUntypedPropertyBinding` à partir de ` other`.

QUntypedPropertyBinding::QUntypedPropertyBinding(QUntypedPropertyBinding &&other)

Construit par « move » un objet `QUntypedPropertyBinding` à partir de ` other`.

other est laissé à l'état null.

Voir également isNull().

[noexcept] QUntypedPropertyBinding::~QUntypedPropertyBinding()

Supprime le fichier « QUntypedPropertyBinding ».

QPropertyBindingError QUntypedPropertyBinding::error() const

Renvoie l'état d'erreur de la liaison.

Voir également QPropertyBindingError.

bool QUntypedPropertyBinding::isNull() const

Renvoie « true » si l'QUntypedPropertyBinding e est nulle. Cela ne s'applique qu'aux instances construites par défaut et à celles issues d'un déplacement.

Voir également isNull ().

QMetaType QUntypedPropertyBinding::valueMetaType() const

Renvoie le méta-type de la liaison. Si l'QUntypedPropertyBinding e est nulle, une exception « QMetaType » est renvoyée.

QUntypedPropertyBinding &QUntypedPropertyBinding::operator=(QUntypedPropertyBinding &&other)

L'affectation par déplacement attribue other à cette adresse QUntypedPropertyBinding.

other est laissé à l'état nul.

Voir également isNull.

QUntypedPropertyBinding &QUntypedPropertyBinding::operator=(const QUntypedPropertyBinding &other)

Copie et attribue other à cette adresse QUntypedPropertyBinding.

© 2026 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.