- 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
ConstructorsConstructorDescriptionLanguageCodeTypes(int value) Creates a new LanguageCodeTypes with givenvalue.LanguageCodeTypes(QLocale.LanguageCodeType ... args) Creates a new LanguageCodeTypes where the flags inargsare set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Clones the flagsCombines this flags with enum entry.final intfinal QLocale.LanguageCodeType []flags()Returns an array of flag objects represented by this LanguageCodeTypes.Sets the flagesetFlag(QLocale.LanguageCodeType e, boolean on) Sets or clears the flagflag
-
Constructor Details
-
LanguageCodeTypes
Creates a new LanguageCodeTypes where the flags inargsare 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:
combinedin classQFlags<QLocale.LanguageCodeType>- Parameters:
e- enum entry- Returns:
- new LanguageCodeTypes
-
setFlag
Sets the flage- Overrides:
setFlagin classQFlags<QLocale.LanguageCodeType>- Parameters:
e- enum entry- Returns:
- this
-
setFlag
Sets or clears the flagflag- Overrides:
setFlagin 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:
flagsin classQFlags<QLocale.LanguageCodeType>- Returns:
- array of enum entries
-
clone
Clones the flags- Overrides:
clonein classQFlags<QLocale.LanguageCodeType>
-
compareTo
- Specified by:
compareToin interfaceComparable<QLocale.LanguageCodeTypes>
-