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