- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BindMode(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 Type Method Description QAbstractSocket.BindMode
clone()
Clones the flagsQAbstractSocket.BindMode
combined(QAbstractSocket.BindFlag e)
Combines this flags with enum entry.int
compareTo(QAbstractSocket.BindMode other)
QAbstractSocket.BindFlag[]
flags()
Returns an array of flag objects represented by this BindMode.QAbstractSocket.BindMode
setFlag(QAbstractSocket.BindFlag e)
Sets the flage
QAbstractSocket.BindMode
setFlag(QAbstractSocket.BindFlag e, boolean on)
Sets or clears the flagflag
-
Constructor Details
-
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>
-