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 inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intflags()Returns an array of flag objects represented by this CoreConfigurations.Sets the flagesetFlag(QBluetoothDeviceInfo.CoreConfiguration e, boolean on) Sets or clears the flagflagfinal voidsetValue(int value) Sets the value of this QFlags.final intvalue()Returns the value of this QFlags.
-
Constructor Details
-
CoreConfigurations
public CoreConfigurations()Creates a new CoreConfigurations. -
CoreConfigurations
Creates a new CoreConfigurations where the flags inargsare 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:
combinedin classQFlags<QBluetoothDeviceInfo.CoreConfiguration>- Parameters:
e- enum entry- Returns:
- new CoreConfigurations
-
setFlag
public final QBluetoothDeviceInfo.CoreConfigurations setFlag(QBluetoothDeviceInfo.CoreConfiguration e) Sets the flage- Overrides:
setFlagin 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:
setFlagin 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:
flagsin classQFlags<QBluetoothDeviceInfo.CoreConfiguration>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QBluetoothDeviceInfo.CoreConfiguration>
-
compareTo
- Specified by:
compareToin 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
-