En esta página

QQmlSA::Method Class

class QQmlSA::Method

Representa un método QML. Más...

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

Tipos públicos

class Methods

Funciones públicas

Method()
Method(const QQmlSA::Method &other)
Method(QQmlSA::Method &&other)
~Method()
QString methodName() const
QQmlSA::MethodType methodType() const
QQmlSA::SourceLocation sourceLocation() const
QQmlSA::Method &operator=(QQmlSA::Method &&other)
QQmlSA::Method &operator=(const QQmlSA::Method &other)
bool operator!=(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs)
bool operator==(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs)

Descripción detallada

Documentación de las funciones de los miembros

Method::Method()

Construye un nuevo objeto Method.

Method::Method(const QQmlSA::Method &other)

Crea una copia de other.

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

Mover-construye una instancia de Método.

[noexcept] Method::~Method()

Destruye el Método.

QString Method::methodName() const

Devuelve el nombre de este método.

QQmlSA::MethodType Method::methodType() const

Devuelve el tipo de este método.

QQmlSA::SourceLocation Method::sourceLocation() const

Devuelve la ubicación en el código QML donde está definido este método.

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

Mover-asigna other a esta instancia de Método.

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

Asigna other a esta instancia de Método.

No miembros relacionados

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

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

bool operator==(const QQmlSA::Method &lhs, const QQmlSA::Method &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.