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