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