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