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