- 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
ConstructorsConstructorDescriptionSslOptions(int value) Creates a new SslOptions with givenvalue.SslOptions(QSsl.SslOption... args) Creates a new SslOptions where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionfinal QSsl.SslOptionsclone()Clones the flagsfinal QSsl.SslOptionsCombines this flags with enum entry.final intcompareTo(QSsl.SslOptions other) final QSsl.SslOption[]flags()Returns an array of flag objects represented by this SslOptions.final QSsl.SslOptionsSets the flagefinal QSsl.SslOptionssetFlag(QSsl.SslOption e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
SslOptions
Creates a new SslOptions where the flags inargsare 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:
combinedin classQFlags<QSsl.SslOption>- Parameters:
e- enum entry- Returns:
- new SslOptions
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QSsl.SslOption>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QSsl.SslOption>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QSsl.SslOption>
-
compareTo
- Specified by:
compareToin interfaceComparable<QSsl.SslOptions>
-