QFlag Class
QFlag クラスは、QFlags のヘルパー・データ型です。詳細...
ヘッダー | #include <QFlag> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
パブリック関数
QFlag(int value) | |
QFlag(short value) | |
QFlag(uint value) | |
QFlag(ushort value) | |
int | operator int() const |
uint | operator uint() const |
QFlagsも参照してください 。
メンバ関数ドキュメント
[constexpr noexcept]
QFlag::QFlag(int value)
value を格納する QFlag オブジェクトを構築する。
[constexpr noexcept]
QFlag::QFlag(short value)
value を格納する QFlag オブジェクトを構築する。
[constexpr noexcept]
QFlag::QFlag(uint value)
value を格納する QFlag オブジェクトを構築する。
[constexpr noexcept]
QFlag::QFlag(ushort value)
value を格納する QFlag オブジェクトを構築する。
[constexpr noexcept]
int QFlag::operator int() const
QFlag オブジェクトが格納している値を返します。
[constexpr noexcept]
uint QFlag::operator uint() const
QFlag オブジェクトが格納している値を返します。
© 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.