QQmlSA::Method Class
class QQmlSA::MethodStellt eine QML-Methode dar. Mehr...
Kopfzeile: | #include <Method> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
Status: | Technische Vorschau |
Öffentliche Typen
class | Methods |
Öffentliche Funktionen
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) |
Verwandte Nicht-Mitglieder
bool | operator!=(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs) |
bool | operator==(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs) |
Dokumentation der Mitgliederfunktionen
Method::Method()
Konstruiert ein neues Methodenobjekt.
Method::Method(const QQmlSA::Method &other)
Erzeugt eine Kopie von other.
[noexcept]
Method::Method(QQmlSA::Method &&other)
Move-konstruiert eine Methodeninstanz.
[noexcept]
Method::~Method()
Zerstört die Methode.
QString Method::methodName() const
Gibt den Namen dieser Methode zurück.
QQmlSA::MethodType Method::methodType() const
Gibt den Typ dieser Methode zurück.
QQmlSA::SourceLocation Method::sourceLocation() const
Gibt die Stelle im QML-Code zurück, an der diese Methode definiert ist.
[noexcept]
QQmlSA::Method &Method::operator=(QQmlSA::Method &&other)
Verschieben - weist other dieser Methodeninstanz zu.
QQmlSA::Method &Method::operator=(const QQmlSA::Method &other)
Weist dieser Methodeninstanz other zu.
Verwandte Nicht-Mitglieder
bool operator!=(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs)
Gibt true
zurück, wenn lhs und rhs nicht gleich sind, und andernfalls false
.
bool operator==(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs)
Gibt true
zurück, wenn lhs und rhs gleich sind, und andernfalls false
.
© 2025 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.