En esta página

QQmlSA::Property Class

class QQmlSA::Property

Representa una propiedad QML. Más...

Cabecera: #include <Property>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)

Funciones públicas

Property()
Property(const QQmlSA::Property &other)
Property(QQmlSA::Property &&other)
~Property()
bool isReadonly() const
bool isValid() const
QQmlSA::Element type() const
QString typeName() const
QQmlSA::Property &operator=(QQmlSA::Property &&other)
QQmlSA::Property &operator=(const QQmlSA::Property &other)
bool operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)
bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)

Descripción detallada

Documentación de las funciones de los miembros

Property::Property()

Construye un nuevo objeto Propiedad.

Property::Property(const QQmlSA::Property &other)

Crea una copia de other.

[noexcept] Property::Property(QQmlSA::Property &&other)

Mover-construye una instancia de Propiedad.

[noexcept] Property::~Property()

Destruye esta propiedad.

bool Property::isReadonly() const

Devuelve true si esta propiedad es de sólo lectura, false en caso contrario.

bool Property::isValid() const

Devuelve true si esta propiedad es válida, false en caso contrario.

QQmlSA::Element Property::type() const

Devuelve el tipo de esta propiedad.

QString Property::typeName() const

Devuelve el nombre del tipo de esta propiedad.

[noexcept] QQmlSA::Property &Property::operator=(QQmlSA::Property &&other)

Mover-asigna other a esta instancia de Propiedad.

QQmlSA::Property &Property::operator=(const QQmlSA::Property &other)

Asigna other a esta instancia de Propiedad.

No miembros relacionados

bool operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)

Devuelve true si lhs y rhs no son iguales, y false en caso contrario.

bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)

Devuelve true si lhs y rhs son iguales, y false en caso contrario.

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