- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description LoadHints(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 Type Method Description QLibrary.LoadHints
clone()
Clones the flagsQLibrary.LoadHints
combined(QLibrary.LoadHint e)
Combines this flags with enum entry.int
compareTo(QLibrary.LoadHints other)
QLibrary.LoadHint[]
flags()
Returns an array of flag objects represented by this LoadHints.QLibrary.LoadHints
setFlag(QLibrary.LoadHint e)
Sets the flage
QLibrary.LoadHints
setFlag(QLibrary.LoadHint e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
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>
-