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