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
ConstructorsConstructorDescriptionCreates a new CoreConfigurations.CoreConfigurations
(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
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
CoreConfigurations
public CoreConfigurations()Creates a new CoreConfigurations. -
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>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value
- new value
-