- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DirtyFlags(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 Type Method Description QPaintEngine.DirtyFlags
clone()
Clones the flagsQPaintEngine.DirtyFlags
combined(QPaintEngine.DirtyFlag e)
Combines this flags with enum entry.int
compareTo(QPaintEngine.DirtyFlags other)
QPaintEngine.DirtyFlag[]
flags()
Returns an array of flag objects represented by this DirtyFlags.QPaintEngine.DirtyFlags
setFlag(QPaintEngine.DirtyFlag e)
Sets the flage
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>
-