- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QDirIterator.IteratorFlags>
- Enclosing class:
- QDirIterator
public static final class QDirIterator.IteratorFlags
extends QFlags<QDirIterator.IteratorFlag>
implements Comparable<QDirIterator.IteratorFlags>
QFlags type for enum
QDirIterator.IteratorFlag
- See Also:
-
Constructor Summary
ConstructorDescriptionIteratorFlags
(int value) Creates a new IteratorFlags with givenvalue
.IteratorFlags
(QDirIterator.IteratorFlag... args) 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
final QDirIterator.IteratorFlag[]
flags()
Returns an array of flag objects represented by this IteratorFlags.Sets the flage
setFlag
(QDirIterator.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<QDirIterator.IteratorFlag>
- Parameters:
e
- enum entry- Returns:
- new IteratorFlags
-
setFlag
Sets the flage
- Overrides:
setFlag
in classQFlags<QDirIterator.IteratorFlag>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QDirIterator.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<QDirIterator.IteratorFlag>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QDirIterator.IteratorFlag>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QDirIterator.IteratorFlags>
-