The QFlag class is a helper data type for QFlags. More...
Header: | #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.
It is equivalent to a plain int
, except with respect to function overloading and type conversions. You should never need to use this class in your applications.
See also QFlags.
Constructs a QFlag object that stores the value.
Constructs a QFlag object that stores the value.
This function was introduced in Qt 5.3.
Constructs a QFlag object that stores the value.
This function was introduced in Qt 5.3.
Constructs a QFlag object that stores the value.
This function was introduced in Qt 5.3.
Returns the value stored by the QFlag object.
Returns the value stored by the QFlag object.
This function was introduced in Qt 5.3.
© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/qt-5/qflag.html