QQmlSA::Method Class
class QQmlSA::MethodQML 메서드를 나타냅니다. 더 보기...
| 헤더: | #include <qqmlsa.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS QmlCompiler) target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler) |
| 상태: | 기술 미리 보기 |
이 클래스는 기술 미리보기 단계에 있으며 변경될 수 있습니다.
공개 유형
(technology preview) 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::Method(const QQmlSA::Method &other)
other 의 복사본을 생성합니다.
[noexcept] Method::Method(QQmlSA::Method &&other)
Method 인스턴스를 생성합니다.
[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)
other 를 이 Method 인스턴스에 할당합니다.
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 을 반환합니다.
© 2026 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.