Method Class

class QQmlSA::Method

QML メソッドを表します。詳細...

ヘッダ #include <Method>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
ステータステクニカルプレビュー

パブリック型

class Methods

パブリック関数

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

詳細説明

メンバ関数の説明

QString Method::methodName() const

このメソッドの名前を返します。

QQmlSA::MethodType Method::methodType() const

このメソッドのタイプを返します。例えば、Signal、Slot、Method または StaticMethod。

QQmlSA::SourceLocation Method::sourceLocation() const

このメソッドが定義されている QML コードの場所を返します。

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