- All Implemented Interfaces:
QMetaType.GenericTypeInterface
,Serializable
,Cloneable
,Comparable<QFlags<?>>
- Enclosing class:
QMetaType
public static final class QMetaType.GenericFlags
extends QFlags<QMetaType.GenericFlag>
implements QMetaType.GenericTypeInterface, Comparable<QFlags<?>>
This class represents a QMetaType-registered but Java-unknown QFlags type.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncleared
(QMetaType.GenericFlag flag) clone()
Clones the flagsint
flags()
Returns an array of flag objects represented by this QFlags.final QMetaType
metaType()
final QMetaType.GenericFlags
Sets the flage
final QMetaType.GenericFlags
setFlag
(QMetaType.GenericFlag e, boolean on) Sets or clears the flagflag
-
Method Details
-
metaType
- Specified by:
metaType
in interfaceQMetaType.GenericTypeInterface
-
flags
Description copied from class:QFlags
Returns an array of flag objects represented by this QFlags.- Overrides:
flags
in classQFlags<QMetaType.GenericFlag>
- Returns:
- array of enum entries
-
clone
Description copied from class:QFlags
Clones the flags- Overrides:
clone
in classQFlags<QMetaType.GenericFlag>
-
combined
Description copied from class:QFlags
- Overrides:
combined
in classQFlags<QMetaType.GenericFlag>
-
cleared
Description copied from class:QFlags
- Overrides:
cleared
in classQFlags<QMetaType.GenericFlag>
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QMetaType.GenericFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QMetaType.GenericFlag>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QFlags<?>>
-