Represents a QML method. More...
| Header: | #include <Method>
|
| CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
|
| Status: | Technical Preview |
| class | Methods |
| 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) |
Constructs a new Method object.
Creates a copy of other.
[noexcept] Method::Method(QQmlSA::Method &&other)
Move-constructs a Method instance.
[noexcept] Method::~Method()
Destroys the Method.
Returns the name of the this method.
Returns the type of this method.
Returns the location in the QML code where this method is defined.
[noexcept] QQmlSA::Method &Method::operator=(QQmlSA::Method &&other)
Move-assigns other to this Method instance.
Assigns other to this Method instance.
Returns true if lhs and rhs are not equal, and false otherwise.
Returns true if lhs and rhs are equal, and false otherwise.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-6.9/qqmlsa-method.html