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