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