Method Class

class QQmlSA::Method

QML 메서드를 나타냅니다. 더 보기...

Header: #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.