java.lang.Object
io.qt.QFlags<QBluetoothDeviceInfo.CoreConfiguration>
io.qt.bluetooth.QBluetoothDeviceInfo.CoreConfigurations
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<QBluetoothDeviceInfo.CoreConfigurations>
- Enclosing class:
QBluetoothDeviceInfo
public static final class QBluetoothDeviceInfo.CoreConfigurations
extends QFlags<QBluetoothDeviceInfo.CoreConfiguration>
implements Comparable<QBluetoothDeviceInfo.CoreConfigurations>
QFlags
type for enum QBluetoothDeviceInfo.CoreConfiguration
- See Also:
-
Constructor Summary
ConstructorDescriptionCoreConfigurations
(int value) Creates a new CoreConfigurations with givenvalue
.Creates a new CoreConfigurations where the flags inargs
are set. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Clones the flagsCombines this flags with enum entry.final int
flags()
Returns an array of flag objects represented by this CoreConfigurations.Sets the flage
setFlag
(QBluetoothDeviceInfo.CoreConfiguration e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
CoreConfigurations
Creates a new CoreConfigurations where the flags inargs
are set.- Parameters:
args
- enum entries
-
CoreConfigurations
public CoreConfigurations(int value) Creates a new CoreConfigurations with givenvalue
.- Parameters:
value
-
-
-
Method Details
-
combined
public final QBluetoothDeviceInfo.CoreConfigurations combined(QBluetoothDeviceInfo.CoreConfiguration e) Combines this flags with enum entry.- Overrides:
combined
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Parameters:
e
- enum entry- Returns:
- new CoreConfigurations
-
setFlag
public final QBluetoothDeviceInfo.CoreConfigurations setFlag(QBluetoothDeviceInfo.CoreConfiguration e) Sets the flage
- Overrides:
setFlag
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Parameters:
e
- enum entry- Returns:
- this
-
setFlag
public final QBluetoothDeviceInfo.CoreConfigurations setFlag(QBluetoothDeviceInfo.CoreConfiguration e, boolean on) Sets or clears the flagflag
- Overrides:
setFlag
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Parameters:
e
- enum entryon
- set (true) or clear (false)- Returns:
- this
-
flags
Returns an array of flag objects represented by this CoreConfigurations.- Overrides:
flags
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clone
in classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
-
compareTo
- Specified by:
compareTo
in interfaceComparable<QBluetoothDeviceInfo.CoreConfigurations>
-