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