- 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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description Base64Options(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 Type Method Description QByteArray.Base64Options
clone()
Clones the flagsQByteArray.Base64Options
combined(QByteArray.Base64Option e)
Combines this flags with enum entry.int
compareTo(QByteArray.Base64Options other)
QByteArray.Base64Option[]
flags()
Returns an array of flag objects represented by this Base64Options.QByteArray.Base64Options
setFlag(QByteArray.Base64Option e)
Sets the flage
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>
-