このページでは

QQmlSA::Property Class

class QQmlSA::Property

QMLのプロパティを表します。詳細...

ヘッダー: #include <qqmlsa.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS QmlCompiler)
target_link_libraries(mytarget PRIVATE Qt6::QmlCompiler)
ステータス: テクノロジープレビュー

このクラスはテクノロジープレビュー段階にあり、変更される可能性があります。

パブリック関数

Property()
Property(const QQmlSA::Property &other)
Property(QQmlSA::Property &&other)
~Property()
bool isReadonly() const
bool isValid() const
QQmlSA::Element type() const
QString typeName() const
QQmlSA::Property &operator=(QQmlSA::Property &&other)
QQmlSA::Property &operator=(const QQmlSA::Property &other)
bool operator!=(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)
bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &rhs)

詳細な説明

メンバー関数のドキュメント

Property::Property()

新しい Property オブジェクトを作成します。

Property::Property(const QQmlSA::Property &other)

other のコピーを作成します。

[noexcept] Property::Property(QQmlSA::Property &&other)

Propertyインスタンスをムーブコンストラクトで生成します。

[noexcept] Property::~Property()

このプロパティを破棄します。

bool Property::isReadonly() const

このプロパティが読み取り専用である場合は `true ` を返し、それ以外の場合は `false ` を返します。

bool Property::isValid() const

このプロパティが有効な場合は `true ` を返し、そうでない場合は `false ` を返します。

QQmlSA::Element Property::type() const

このプロパティの型を返します。

QString Property::typeName() const

このプロパティの型の名前を返します。

[noexcept] QQmlSA::Property &Property::operator=(QQmlSA::Property &&other)

other をこの Property インスタンスに割り当てます。

QQmlSA::Property &Property::operator=(const QQmlSA::Property &other)

このプロパティインスタンスにother を割り当てます。

関連する非メンバー

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

lhs とrhs が等しくない場合は `true ` を返し、それ以外の場合は `false ` を返します。

bool operator==(const QQmlSA::Property &lhs, const QQmlSA::Property &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.