QQmlSA::Method Class
class QQmlSA::MethodQML 메서드를 나타냅니다. 더 보기...
Header: | #include <Method> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
상태: | 기술 미리보기 |
공용 유형
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) |
멤버 함수 문서
Method::Method()
새 메서드 객체를 생성합니다.
Method::Method(const QQmlSA::Method &other)
other 의 복사본을 만듭니다.
[noexcept]
Method::Method(QQmlSA::Method &&other)
Move - 메서드 인스턴스를 생성합니다.
[noexcept]
Method::~Method()
메서드를 파괴합니다.
QString Method::methodName() const
이 메서드의 이름을 반환합니다.
QQmlSA::MethodType Method::methodType() const
이 메서드의 유형을 반환합니다.
QQmlSA::SourceLocation Method::sourceLocation() const
QML 코드에서 이 메서드가 정의된 위치를 반환합니다.
[noexcept]
QQmlSA::Method &Method::operator=(QQmlSA::Method &&other)
Move-이 메서드 인스턴스에 other 를 할당합니다.
QQmlSA::Method &Method::operator=(const QQmlSA::Method &other)
이 메서드 인스턴스에 other 을 할당합니다.
관련 비회원
bool operator!=(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs)
lhs 과 rhs 이 같지 않으면 true
을 반환하고, 그렇지 않으면 false
을 반환합니다.
bool operator==(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs)
lhs 과 rhs 이 같으면 true
을 반환하고, 그렇지 않으면 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.