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