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