template<typename QObjectType, typename FlagsType>
class sf::FlagsIterator< QObjectType, FlagsType >
Wrapper class to iterate over the flags set.
- Template Parameters
-
QObjectType | QObject derived class where the QFlags type is declared in. |
FlagsType | Optional since the argument in the constructor determines it. Usage is as follows:
QDialogButtonBox::StandardButtons sbs{QDialogButtonBox::Help | QDialogButtonBox::Abort};
{
qDebug() << flagsMetaEnum<QDialogButtonBox, QDialogButtonBox::StandardButtons>().valueToKey(sb);
}
Wrapper class to iterate over the flags set. Definition qt_utils.h:207
|