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