The QFlag class is a helper data type for QFlags . 更多...
| 头: | #include <QFlag> |
| qmake: | QT += core |
| QFlag (int value ) | |
| QFlag (uint value ) | |
| QFlag (short value ) | |
| QFlag (ushort value ) | |
| operator int () const | |
| operator uint () const |
The QFlag class is a helper data type for QFlags .
它相当于纯
int
,除了函数重载和类型转换方面。应该从不需要使用此类在您的应用程序中。
另请参阅 QFlags .
构造 QFlag object that stores the given value .
构造 QFlag object that stores the given value .
该函数在 Qt 5.3 引入。
构造 QFlag object that stores the given value .
该函数在 Qt 5.3 引入。
构造 QFlag object that stores the given value .
该函数在 Qt 5.3 引入。
Returns the value stored by the QFlag 对象。
Returns the value stored by the QFlag 对象。
该函数在 Qt 5.3 引入。