The QFlag class is a helper data type for QFlags. More...
Header: | #include <QFlag> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
QFlag(ushort value) | |
QFlag(short value) | |
QFlag(uint value) | |
QFlag(int value) | |
int | operator int() const |
uint | operator uint() const |
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.
[since 5.3]
QFlag::QFlag(ushort value)Constructs a QFlag object that stores the value.
This function was introduced in Qt 5.3.
[since 5.3]
QFlag::QFlag(short value)Constructs a QFlag object that stores the value.
This function was introduced in Qt 5.3.
[since 5.3]
QFlag::QFlag(uint 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.
Returns the value stored by the QFlag object.
[since 5.3]
uint QFlag::operator uint() constReturns the value stored by the QFlag object.
This function was introduced in Qt 5.3.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: