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