- 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:
-
Constructor Summary
ConstructorDescriptionSslOptions
(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 TypeMethodDescriptionfinal QSsl.SslOptions
clone()
Clones the flagsfinal QSsl.SslOptions
Combines this flags with enum entry.final int
compareTo
(QSsl.SslOptions other) final QSsl.SslOption []
flags()
Returns an array of flag objects represented by this SslOptions.final QSsl.SslOptions
Sets the flage
final 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>
-