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.