Method Class

class QQmlSA::Method

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

ヘッダ #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::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)

lhsrhs が等しくなければtrue を、そうでなければfalse を返す。

bool operator==(const QQmlSA::Method &lhs, const QQmlSA::Method &rhs)

lhsrhs が等しければ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.