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