Method Class

class QQmlSA::Method

Stellt 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

QString methodName() const
QQmlSA::MethodType methodType() const
QQmlSA::SourceLocation sourceLocation() const

Detaillierte Beschreibung

Dokumentation der Mitgliedsfunktionen

QString Method::methodName() const

Gibt den Namen dieser Methode zurück.

QQmlSA::MethodType Method::methodType() const

Gibt den Typ dieser Methode zurück. Zum Beispiel: Signal, Slot, Methode oder StaticMethod.

QQmlSA::SourceLocation Method::sourceLocation() const

Gibt die Stelle im QML-Code zurück, an der diese Methode definiert ist.

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