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