- All Implemented Interfaces:
Serializable,Cloneable,Comparable<QQuickPaintedItem.PerformanceHints>
- Enclosing class:
QQuickPaintedItem
public static final class QQuickPaintedItem.PerformanceHints
extends QFlags<QQuickPaintedItem.PerformanceHint>
implements Comparable<QQuickPaintedItem.PerformanceHints>
QFlags type for enum
QQuickPaintedItem.PerformanceHint- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPerformanceHints(int value) Creates a new PerformanceHints with givenvalue.Creates a new PerformanceHints where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intflags()Returns an array of flag objects represented by this PerformanceHints.Sets the flagesetFlag(QQuickPaintedItem.PerformanceHint e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
PerformanceHints
Creates a new PerformanceHints where the flags inargsare set.- Parameters:
args- enum entries
-
PerformanceHints
public PerformanceHints(int value) Creates a new PerformanceHints with givenvalue.- Parameters:
value-
-
-
Method Details
-
combined
Combines this flags with enum entry.- Overrides:
combinedin classQFlags<QQuickPaintedItem.PerformanceHint>- Parameters:
e- enum entry- Returns:
- new PerformanceHints
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QQuickPaintedItem.PerformanceHint>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
public final QQuickPaintedItem.PerformanceHints setFlag(QQuickPaintedItem.PerformanceHint e, boolean on) Sets or clears the flagflag- Overrides:
setFlagin classQFlags<QQuickPaintedItem.PerformanceHint>- Parameters:
e- enum entryon- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this PerformanceHints.- Overrides:
flagsin classQFlags<QQuickPaintedItem.PerformanceHint>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QQuickPaintedItem.PerformanceHint>
-
compareTo
- Specified by:
compareToin interfaceComparable<QQuickPaintedItem.PerformanceHints>
-