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