QQmlSA::Property Class
class QQmlSA::PropertyRepresents a QML property. More...
| Header: | #include <Property> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
| Status: | Technical Preview |
Public Functions
| 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) |
Related Non-Members
| bool | operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs) |
| bool | operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs) |
Detailed Description
Member Function Documentation
Property::Property()
Constructs a new Property object.
Property::Property(const QQmlSA::Property &other)
Creates a copy of other.
[noexcept] Property::Property(QQmlSA::Property &&other)
Move-constructs a Property instance.
[noexcept] Property::~Property()
Destroys this property.
bool Property::isReadonly() const
Returns true if this property is read-only, false otherwise.
bool Property::isValid() const
Returns true if this property is valid, false otherwise.
QQmlSA::Element Property::type() const
Returns the type of this property.
QString Property::typeName() const
Returns the name of the type of this property.
[noexcept] QQmlSA::Property &Property::operator=(QQmlSA::Property &&other)
Move-assigns other to this Property instance.
QQmlSA::Property &Property::operator=(const QQmlSA::Property &other)
Assigns other to this Property instance.
Related Non-Members
bool operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)
Returns true if lhs and rhs are not equal, and false otherwise.
bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)
Returns true if lhs and rhs are equal, and false otherwise.