- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PerformanceHints(int value)
Creates a new PerformanceHints with givenvalue
.PerformanceHints(QQuickPaintedItem.PerformanceHint... args)
Creates a new PerformanceHints where the flags inargs
are set. -
Method Summary
Modifier and Type Method Description QQuickPaintedItem.PerformanceHints
clone()
Clones the flagsQQuickPaintedItem.PerformanceHints
combined(QQuickPaintedItem.PerformanceHint e)
Combines this flags with enum entry.int
compareTo(QQuickPaintedItem.PerformanceHints other)
QQuickPaintedItem.PerformanceHint[]
flags()
Returns an array of flag objects represented by this PerformanceHints.QQuickPaintedItem.PerformanceHints
setFlag(QQuickPaintedItem.PerformanceHint e)
Sets the flage
QQuickPaintedItem.PerformanceHints
setFlag(QQuickPaintedItem.PerformanceHint e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
PerformanceHints
Creates a new PerformanceHints where the flags inargs
are 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:
combined
in classQFlags<QQuickPaintedItem.PerformanceHint>
- Parameters:
e
- enum entry- Returns:
- new PerformanceHints
-
setFlag
Sets the flage
- Overrides:
setFlag
in 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:
setFlag
in 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:
flags
in classQFlags<QQuickPaintedItem.PerformanceHint>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QQuickPaintedItem.PerformanceHint>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QQuickPaintedItem.PerformanceHints>
-