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