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 ) | |
| int | operator int () const |
| uint | operator uint () const |
The QFlag class is a helper data type for QFlags .
它相當於純
int
,除瞭函數重載和類型轉換方麵。應該從不需要使用此類在您的應用程序中。
另請參閱 QFlags .
構造 QFlag object that stores the value .
構造 QFlag object that stores the value .
該函數在 Qt 5.3 引入。
構造 QFlag object that stores the value .
該函數在 Qt 5.3 引入。
構造 QFlag object that stores the value .
該函數在 Qt 5.3 引入。
Returns the value stored by the QFlag 對象。
Returns the value stored by the QFlag 對象。
該函數在 Qt 5.3 引入。