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