- 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
ConstructorDescriptionCreates a new SslOptions.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 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
final void
setValue
(int value) Sets the value of this QFlags.final int
value()
Returns the value of this QFlags.
-
Constructor Details
-
SslOptions
public SslOptions()Creates a new SslOptions. -
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>
-
value
public final int value()Returns the value of this QFlags. -
setValue
public final void setValue(int value) Sets the value of this QFlags.- Parameters:
value
- new value
-