- 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:
-
Constructor Summary
ConstructorDescriptionTypes
(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 TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
final QOpenGLDebugMessage.Type []
flags()
Returns an array of flag objects represented by this Types.Sets the flage
setFlag
(QOpenGLDebugMessage.Type e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
Types
Creates a new Types where the flags inargs
are set.- Parameters:
args
- enum entries
-
Types
public Types(int value) Creates a new Types with givenvalue
.- Parameters:
value
-
-
-
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>
-