- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QOpenGLDebugMessage.Types>
- Enclosing class:
- QOpenGLDebugMessage
public static final class QOpenGLDebugMessage.Types extends QFlags<QOpenGLDebugMessage.Type> implements Comparable<QOpenGLDebugMessage.Types>
QFlags type for enum
QOpenGLDebugMessage.Type
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Types(int value)
Creates a new Types with givenvalue
.Types(QOpenGLDebugMessage.Type... args)
Creates a new Types where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QOpenGLDebugMessage.Types
clone()
Clones the flagsQOpenGLDebugMessage.Types
combined(QOpenGLDebugMessage.Type e)
Combines this flags with enum entry.int
compareTo(QOpenGLDebugMessage.Types other)
QOpenGLDebugMessage.Type[]
flags()
Returns an array of flag objects represented by this Types.QOpenGLDebugMessage.Types
setFlag(QOpenGLDebugMessage.Type e)
Sets the flage
QOpenGLDebugMessage.Types
setFlag(QOpenGLDebugMessage.Type e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QOpenGLDebugMessage.Type>
- Parameters:
e
- enum entry- Returns:
- new Types
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QOpenGLDebugMessage.Type>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QOpenGLDebugMessage.Type>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this Types.- Overrides:
flags
in classQFlags<QOpenGLDebugMessage.Type>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QOpenGLDebugMessage.Type>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QOpenGLDebugMessage.Types>
-