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