- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Sources(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 Type Method Description QOpenGLDebugMessage.Sources
clone()
Clones the flagsQOpenGLDebugMessage.Sources
combined(QOpenGLDebugMessage.Source e)
Combines this flags with enum entry.int
compareTo(QOpenGLDebugMessage.Sources other)
QOpenGLDebugMessage.Source[]
flags()
Returns an array of flag objects represented by this Sources.QOpenGLDebugMessage.Sources
setFlag(QOpenGLDebugMessage.Source e)
Sets the flage
QOpenGLDebugMessage.Sources
setFlag(QOpenGLDebugMessage.Source e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
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>
-