io.qt.core.QLocale Maven / Gradle / Ivy
package io.qt.core;
/**
* Converts between numbers and their string representations in various languages
* Java wrapper for Qt class QLocale
*/
public class QLocale extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QLocale.class);
/**
* Java wrapper for Qt enum QLocale::Country
*/
@io.qt.QtRejectedEntries({"AnyTerritory", "NauruTerritory", "TokelauTerritory", "TuvaluTerritory", "Bonaire", "BosniaAndHerzegowina", "CuraSao", "CzechRepublic", "DemocraticRepublicOfCongo", "DemocraticRepublicOfKorea", "EastTimor", "LatinAmericaAndTheCaribbean", "Macau", "PeoplesRepublicOfCongo", "RepublicOfKorea", "RussianFederation", "SaintVincentAndTheGrenadines", "SouthGeorgiaAndTheSouthSandwichIslands", "SvalbardAndJanMayenIslands", "Swaziland", "SyrianArabRepublic", "UnitedStatesMinorOutlyingIslands", "VaticanCityState", "WallisAndFutunaIslands", "LastTerritory", "LastCountry"})
public enum Country implements io.qt.QtShortEnumerator {
AnyTerritory((short)0),
Afghanistan((short)1),
AlandIslands((short)2),
Albania((short)3),
Algeria((short)4),
AmericanSamoa((short)5),
Andorra((short)6),
Angola((short)7),
Anguilla((short)8),
Antarctica((short)9),
AntiguaAndBarbuda((short)10),
Argentina((short)11),
Armenia((short)12),
Aruba((short)13),
AscensionIsland((short)14),
Australia((short)15),
Austria((short)16),
Azerbaijan((short)17),
Bahamas((short)18),
Bahrain((short)19),
Bangladesh((short)20),
Barbados((short)21),
Belarus((short)22),
Belgium((short)23),
Belize((short)24),
Benin((short)25),
Bermuda((short)26),
Bhutan((short)27),
Bolivia((short)28),
BosniaAndHerzegovina((short)29),
Botswana((short)30),
BouvetIsland((short)31),
Brazil((short)32),
BritishIndianOceanTerritory((short)33),
BritishVirginIslands((short)34),
Brunei((short)35),
Bulgaria((short)36),
BurkinaFaso((short)37),
Burundi((short)38),
Cambodia((short)39),
Cameroon((short)40),
Canada((short)41),
CanaryIslands((short)42),
CapeVerde((short)43),
CaribbeanNetherlands((short)44),
CaymanIslands((short)45),
CentralAfricanRepublic((short)46),
CeutaAndMelilla((short)47),
Chad((short)48),
Chile((short)49),
China((short)50),
ChristmasIsland((short)51),
ClippertonIsland((short)52),
CocosIslands((short)53),
Colombia((short)54),
Comoros((short)55),
CongoBrazzaville((short)56),
CongoKinshasa((short)57),
CookIslands((short)58),
CostaRica((short)59),
Croatia((short)60),
Cuba((short)61),
Curacao((short)62),
Cyprus((short)63),
Czechia((short)64),
Denmark((short)65),
DiegoGarcia((short)66),
Djibouti((short)67),
Dominica((short)68),
DominicanRepublic((short)69),
Ecuador((short)70),
Egypt((short)71),
ElSalvador((short)72),
EquatorialGuinea((short)73),
Eritrea((short)74),
Estonia((short)75),
Eswatini((short)76),
Ethiopia((short)77),
Europe((short)78),
EuropeanUnion((short)79),
FalklandIslands((short)80),
FaroeIslands((short)81),
Fiji((short)82),
Finland((short)83),
France((short)84),
FrenchGuiana((short)85),
FrenchPolynesia((short)86),
FrenchSouthernTerritories((short)87),
Gabon((short)88),
Gambia((short)89),
Georgia((short)90),
Germany((short)91),
Ghana((short)92),
Gibraltar((short)93),
Greece((short)94),
Greenland((short)95),
Grenada((short)96),
Guadeloupe((short)97),
Guam((short)98),
Guatemala((short)99),
Guernsey((short)100),
GuineaBissau((short)101),
Guinea((short)102),
Guyana((short)103),
Haiti((short)104),
HeardAndMcDonaldIslands((short)105),
Honduras((short)106),
HongKong((short)107),
Hungary((short)108),
Iceland((short)109),
India((short)110),
Indonesia((short)111),
Iran((short)112),
Iraq((short)113),
Ireland((short)114),
IsleOfMan((short)115),
Israel((short)116),
Italy((short)117),
IvoryCoast((short)118),
Jamaica((short)119),
Japan((short)120),
Jersey((short)121),
Jordan((short)122),
Kazakhstan((short)123),
Kenya((short)124),
Kiribati((short)125),
Kosovo((short)126),
Kuwait((short)127),
Kyrgyzstan((short)128),
Laos((short)129),
LatinAmerica((short)130),
Latvia((short)131),
Lebanon((short)132),
Lesotho((short)133),
Liberia((short)134),
Libya((short)135),
Liechtenstein((short)136),
Lithuania((short)137),
Luxembourg((short)138),
Macao((short)139),
Macedonia((short)140),
Madagascar((short)141),
Malawi((short)142),
Malaysia((short)143),
Maldives((short)144),
Mali((short)145),
Malta((short)146),
MarshallIslands((short)147),
Martinique((short)148),
Mauritania((short)149),
Mauritius((short)150),
Mayotte((short)151),
Mexico((short)152),
Micronesia((short)153),
Moldova((short)154),
Monaco((short)155),
Mongolia((short)156),
Montenegro((short)157),
Montserrat((short)158),
Morocco((short)159),
Mozambique((short)160),
Myanmar((short)161),
Namibia((short)162),
NauruTerritory((short)163),
Nepal((short)164),
Netherlands((short)165),
NewCaledonia((short)166),
NewZealand((short)167),
Nicaragua((short)168),
Nigeria((short)169),
Niger((short)170),
Niue((short)171),
NorfolkIsland((short)172),
NorthernMarianaIslands((short)173),
NorthKorea((short)174),
Norway((short)175),
Oman((short)176),
OutlyingOceania((short)177),
Pakistan((short)178),
Palau((short)179),
PalestinianTerritories((short)180),
Panama((short)181),
PapuaNewGuinea((short)182),
Paraguay((short)183),
Peru((short)184),
Philippines((short)185),
Pitcairn((short)186),
Poland((short)187),
Portugal((short)188),
PuertoRico((short)189),
Qatar((short)190),
Reunion((short)191),
Romania((short)192),
Russia((short)193),
Rwanda((short)194),
SaintBarthelemy((short)195),
SaintHelena((short)196),
SaintKittsAndNevis((short)197),
SaintLucia((short)198),
SaintMartin((short)199),
SaintPierreAndMiquelon((short)200),
SaintVincentAndGrenadines((short)201),
Samoa((short)202),
SanMarino((short)203),
SaoTomeAndPrincipe((short)204),
SaudiArabia((short)205),
Senegal((short)206),
Serbia((short)207),
Seychelles((short)208),
SierraLeone((short)209),
Singapore((short)210),
SintMaarten((short)211),
Slovakia((short)212),
Slovenia((short)213),
SolomonIslands((short)214),
Somalia((short)215),
SouthAfrica((short)216),
SouthGeorgiaAndSouthSandwichIslands((short)217),
SouthKorea((short)218),
SouthSudan((short)219),
Spain((short)220),
SriLanka((short)221),
Sudan((short)222),
Suriname((short)223),
SvalbardAndJanMayen((short)224),
Sweden((short)225),
Switzerland((short)226),
Syria((short)227),
Taiwan((short)228),
Tajikistan((short)229),
Tanzania((short)230),
Thailand((short)231),
TimorLeste((short)232),
Togo((short)233),
TokelauTerritory((short)234),
Tonga((short)235),
TrinidadAndTobago((short)236),
TristanDaCunha((short)237),
Tunisia((short)238),
Turkey((short)239),
Turkmenistan((short)240),
TurksAndCaicosIslands((short)241),
TuvaluTerritory((short)242),
Uganda((short)243),
Ukraine((short)244),
UnitedArabEmirates((short)245),
UnitedKingdom((short)246),
UnitedStatesOutlyingIslands((short)247),
UnitedStates((short)248),
UnitedStatesVirginIslands((short)249),
Uruguay((short)250),
Uzbekistan((short)251),
Vanuatu((short)252),
VaticanCity((short)253),
Venezuela((short)254),
Vietnam((short)255),
WallisAndFutuna((short)256),
WesternSahara((short)257),
World((short)258),
Yemen((short)259),
Zambia((short)260),
Zimbabwe((short)261),
AnyCountry((short)0),
Bonaire((short)44),
BosniaAndHerzegowina((short)29),
CuraSao((short)62),
CzechRepublic((short)64),
DemocraticRepublicOfCongo((short)57),
DemocraticRepublicOfKorea((short)174),
EastTimor((short)232),
LatinAmericaAndTheCaribbean((short)130),
Macau((short)139),
NauruCountry((short)163),
PeoplesRepublicOfCongo((short)56),
RepublicOfKorea((short)218),
RussianFederation((short)193),
SaintVincentAndTheGrenadines((short)201),
SouthGeorgiaAndTheSouthSandwichIslands((short)217),
SvalbardAndJanMayenIslands((short)224),
Swaziland((short)76),
SyrianArabRepublic((short)227),
TokelauCountry((short)234),
TuvaluCountry((short)242),
UnitedStatesMinorOutlyingIslands((short)247),
VaticanCityState((short)253),
WallisAndFutunaIslands((short)256),
LastTerritory((short)261),
LastCountry((short)261);
private Country(short value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public short value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Country resolve(short value) {
switch (value) {
case 1: return Afghanistan;
case 2: return AlandIslands;
case 3: return Albania;
case 4: return Algeria;
case 5: return AmericanSamoa;
case 6: return Andorra;
case 7: return Angola;
case 8: return Anguilla;
case 9: return Antarctica;
case 10: return AntiguaAndBarbuda;
case 11: return Argentina;
case 12: return Armenia;
case 13: return Aruba;
case 14: return AscensionIsland;
case 15: return Australia;
case 16: return Austria;
case 17: return Azerbaijan;
case 18: return Bahamas;
case 19: return Bahrain;
case 20: return Bangladesh;
case 21: return Barbados;
case 22: return Belarus;
case 23: return Belgium;
case 24: return Belize;
case 25: return Benin;
case 26: return Bermuda;
case 27: return Bhutan;
case 28: return Bolivia;
case 29: return BosniaAndHerzegovina;
case 30: return Botswana;
case 31: return BouvetIsland;
case 32: return Brazil;
case 33: return BritishIndianOceanTerritory;
case 34: return BritishVirginIslands;
case 35: return Brunei;
case 36: return Bulgaria;
case 37: return BurkinaFaso;
case 38: return Burundi;
case 39: return Cambodia;
case 40: return Cameroon;
case 41: return Canada;
case 42: return CanaryIslands;
case 43: return CapeVerde;
case 44: return CaribbeanNetherlands;
case 45: return CaymanIslands;
case 46: return CentralAfricanRepublic;
case 47: return CeutaAndMelilla;
case 48: return Chad;
case 49: return Chile;
case 50: return China;
case 51: return ChristmasIsland;
case 52: return ClippertonIsland;
case 53: return CocosIslands;
case 54: return Colombia;
case 55: return Comoros;
case 56: return CongoBrazzaville;
case 57: return CongoKinshasa;
case 58: return CookIslands;
case 59: return CostaRica;
case 60: return Croatia;
case 61: return Cuba;
case 62: return Curacao;
case 63: return Cyprus;
case 64: return Czechia;
case 65: return Denmark;
case 66: return DiegoGarcia;
case 67: return Djibouti;
case 68: return Dominica;
case 69: return DominicanRepublic;
case 70: return Ecuador;
case 71: return Egypt;
case 72: return ElSalvador;
case 73: return EquatorialGuinea;
case 74: return Eritrea;
case 75: return Estonia;
case 76: return Eswatini;
case 77: return Ethiopia;
case 78: return Europe;
case 79: return EuropeanUnion;
case 80: return FalklandIslands;
case 81: return FaroeIslands;
case 82: return Fiji;
case 83: return Finland;
case 84: return France;
case 85: return FrenchGuiana;
case 86: return FrenchPolynesia;
case 87: return FrenchSouthernTerritories;
case 88: return Gabon;
case 89: return Gambia;
case 90: return Georgia;
case 91: return Germany;
case 92: return Ghana;
case 93: return Gibraltar;
case 94: return Greece;
case 95: return Greenland;
case 96: return Grenada;
case 97: return Guadeloupe;
case 98: return Guam;
case 99: return Guatemala;
case 100: return Guernsey;
case 101: return GuineaBissau;
case 102: return Guinea;
case 103: return Guyana;
case 104: return Haiti;
case 105: return HeardAndMcDonaldIslands;
case 106: return Honduras;
case 107: return HongKong;
case 108: return Hungary;
case 109: return Iceland;
case 110: return India;
case 111: return Indonesia;
case 112: return Iran;
case 113: return Iraq;
case 114: return Ireland;
case 115: return IsleOfMan;
case 116: return Israel;
case 117: return Italy;
case 118: return IvoryCoast;
case 119: return Jamaica;
case 120: return Japan;
case 121: return Jersey;
case 122: return Jordan;
case 123: return Kazakhstan;
case 124: return Kenya;
case 125: return Kiribati;
case 126: return Kosovo;
case 127: return Kuwait;
case 128: return Kyrgyzstan;
case 129: return Laos;
case 130: return LatinAmerica;
case 131: return Latvia;
case 132: return Lebanon;
case 133: return Lesotho;
case 134: return Liberia;
case 135: return Libya;
case 136: return Liechtenstein;
case 137: return Lithuania;
case 138: return Luxembourg;
case 139: return Macao;
case 140: return Macedonia;
case 141: return Madagascar;
case 142: return Malawi;
case 143: return Malaysia;
case 144: return Maldives;
case 145: return Mali;
case 146: return Malta;
case 147: return MarshallIslands;
case 148: return Martinique;
case 149: return Mauritania;
case 150: return Mauritius;
case 151: return Mayotte;
case 152: return Mexico;
case 153: return Micronesia;
case 154: return Moldova;
case 155: return Monaco;
case 156: return Mongolia;
case 157: return Montenegro;
case 158: return Montserrat;
case 159: return Morocco;
case 160: return Mozambique;
case 161: return Myanmar;
case 162: return Namibia;
case 164: return Nepal;
case 165: return Netherlands;
case 166: return NewCaledonia;
case 167: return NewZealand;
case 168: return Nicaragua;
case 169: return Nigeria;
case 170: return Niger;
case 171: return Niue;
case 172: return NorfolkIsland;
case 173: return NorthernMarianaIslands;
case 174: return NorthKorea;
case 175: return Norway;
case 176: return Oman;
case 177: return OutlyingOceania;
case 178: return Pakistan;
case 179: return Palau;
case 180: return PalestinianTerritories;
case 181: return Panama;
case 182: return PapuaNewGuinea;
case 183: return Paraguay;
case 184: return Peru;
case 185: return Philippines;
case 186: return Pitcairn;
case 187: return Poland;
case 188: return Portugal;
case 189: return PuertoRico;
case 190: return Qatar;
case 191: return Reunion;
case 192: return Romania;
case 193: return Russia;
case 194: return Rwanda;
case 195: return SaintBarthelemy;
case 196: return SaintHelena;
case 197: return SaintKittsAndNevis;
case 198: return SaintLucia;
case 199: return SaintMartin;
case 200: return SaintPierreAndMiquelon;
case 201: return SaintVincentAndGrenadines;
case 202: return Samoa;
case 203: return SanMarino;
case 204: return SaoTomeAndPrincipe;
case 205: return SaudiArabia;
case 206: return Senegal;
case 207: return Serbia;
case 208: return Seychelles;
case 209: return SierraLeone;
case 210: return Singapore;
case 211: return SintMaarten;
case 212: return Slovakia;
case 213: return Slovenia;
case 214: return SolomonIslands;
case 215: return Somalia;
case 216: return SouthAfrica;
case 217: return SouthGeorgiaAndSouthSandwichIslands;
case 218: return SouthKorea;
case 219: return SouthSudan;
case 220: return Spain;
case 221: return SriLanka;
case 222: return Sudan;
case 223: return Suriname;
case 224: return SvalbardAndJanMayen;
case 225: return Sweden;
case 226: return Switzerland;
case 227: return Syria;
case 228: return Taiwan;
case 229: return Tajikistan;
case 230: return Tanzania;
case 231: return Thailand;
case 232: return TimorLeste;
case 233: return Togo;
case 235: return Tonga;
case 236: return TrinidadAndTobago;
case 237: return TristanDaCunha;
case 238: return Tunisia;
case 239: return Turkey;
case 240: return Turkmenistan;
case 241: return TurksAndCaicosIslands;
case 243: return Uganda;
case 244: return Ukraine;
case 245: return UnitedArabEmirates;
case 246: return UnitedKingdom;
case 247: return UnitedStatesOutlyingIslands;
case 248: return UnitedStates;
case 249: return UnitedStatesVirginIslands;
case 250: return Uruguay;
case 251: return Uzbekistan;
case 252: return Vanuatu;
case 253: return VaticanCity;
case 254: return Venezuela;
case 255: return Vietnam;
case 256: return WallisAndFutuna;
case 257: return WesternSahara;
case 258: return World;
case 259: return Yemen;
case 260: return Zambia;
case 261: return Zimbabwe;
case 0: return AnyCountry;
case 163: return NauruCountry;
case 234: return TokelauCountry;
case 242: return TuvaluCountry;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final short value;
}
/**
* Java wrapper for Qt enum QLocale::CurrencySymbolFormat
*/
public enum CurrencySymbolFormat implements io.qt.QtEnumerator {
CurrencyIsoCode(0),
CurrencySymbol(1),
CurrencyDisplayName(2);
private CurrencySymbolFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static CurrencySymbolFormat resolve(int value) {
switch (value) {
case 0: return CurrencyIsoCode;
case 1: return CurrencySymbol;
case 2: return CurrencyDisplayName;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QLocale::DataSizeFormat
*
* @see DataSizeFormats
*/
@io.qt.QtRejectedEntries({"DataSizeTraditionalFormat"})
public enum DataSizeFormat implements io.qt.QtFlagEnumerator {
DataSizeBase1000(1),
DataSizeSIQuantifiers(2),
DataSizeIecFormat(0),
DataSizeTraditionalFormat(2),
DataSizeSIFormat(3);
private DataSizeFormat(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public DataSizeFormats asFlags() {
return new DataSizeFormats(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public DataSizeFormats combined(DataSizeFormat e) {
return new DataSizeFormats(this, e);
}
/**
* Creates a new {@link DataSizeFormats} from the entries.
* @param values entries
* @return new flag
*/
public static DataSizeFormats flags(DataSizeFormat ... values) {
return new DataSizeFormats(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static DataSizeFormat resolve(int value) {
switch (value) {
case 1: return DataSizeBase1000;
case 2: return DataSizeSIQuantifiers;
case 0: return DataSizeIecFormat;
case 3: return DataSizeSIFormat;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link DataSizeFormat}
*/
public static final class DataSizeFormats extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0xd11fa9d056609241L;
/**
* Creates a new DataSizeFormats where the flags in args
are set.
* @param args enum entries
*/
public DataSizeFormats(DataSizeFormat ... args){
super(args);
}
/**
* Creates a new DataSizeFormats with given value
.
* @param value
*/
public DataSizeFormats(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new DataSizeFormats
*/
@Override
public final DataSizeFormats combined(DataSizeFormat e){
return new DataSizeFormats(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final DataSizeFormats setFlag(DataSizeFormat e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final DataSizeFormats setFlag(DataSizeFormat e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this DataSizeFormats.
* @return array of enum entries
*/
@Override
public final DataSizeFormat[] flags(){
return super.flags(DataSizeFormat.values());
}
/**
* {@inheritDoc}
*/
@Override
public final DataSizeFormats clone(){
return new DataSizeFormats(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(DataSizeFormats other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QLocale::FloatingPointPrecisionOption
*/
public enum FloatingPointPrecisionOption implements io.qt.QtEnumerator {
FloatingPointShortest(-128);
private FloatingPointPrecisionOption(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static FloatingPointPrecisionOption resolve(int value) {
switch (value) {
case -128: return FloatingPointShortest;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QLocale::FormatType
*/
public enum FormatType implements io.qt.QtEnumerator {
LongFormat(0),
ShortFormat(1),
NarrowFormat(2);
private FormatType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static FormatType resolve(int value) {
switch (value) {
case 0: return LongFormat;
case 1: return ShortFormat;
case 2: return NarrowFormat;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QLocale::Language
*/
@io.qt.QtRejectedEntries({"Afan", "Bengali", "Bhutani", "Byelorussian", "Cambodian", "CentralMoroccoTamazight", "Chewa", "Frisian", "Greenlandic", "Inupiak", "Kirghiz", "Kurundi", "Kwanyama", "Navaho", "Oriya", "RhaetoRomance", "Uighur", "Uigur", "Walamo", "LastLanguage"})
public enum Language implements io.qt.QtShortEnumerator {
AnyLanguage((short)0),
C((short)1),
Abkhazian((short)2),
Afar((short)3),
Afrikaans((short)4),
Aghem((short)5),
Akan((short)6),
Akkadian((short)7),
Akoose((short)8),
Albanian((short)9),
AmericanSignLanguage((short)10),
Amharic((short)11),
AncientEgyptian((short)12),
AncientGreek((short)13),
Arabic((short)14),
Aragonese((short)15),
Aramaic((short)16),
Armenian((short)17),
Assamese((short)18),
Asturian((short)19),
Asu((short)20),
Atsam((short)21),
Avaric((short)22),
Avestan((short)23),
Aymara((short)24),
Azerbaijani((short)25),
Bafia((short)26),
Balinese((short)27),
Bambara((short)28),
Bamun((short)29),
Bangla((short)30),
Basaa((short)31),
Bashkir((short)32),
Basque((short)33),
BatakToba((short)34),
Belarusian((short)35),
Bemba((short)36),
Bena((short)37),
Bhojpuri((short)38),
Bislama((short)39),
Blin((short)40),
Bodo((short)41),
Bosnian((short)42),
Breton((short)43),
Buginese((short)44),
Bulgarian((short)45),
Burmese((short)46),
Cantonese((short)47),
Catalan((short)48),
Cebuano((short)49),
CentralAtlasTamazight((short)50),
CentralKurdish((short)51),
Chakma((short)52),
Chamorro((short)53),
Chechen((short)54),
Cherokee((short)55),
Chickasaw((short)56),
Chiga((short)57),
Chinese((short)58),
Church((short)59),
Chuvash((short)60),
Colognian((short)61),
Coptic((short)62),
Cornish((short)63),
Corsican((short)64),
Cree((short)65),
Croatian((short)66),
Czech((short)67),
Danish((short)68),
Divehi((short)69),
Dogri((short)70),
Duala((short)71),
Dutch((short)72),
Dzongkha((short)73),
Embu((short)74),
English((short)75),
Erzya((short)76),
Esperanto((short)77),
Estonian((short)78),
Ewe((short)79),
Ewondo((short)80),
Faroese((short)81),
Fijian((short)82),
Filipino((short)83),
Finnish((short)84),
French((short)85),
Friulian((short)86),
Fulah((short)87),
Gaelic((short)88),
Ga((short)89),
Galician((short)90),
Ganda((short)91),
Geez((short)92),
Georgian((short)93),
German((short)94),
Gothic((short)95),
Greek((short)96),
Guarani((short)97),
Gujarati((short)98),
Gusii((short)99),
Haitian((short)100),
Hausa((short)101),
Hawaiian((short)102),
Hebrew((short)103),
Herero((short)104),
Hindi((short)105),
HiriMotu((short)106),
Hungarian((short)107),
Icelandic((short)108),
Ido((short)109),
Igbo((short)110),
InariSami((short)111),
Indonesian((short)112),
Ingush((short)113),
Interlingua((short)114),
Interlingue((short)115),
Inuktitut((short)116),
Inupiaq((short)117),
Irish((short)118),
Italian((short)119),
Japanese((short)120),
Javanese((short)121),
Jju((short)122),
JolaFonyi((short)123),
Kabuverdianu((short)124),
Kabyle((short)125),
Kako((short)126),
Kalaallisut((short)127),
Kalenjin((short)128),
Kamba((short)129),
Kannada((short)130),
Kanuri((short)131),
Kashmiri((short)132),
Kazakh((short)133),
Kenyang((short)134),
Khmer((short)135),
Kiche((short)136),
Kikuyu((short)137),
Kinyarwanda((short)138),
Komi((short)139),
Kongo((short)140),
Konkani((short)141),
Korean((short)142),
Koro((short)143),
KoyraboroSenni((short)144),
KoyraChiini((short)145),
Kpelle((short)146),
Kuanyama((short)147),
Kurdish((short)148),
Kwasio((short)149),
Kyrgyz((short)150),
Lakota((short)151),
Langi((short)152),
Lao((short)153),
Latin((short)154),
Latvian((short)155),
Lezghian((short)156),
Limburgish((short)157),
Lingala((short)158),
LiteraryChinese((short)159),
Lithuanian((short)160),
Lojban((short)161),
LowerSorbian((short)162),
LowGerman((short)163),
LubaKatanga((short)164),
LuleSami((short)165),
Luo((short)166),
Luxembourgish((short)167),
Luyia((short)168),
Macedonian((short)169),
Machame((short)170),
Maithili((short)171),
MakhuwaMeetto((short)172),
Makonde((short)173),
Malagasy((short)174),
Malayalam((short)175),
Malay((short)176),
Maltese((short)177),
Mandingo((short)178),
Manipuri((short)179),
Manx((short)180),
Maori((short)181),
Mapuche((short)182),
Marathi((short)183),
Marshallese((short)184),
Masai((short)185),
Mazanderani((short)186),
Mende((short)187),
Meru((short)188),
Meta((short)189),
Mohawk((short)190),
Mongolian((short)191),
Morisyen((short)192),
Mundang((short)193),
Muscogee((short)194),
Nama((short)195),
NauruLanguage((short)196),
Navajo((short)197),
Ndonga((short)198),
Nepali((short)199),
Newari((short)200),
Ngiemboon((short)201),
Ngomba((short)202),
NigerianPidgin((short)203),
Nko((short)204),
NorthernLuri((short)205),
NorthernSami((short)206),
NorthernSotho((short)207),
NorthNdebele((short)208),
NorwegianBokmal((short)209),
NorwegianNynorsk((short)210),
Nuer((short)211),
Nyanja((short)212),
Nyankole((short)213),
Occitan((short)214),
Odia((short)215),
Ojibwa((short)216),
OldIrish((short)217),
OldNorse((short)218),
OldPersian((short)219),
Oromo((short)220),
Osage((short)221),
Ossetic((short)222),
Pahlavi((short)223),
Palauan((short)224),
Pali((short)225),
Papiamento((short)226),
Pashto((short)227),
Persian((short)228),
Phoenician((short)229),
Polish((short)230),
Portuguese((short)231),
Prussian((short)232),
Punjabi((short)233),
Quechua((short)234),
Romanian((short)235),
Romansh((short)236),
Rombo((short)237),
Rundi((short)238),
Russian((short)239),
Rwa((short)240),
Saho((short)241),
Sakha((short)242),
Samburu((short)243),
Samoan((short)244),
Sango((short)245),
Sangu((short)246),
Sanskrit((short)247),
Santali((short)248),
Sardinian((short)249),
Saurashtra((short)250),
Sena((short)251),
Serbian((short)252),
Shambala((short)253),
Shona((short)254),
SichuanYi((short)255),
Sicilian((short)256),
Sidamo((short)257),
Silesian((short)258),
Sindhi((short)259),
Sinhala((short)260),
SkoltSami((short)261),
Slovak((short)262),
Slovenian((short)263),
Soga((short)264),
Somali((short)265),
SouthernKurdish((short)266),
SouthernSami((short)267),
SouthernSotho((short)268),
SouthNdebele((short)269),
Spanish((short)270),
StandardMoroccanTamazight((short)271),
Sundanese((short)272),
Swahili((short)273),
Swati((short)274),
Swedish((short)275),
SwissGerman((short)276),
Syriac((short)277),
Tachelhit((short)278),
Tahitian((short)279),
TaiDam((short)280),
Taita((short)281),
Tajik((short)282),
Tamil((short)283),
Taroko((short)284),
Tasawaq((short)285),
Tatar((short)286),
Telugu((short)287),
Teso((short)288),
Thai((short)289),
Tibetan((short)290),
Tigre((short)291),
Tigrinya((short)292),
TokelauLanguage((short)293),
TokPisin((short)294),
Tongan((short)295),
Tsonga((short)296),
Tswana((short)297),
Turkish((short)298),
Turkmen((short)299),
TuvaluLanguage((short)300),
Tyap((short)301),
Ugaritic((short)302),
Ukrainian((short)303),
UpperSorbian((short)304),
Urdu((short)305),
Uyghur((short)306),
Uzbek((short)307),
Vai((short)308),
Venda((short)309),
Vietnamese((short)310),
Volapuk((short)311),
Vunjo((short)312),
Walloon((short)313),
Walser((short)314),
Warlpiri((short)315),
Welsh((short)316),
WesternBalochi((short)317),
WesternFrisian((short)318),
Wolaytta((short)319),
Wolof((short)320),
Xhosa((short)321),
Yangben((short)322),
Yiddish((short)323),
Yoruba((short)324),
Zarma((short)325),
Zhuang((short)326),
Zulu((short)327),
Kaingang((short)328),
Nheengatu((short)329),
Afan((short)220),
Bengali((short)30),
Bhutani((short)73),
Byelorussian((short)35),
Cambodian((short)135),
CentralMoroccoTamazight((short)50),
Chewa((short)212),
Frisian((short)318),
Greenlandic((short)127),
Inupiak((short)117),
Kirghiz((short)150),
Kurundi((short)238),
Kwanyama((short)147),
Navaho((short)197),
Oriya((short)215),
RhaetoRomance((short)236),
Uighur((short)306),
Uigur((short)306),
Walamo((short)319),
LastLanguage((short)329);
private Language(short value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public short value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Language resolve(short value) {
switch (value) {
case 0: return AnyLanguage;
case 1: return C;
case 2: return Abkhazian;
case 3: return Afar;
case 4: return Afrikaans;
case 5: return Aghem;
case 6: return Akan;
case 7: return Akkadian;
case 8: return Akoose;
case 9: return Albanian;
case 10: return AmericanSignLanguage;
case 11: return Amharic;
case 12: return AncientEgyptian;
case 13: return AncientGreek;
case 14: return Arabic;
case 15: return Aragonese;
case 16: return Aramaic;
case 17: return Armenian;
case 18: return Assamese;
case 19: return Asturian;
case 20: return Asu;
case 21: return Atsam;
case 22: return Avaric;
case 23: return Avestan;
case 24: return Aymara;
case 25: return Azerbaijani;
case 26: return Bafia;
case 27: return Balinese;
case 28: return Bambara;
case 29: return Bamun;
case 30: return Bangla;
case 31: return Basaa;
case 32: return Bashkir;
case 33: return Basque;
case 34: return BatakToba;
case 35: return Belarusian;
case 36: return Bemba;
case 37: return Bena;
case 38: return Bhojpuri;
case 39: return Bislama;
case 40: return Blin;
case 41: return Bodo;
case 42: return Bosnian;
case 43: return Breton;
case 44: return Buginese;
case 45: return Bulgarian;
case 46: return Burmese;
case 47: return Cantonese;
case 48: return Catalan;
case 49: return Cebuano;
case 50: return CentralAtlasTamazight;
case 51: return CentralKurdish;
case 52: return Chakma;
case 53: return Chamorro;
case 54: return Chechen;
case 55: return Cherokee;
case 56: return Chickasaw;
case 57: return Chiga;
case 58: return Chinese;
case 59: return Church;
case 60: return Chuvash;
case 61: return Colognian;
case 62: return Coptic;
case 63: return Cornish;
case 64: return Corsican;
case 65: return Cree;
case 66: return Croatian;
case 67: return Czech;
case 68: return Danish;
case 69: return Divehi;
case 70: return Dogri;
case 71: return Duala;
case 72: return Dutch;
case 73: return Dzongkha;
case 74: return Embu;
case 75: return English;
case 76: return Erzya;
case 77: return Esperanto;
case 78: return Estonian;
case 79: return Ewe;
case 80: return Ewondo;
case 81: return Faroese;
case 82: return Fijian;
case 83: return Filipino;
case 84: return Finnish;
case 85: return French;
case 86: return Friulian;
case 87: return Fulah;
case 88: return Gaelic;
case 89: return Ga;
case 90: return Galician;
case 91: return Ganda;
case 92: return Geez;
case 93: return Georgian;
case 94: return German;
case 95: return Gothic;
case 96: return Greek;
case 97: return Guarani;
case 98: return Gujarati;
case 99: return Gusii;
case 100: return Haitian;
case 101: return Hausa;
case 102: return Hawaiian;
case 103: return Hebrew;
case 104: return Herero;
case 105: return Hindi;
case 106: return HiriMotu;
case 107: return Hungarian;
case 108: return Icelandic;
case 109: return Ido;
case 110: return Igbo;
case 111: return InariSami;
case 112: return Indonesian;
case 113: return Ingush;
case 114: return Interlingua;
case 115: return Interlingue;
case 116: return Inuktitut;
case 117: return Inupiaq;
case 118: return Irish;
case 119: return Italian;
case 120: return Japanese;
case 121: return Javanese;
case 122: return Jju;
case 123: return JolaFonyi;
case 124: return Kabuverdianu;
case 125: return Kabyle;
case 126: return Kako;
case 127: return Kalaallisut;
case 128: return Kalenjin;
case 129: return Kamba;
case 130: return Kannada;
case 131: return Kanuri;
case 132: return Kashmiri;
case 133: return Kazakh;
case 134: return Kenyang;
case 135: return Khmer;
case 136: return Kiche;
case 137: return Kikuyu;
case 138: return Kinyarwanda;
case 139: return Komi;
case 140: return Kongo;
case 141: return Konkani;
case 142: return Korean;
case 143: return Koro;
case 144: return KoyraboroSenni;
case 145: return KoyraChiini;
case 146: return Kpelle;
case 147: return Kuanyama;
case 148: return Kurdish;
case 149: return Kwasio;
case 150: return Kyrgyz;
case 151: return Lakota;
case 152: return Langi;
case 153: return Lao;
case 154: return Latin;
case 155: return Latvian;
case 156: return Lezghian;
case 157: return Limburgish;
case 158: return Lingala;
case 159: return LiteraryChinese;
case 160: return Lithuanian;
case 161: return Lojban;
case 162: return LowerSorbian;
case 163: return LowGerman;
case 164: return LubaKatanga;
case 165: return LuleSami;
case 166: return Luo;
case 167: return Luxembourgish;
case 168: return Luyia;
case 169: return Macedonian;
case 170: return Machame;
case 171: return Maithili;
case 172: return MakhuwaMeetto;
case 173: return Makonde;
case 174: return Malagasy;
case 175: return Malayalam;
case 176: return Malay;
case 177: return Maltese;
case 178: return Mandingo;
case 179: return Manipuri;
case 180: return Manx;
case 181: return Maori;
case 182: return Mapuche;
case 183: return Marathi;
case 184: return Marshallese;
case 185: return Masai;
case 186: return Mazanderani;
case 187: return Mende;
case 188: return Meru;
case 189: return Meta;
case 190: return Mohawk;
case 191: return Mongolian;
case 192: return Morisyen;
case 193: return Mundang;
case 194: return Muscogee;
case 195: return Nama;
case 196: return NauruLanguage;
case 197: return Navajo;
case 198: return Ndonga;
case 199: return Nepali;
case 200: return Newari;
case 201: return Ngiemboon;
case 202: return Ngomba;
case 203: return NigerianPidgin;
case 204: return Nko;
case 205: return NorthernLuri;
case 206: return NorthernSami;
case 207: return NorthernSotho;
case 208: return NorthNdebele;
case 209: return NorwegianBokmal;
case 210: return NorwegianNynorsk;
case 211: return Nuer;
case 212: return Nyanja;
case 213: return Nyankole;
case 214: return Occitan;
case 215: return Odia;
case 216: return Ojibwa;
case 217: return OldIrish;
case 218: return OldNorse;
case 219: return OldPersian;
case 220: return Oromo;
case 221: return Osage;
case 222: return Ossetic;
case 223: return Pahlavi;
case 224: return Palauan;
case 225: return Pali;
case 226: return Papiamento;
case 227: return Pashto;
case 228: return Persian;
case 229: return Phoenician;
case 230: return Polish;
case 231: return Portuguese;
case 232: return Prussian;
case 233: return Punjabi;
case 234: return Quechua;
case 235: return Romanian;
case 236: return Romansh;
case 237: return Rombo;
case 238: return Rundi;
case 239: return Russian;
case 240: return Rwa;
case 241: return Saho;
case 242: return Sakha;
case 243: return Samburu;
case 244: return Samoan;
case 245: return Sango;
case 246: return Sangu;
case 247: return Sanskrit;
case 248: return Santali;
case 249: return Sardinian;
case 250: return Saurashtra;
case 251: return Sena;
case 252: return Serbian;
case 253: return Shambala;
case 254: return Shona;
case 255: return SichuanYi;
case 256: return Sicilian;
case 257: return Sidamo;
case 258: return Silesian;
case 259: return Sindhi;
case 260: return Sinhala;
case 261: return SkoltSami;
case 262: return Slovak;
case 263: return Slovenian;
case 264: return Soga;
case 265: return Somali;
case 266: return SouthernKurdish;
case 267: return SouthernSami;
case 268: return SouthernSotho;
case 269: return SouthNdebele;
case 270: return Spanish;
case 271: return StandardMoroccanTamazight;
case 272: return Sundanese;
case 273: return Swahili;
case 274: return Swati;
case 275: return Swedish;
case 276: return SwissGerman;
case 277: return Syriac;
case 278: return Tachelhit;
case 279: return Tahitian;
case 280: return TaiDam;
case 281: return Taita;
case 282: return Tajik;
case 283: return Tamil;
case 284: return Taroko;
case 285: return Tasawaq;
case 286: return Tatar;
case 287: return Telugu;
case 288: return Teso;
case 289: return Thai;
case 290: return Tibetan;
case 291: return Tigre;
case 292: return Tigrinya;
case 293: return TokelauLanguage;
case 294: return TokPisin;
case 295: return Tongan;
case 296: return Tsonga;
case 297: return Tswana;
case 298: return Turkish;
case 299: return Turkmen;
case 300: return TuvaluLanguage;
case 301: return Tyap;
case 302: return Ugaritic;
case 303: return Ukrainian;
case 304: return UpperSorbian;
case 305: return Urdu;
case 306: return Uyghur;
case 307: return Uzbek;
case 308: return Vai;
case 309: return Venda;
case 310: return Vietnamese;
case 311: return Volapuk;
case 312: return Vunjo;
case 313: return Walloon;
case 314: return Walser;
case 315: return Warlpiri;
case 316: return Welsh;
case 317: return WesternBalochi;
case 318: return WesternFrisian;
case 319: return Wolaytta;
case 320: return Wolof;
case 321: return Xhosa;
case 322: return Yangben;
case 323: return Yiddish;
case 324: return Yoruba;
case 325: return Zarma;
case 326: return Zhuang;
case 327: return Zulu;
case 328: return Kaingang;
case 329: return Nheengatu;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final short value;
}
/**
* Java wrapper for Qt enum QLocale::LanguageCodeType
*
* @see LanguageCodeTypes
*/
@io.qt.QtRejectedEntries({"ISO639Alpha2"})
public enum LanguageCodeType implements io.qt.QtFlagEnumerator {
ISO639Part1(1),
ISO639Part2B(2),
ISO639Part2T(4),
ISO639Part3(8),
LegacyLanguageCode(32768),
ISO639Part2(6),
ISO639Alpha2(1),
ISO639Alpha3(14),
ISO639(15),
AnyLanguageCode(-1);
private LanguageCodeType(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public LanguageCodeTypes asFlags() {
return new LanguageCodeTypes(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public LanguageCodeTypes combined(LanguageCodeType e) {
return new LanguageCodeTypes(this, e);
}
/**
* Creates a new {@link LanguageCodeTypes} from the entries.
* @param values entries
* @return new flag
*/
public static LanguageCodeTypes flags(LanguageCodeType ... values) {
return new LanguageCodeTypes(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static LanguageCodeType resolve(int value) {
switch (value) {
case 1: return ISO639Part1;
case 2: return ISO639Part2B;
case 4: return ISO639Part2T;
case 8: return ISO639Part3;
case 32768: return LegacyLanguageCode;
case 6: return ISO639Part2;
case 14: return ISO639Alpha3;
case 15: return ISO639;
case -1: return AnyLanguageCode;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link LanguageCodeType}
*/
public static final class LanguageCodeTypes extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x57497a9e6041b41eL;
/**
* Creates a new LanguageCodeTypes where the flags in args
are set.
* @param args enum entries
*/
public LanguageCodeTypes(LanguageCodeType ... args){
super(args);
}
/**
* Creates a new LanguageCodeTypes with given value
.
* @param value
*/
public LanguageCodeTypes(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new LanguageCodeTypes
*/
@Override
public final LanguageCodeTypes combined(LanguageCodeType e){
return new LanguageCodeTypes(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final LanguageCodeTypes setFlag(LanguageCodeType e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final LanguageCodeTypes setFlag(LanguageCodeType e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this LanguageCodeTypes.
* @return array of enum entries
*/
@Override
public final LanguageCodeType[] flags(){
return super.flags(LanguageCodeType.values());
}
/**
* {@inheritDoc}
*/
@Override
public final LanguageCodeTypes clone(){
return new LanguageCodeTypes(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(LanguageCodeTypes other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QLocale::MeasurementSystem
*/
@io.qt.QtRejectedEntries({"ImperialSystem"})
public enum MeasurementSystem implements io.qt.QtEnumerator {
MetricSystem(0),
ImperialUSSystem(1),
ImperialUKSystem(2),
ImperialSystem(1);
private MeasurementSystem(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static MeasurementSystem resolve(int value) {
switch (value) {
case 0: return MetricSystem;
case 1: return ImperialUSSystem;
case 2: return ImperialUKSystem;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QLocale::NumberOption
*
* @see NumberOptions
*/
public enum NumberOption implements io.qt.QtFlagEnumerator {
DefaultNumberOptions(0),
OmitGroupSeparator(1),
RejectGroupSeparator(2),
OmitLeadingZeroInExponent(4),
RejectLeadingZeroInExponent(8),
IncludeTrailingZeroesAfterDot(16),
RejectTrailingZeroesAfterDot(32);
private NumberOption(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Create a QFlags of the enum entry.
* @return QFlags
*/
public NumberOptions asFlags() {
return new NumberOptions(value);
}
/**
* Combines this entry with other enum entry.
* @param e enum entry
* @return new flag
*/
public NumberOptions combined(NumberOption e) {
return new NumberOptions(this, e);
}
/**
* Creates a new {@link NumberOptions} from the entries.
* @param values entries
* @return new flag
*/
public static NumberOptions flags(NumberOption ... values) {
return new NumberOptions(values);
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static NumberOption resolve(int value) {
switch (value) {
case 0: return DefaultNumberOptions;
case 1: return OmitGroupSeparator;
case 2: return RejectGroupSeparator;
case 4: return OmitLeadingZeroInExponent;
case 8: return RejectLeadingZeroInExponent;
case 16: return IncludeTrailingZeroesAfterDot;
case 32: return RejectTrailingZeroesAfterDot;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* QFlags type for enum {@link NumberOption}
*/
public static final class NumberOptions extends io.qt.QFlags implements Comparable {
private static final long serialVersionUID = 0x193e8698cb7de6adL;
/**
* Creates a new NumberOptions where the flags in args
are set.
* @param args enum entries
*/
public NumberOptions(NumberOption ... args){
super(args);
}
/**
* Creates a new NumberOptions with given value
.
* @param value
*/
public NumberOptions(int value) {
super(value);
}
/**
* Combines this flags with enum entry.
* @param e enum entry
* @return new NumberOptions
*/
@Override
public final NumberOptions combined(NumberOption e){
return new NumberOptions(value() | e.value());
}
/**
* Sets the flag e
* @param e enum entry
* @return this
*/
public final NumberOptions setFlag(NumberOption e){
super.setFlag(e);
return this;
}
/**
* Sets or clears the flag flag
* @param e enum entry
* @param on set (true) or clear (false)
* @return this
*/
public final NumberOptions setFlag(NumberOption e, boolean on){
super.setFlag(e, on);
return this;
}
/**
* Returns an array of flag objects represented by this NumberOptions.
* @return array of enum entries
*/
@Override
public final NumberOption[] flags(){
return super.flags(NumberOption.values());
}
/**
* {@inheritDoc}
*/
@Override
public final NumberOptions clone(){
return new NumberOptions(value());
}
/**
* {@inheritDoc}
*/
@Override
public final int compareTo(NumberOptions other){
return Integer.compare(value(), other.value());
}
}
/**
* Java wrapper for Qt enum QLocale::QuotationStyle
*/
public enum QuotationStyle implements io.qt.QtEnumerator {
StandardQuotation(0),
AlternateQuotation(1);
private QuotationStyle(int value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public int value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static QuotationStyle resolve(int value) {
switch (value) {
case 0: return StandardQuotation;
case 1: return AlternateQuotation;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
* Java wrapper for Qt enum QLocale::Script
*/
@io.qt.QtRejectedEntries({"BengaliScript", "MendeKikakuiScript", "OriyaScript", "SimplifiedChineseScript", "TraditionalChineseScript", "LastScript"})
public enum Script implements io.qt.QtShortEnumerator {
AnyScript((short)0),
AdlamScript((short)1),
AhomScript((short)2),
AnatolianHieroglyphsScript((short)3),
ArabicScript((short)4),
ArmenianScript((short)5),
AvestanScript((short)6),
BalineseScript((short)7),
BamumScript((short)8),
BanglaScript((short)9),
BassaVahScript((short)10),
BatakScript((short)11),
BhaiksukiScript((short)12),
BopomofoScript((short)13),
BrahmiScript((short)14),
BrailleScript((short)15),
BugineseScript((short)16),
BuhidScript((short)17),
CanadianAboriginalScript((short)18),
CarianScript((short)19),
CaucasianAlbanianScript((short)20),
ChakmaScript((short)21),
ChamScript((short)22),
CherokeeScript((short)23),
CopticScript((short)24),
CuneiformScript((short)25),
CypriotScript((short)26),
CyrillicScript((short)27),
DeseretScript((short)28),
DevanagariScript((short)29),
DuployanScript((short)30),
EgyptianHieroglyphsScript((short)31),
ElbasanScript((short)32),
EthiopicScript((short)33),
FraserScript((short)34),
GeorgianScript((short)35),
GlagoliticScript((short)36),
GothicScript((short)37),
GranthaScript((short)38),
GreekScript((short)39),
GujaratiScript((short)40),
GurmukhiScript((short)41),
HangulScript((short)42),
HanScript((short)43),
HanunooScript((short)44),
HanWithBopomofoScript((short)45),
HatranScript((short)46),
HebrewScript((short)47),
HiraganaScript((short)48),
ImperialAramaicScript((short)49),
InscriptionalPahlaviScript((short)50),
InscriptionalParthianScript((short)51),
JamoScript((short)52),
JapaneseScript((short)53),
JavaneseScript((short)54),
KaithiScript((short)55),
KannadaScript((short)56),
KatakanaScript((short)57),
KayahLiScript((short)58),
KharoshthiScript((short)59),
KhmerScript((short)60),
KhojkiScript((short)61),
KhudawadiScript((short)62),
KoreanScript((short)63),
LannaScript((short)64),
LaoScript((short)65),
LatinScript((short)66),
LepchaScript((short)67),
LimbuScript((short)68),
LinearAScript((short)69),
LinearBScript((short)70),
LycianScript((short)71),
LydianScript((short)72),
MahajaniScript((short)73),
MalayalamScript((short)74),
MandaeanScript((short)75),
ManichaeanScript((short)76),
MarchenScript((short)77),
MeiteiMayekScript((short)78),
MendeScript((short)79),
MeroiticCursiveScript((short)80),
MeroiticScript((short)81),
ModiScript((short)82),
MongolianScript((short)83),
MroScript((short)84),
MultaniScript((short)85),
MyanmarScript((short)86),
NabataeanScript((short)87),
NewaScript((short)88),
NewTaiLueScript((short)89),
NkoScript((short)90),
OdiaScript((short)91),
OghamScript((short)92),
OlChikiScript((short)93),
OldHungarianScript((short)94),
OldItalicScript((short)95),
OldNorthArabianScript((short)96),
OldPermicScript((short)97),
OldPersianScript((short)98),
OldSouthArabianScript((short)99),
OrkhonScript((short)100),
OsageScript((short)101),
OsmanyaScript((short)102),
PahawhHmongScript((short)103),
PalmyreneScript((short)104),
PauCinHauScript((short)105),
PhagsPaScript((short)106),
PhoenicianScript((short)107),
PollardPhoneticScript((short)108),
PsalterPahlaviScript((short)109),
RejangScript((short)110),
RunicScript((short)111),
SamaritanScript((short)112),
SaurashtraScript((short)113),
SharadaScript((short)114),
ShavianScript((short)115),
SiddhamScript((short)116),
SignWritingScript((short)117),
SimplifiedHanScript((short)118),
SinhalaScript((short)119),
SoraSompengScript((short)120),
SundaneseScript((short)121),
SylotiNagriScript((short)122),
SyriacScript((short)123),
TagalogScript((short)124),
TagbanwaScript((short)125),
TaiLeScript((short)126),
TaiVietScript((short)127),
TakriScript((short)128),
TamilScript((short)129),
TangutScript((short)130),
TeluguScript((short)131),
ThaanaScript((short)132),
ThaiScript((short)133),
TibetanScript((short)134),
TifinaghScript((short)135),
TirhutaScript((short)136),
TraditionalHanScript((short)137),
UgariticScript((short)138),
VaiScript((short)139),
VarangKshitiScript((short)140),
YiScript((short)141),
BengaliScript((short)9),
MendeKikakuiScript((short)79),
OriyaScript((short)91),
SimplifiedChineseScript((short)118),
TraditionalChineseScript((short)137),
LastScript((short)141);
private Script(short value) {
this.value = value;
}
/**
* {@inheritDoc}
*/
public short value() {
return value;
}
/**
* Returns the corresponding enum entry for the given value.
* @param value
* @return enum entry
*/
public static Script resolve(short value) {
switch (value) {
case 0: return AnyScript;
case 1: return AdlamScript;
case 2: return AhomScript;
case 3: return AnatolianHieroglyphsScript;
case 4: return ArabicScript;
case 5: return ArmenianScript;
case 6: return AvestanScript;
case 7: return BalineseScript;
case 8: return BamumScript;
case 9: return BanglaScript;
case 10: return BassaVahScript;
case 11: return BatakScript;
case 12: return BhaiksukiScript;
case 13: return BopomofoScript;
case 14: return BrahmiScript;
case 15: return BrailleScript;
case 16: return BugineseScript;
case 17: return BuhidScript;
case 18: return CanadianAboriginalScript;
case 19: return CarianScript;
case 20: return CaucasianAlbanianScript;
case 21: return ChakmaScript;
case 22: return ChamScript;
case 23: return CherokeeScript;
case 24: return CopticScript;
case 25: return CuneiformScript;
case 26: return CypriotScript;
case 27: return CyrillicScript;
case 28: return DeseretScript;
case 29: return DevanagariScript;
case 30: return DuployanScript;
case 31: return EgyptianHieroglyphsScript;
case 32: return ElbasanScript;
case 33: return EthiopicScript;
case 34: return FraserScript;
case 35: return GeorgianScript;
case 36: return GlagoliticScript;
case 37: return GothicScript;
case 38: return GranthaScript;
case 39: return GreekScript;
case 40: return GujaratiScript;
case 41: return GurmukhiScript;
case 42: return HangulScript;
case 43: return HanScript;
case 44: return HanunooScript;
case 45: return HanWithBopomofoScript;
case 46: return HatranScript;
case 47: return HebrewScript;
case 48: return HiraganaScript;
case 49: return ImperialAramaicScript;
case 50: return InscriptionalPahlaviScript;
case 51: return InscriptionalParthianScript;
case 52: return JamoScript;
case 53: return JapaneseScript;
case 54: return JavaneseScript;
case 55: return KaithiScript;
case 56: return KannadaScript;
case 57: return KatakanaScript;
case 58: return KayahLiScript;
case 59: return KharoshthiScript;
case 60: return KhmerScript;
case 61: return KhojkiScript;
case 62: return KhudawadiScript;
case 63: return KoreanScript;
case 64: return LannaScript;
case 65: return LaoScript;
case 66: return LatinScript;
case 67: return LepchaScript;
case 68: return LimbuScript;
case 69: return LinearAScript;
case 70: return LinearBScript;
case 71: return LycianScript;
case 72: return LydianScript;
case 73: return MahajaniScript;
case 74: return MalayalamScript;
case 75: return MandaeanScript;
case 76: return ManichaeanScript;
case 77: return MarchenScript;
case 78: return MeiteiMayekScript;
case 79: return MendeScript;
case 80: return MeroiticCursiveScript;
case 81: return MeroiticScript;
case 82: return ModiScript;
case 83: return MongolianScript;
case 84: return MroScript;
case 85: return MultaniScript;
case 86: return MyanmarScript;
case 87: return NabataeanScript;
case 88: return NewaScript;
case 89: return NewTaiLueScript;
case 90: return NkoScript;
case 91: return OdiaScript;
case 92: return OghamScript;
case 93: return OlChikiScript;
case 94: return OldHungarianScript;
case 95: return OldItalicScript;
case 96: return OldNorthArabianScript;
case 97: return OldPermicScript;
case 98: return OldPersianScript;
case 99: return OldSouthArabianScript;
case 100: return OrkhonScript;
case 101: return OsageScript;
case 102: return OsmanyaScript;
case 103: return PahawhHmongScript;
case 104: return PalmyreneScript;
case 105: return PauCinHauScript;
case 106: return PhagsPaScript;
case 107: return PhoenicianScript;
case 108: return PollardPhoneticScript;
case 109: return PsalterPahlaviScript;
case 110: return RejangScript;
case 111: return RunicScript;
case 112: return SamaritanScript;
case 113: return SaurashtraScript;
case 114: return SharadaScript;
case 115: return ShavianScript;
case 116: return SiddhamScript;
case 117: return SignWritingScript;
case 118: return SimplifiedHanScript;
case 119: return SinhalaScript;
case 120: return SoraSompengScript;
case 121: return SundaneseScript;
case 122: return SylotiNagriScript;
case 123: return SyriacScript;
case 124: return TagalogScript;
case 125: return TagbanwaScript;
case 126: return TaiLeScript;
case 127: return TaiVietScript;
case 128: return TakriScript;
case 129: return TamilScript;
case 130: return TangutScript;
case 131: return TeluguScript;
case 132: return ThaanaScript;
case 133: return ThaiScript;
case 134: return TibetanScript;
case 135: return TifinaghScript;
case 136: return TirhutaScript;
case 137: return TraditionalHanScript;
case 138: return UgariticScript;
case 139: return VaiScript;
case 140: return VarangKshitiScript;
case 141: return YiScript;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final short value;
}
/**
*
*/
public QLocale(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QLocale instance);
/**
* See QLocale::QLocale(QLocale::Language,QLocale::Territory)
*/
public QLocale(io.qt.core.QLocale.Language language, io.qt.core.QLocale.Country territory){
super((QPrivateConstructor)null);
initialize_native(this, language, territory);
}
private native static void initialize_native(QLocale instance, io.qt.core.QLocale.Language language, io.qt.core.QLocale.Country territory);
/**
* Overloaded constructor for {@link #QLocale(io.qt.core.QLocale.Language, io.qt.core.QLocale.Script, io.qt.core.QLocale.Country)}
* with territory = io.qt.core.QLocale.Country.AnyTerritory
.
*/
public QLocale(io.qt.core.QLocale.Language language, io.qt.core.QLocale.Script script) {
this(language, script, io.qt.core.QLocale.Country.AnyTerritory);
}
/**
* Overloaded constructor for {@link #QLocale(io.qt.core.QLocale.Language, io.qt.core.QLocale.Script, io.qt.core.QLocale.Country)}
* with:
* script = io.qt.core.QLocale.Script.AnyScript
* territory = io.qt.core.QLocale.Country.AnyTerritory
*
*/
public QLocale(io.qt.core.QLocale.Language language) {
this(language, io.qt.core.QLocale.Script.AnyScript, io.qt.core.QLocale.Country.AnyTerritory);
}
/**
* See QLocale::QLocale(QLocale::Language,QLocale::Script,QLocale::Territory)
*/
public QLocale(io.qt.core.QLocale.Language language, io.qt.core.QLocale.Script script, io.qt.core.QLocale.Country territory){
super((QPrivateConstructor)null);
initialize_native(this, language, script, territory);
}
private native static void initialize_native(QLocale instance, io.qt.core.QLocale.Language language, io.qt.core.QLocale.Script script, io.qt.core.QLocale.Country territory);
/**
*
*/
public QLocale(io.qt.core.QLocale other){
super((QPrivateConstructor)null);
initialize_native(this, other);
}
private native static void initialize_native(QLocale instance, io.qt.core.QLocale other);
/**
*
*/
public QLocale(java.lang.String name){
super((QPrivateConstructor)null);
initialize_native(this, name);
}
private native static void initialize_native(QLocale instance, java.lang.String name);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String amText(){
return amText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String amText_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String bcp47Name(){
return bcp47Name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String bcp47Name_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QLocale collation(){
return collation_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QLocale collation_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final io.qt.core.QLocale.Country country(){
return io.qt.core.QLocale.Country.resolve(country_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native short country_native_constfct(long __this__nativeId);
/**
* See QLocale::createSeparatedList(QStringList)const
*/
@io.qt.QtUninvokable
public final java.lang.String createSeparatedList(java.util.Collection strl){
return createSeparatedList_native_cref_QStringList_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), strl);
}
@io.qt.QtUninvokable
private native java.lang.String createSeparatedList_native_cref_QStringList_constfct(long __this__nativeId, java.util.Collection strl);
/**
* Overloaded function for {@link #currencySymbol(io.qt.core.QLocale.CurrencySymbolFormat)}
* with arg__1 = io.qt.core.QLocale.CurrencySymbolFormat.CurrencySymbol
.
*/
@io.qt.QtUninvokable
public final java.lang.String currencySymbol() {
return currencySymbol(io.qt.core.QLocale.CurrencySymbolFormat.CurrencySymbol);
}
/**
* See QLocale::currencySymbol(QLocale::CurrencySymbolFormat)const
*/
@io.qt.QtUninvokable
public final java.lang.String currencySymbol(io.qt.core.QLocale.CurrencySymbolFormat arg__1){
return currencySymbol_native_QLocale_CurrencySymbolFormat_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1.value());
}
@io.qt.QtUninvokable
private native java.lang.String currencySymbol_native_QLocale_CurrencySymbolFormat_constfct(long __this__nativeId, int arg__1);
/**
* Overloaded function for {@link #dateFormat(io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String dateFormat() {
return dateFormat(io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::dateFormat(QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String dateFormat(io.qt.core.QLocale.FormatType format){
return dateFormat_native_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@io.qt.QtUninvokable
private native java.lang.String dateFormat_native_QLocale_FormatType_constfct(long __this__nativeId, int format);
/**
* Overloaded function for {@link #dateTimeFormat(io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String dateTimeFormat() {
return dateTimeFormat(io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::dateTimeFormat(QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String dateTimeFormat(io.qt.core.QLocale.FormatType format){
return dateTimeFormat_native_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@io.qt.QtUninvokable
private native java.lang.String dateTimeFormat_native_QLocale_FormatType_constfct(long __this__nativeId, int format);
/**
* Overloaded function for {@link #dayName(int, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String dayName(int arg__1) {
return dayName(arg__1, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::dayName(int,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String dayName(int arg__1, io.qt.core.QLocale.FormatType format){
return dayName_native_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format.value());
}
@io.qt.QtUninvokable
private native java.lang.String dayName_native_int_QLocale_FormatType_constfct(long __this__nativeId, int arg__1, int format);
/**
* See QLocale::decimalPoint()const
*/
@io.qt.QtUninvokable
public final java.lang.String decimalPoint(){
return decimalPoint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String decimalPoint_native_constfct(long __this__nativeId);
/**
* See QLocale::exponential()const
*/
@io.qt.QtUninvokable
public final java.lang.String exponential(){
return exponential_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String exponential_native_constfct(long __this__nativeId);
/**
* See QLocale::firstDayOfWeek()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.DayOfWeek firstDayOfWeek(){
return io.qt.core.Qt.DayOfWeek.resolve(firstDayOfWeek_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int firstDayOfWeek_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #formattedDataSize(long, int, io.qt.core.QLocale.DataSizeFormats)}.
*/
@io.qt.QtUninvokable
public final java.lang.String formattedDataSize(long bytes, int precision, io.qt.core.QLocale.DataSizeFormat ... format){
return formattedDataSize(bytes, precision, new io.qt.core.QLocale.DataSizeFormats(format));
}
/**
* Overloaded function for {@link #formattedDataSize(long, int, io.qt.core.QLocale.DataSizeFormats)}
* with format = new io.qt.core.QLocale.DataSizeFormats(0)
.
*/
@io.qt.QtUninvokable
public final java.lang.String formattedDataSize(long bytes, int precision) {
return formattedDataSize(bytes, precision, new io.qt.core.QLocale.DataSizeFormats(0));
}
/**
* Overloaded function for {@link #formattedDataSize(long, int, io.qt.core.QLocale.DataSizeFormats)}
* with:
* precision = 2
* format = new io.qt.core.QLocale.DataSizeFormats(0)
*
*/
@io.qt.QtUninvokable
public final java.lang.String formattedDataSize(long bytes) {
return formattedDataSize(bytes, (int)2, new io.qt.core.QLocale.DataSizeFormats(0));
}
/**
* See QLocale::formattedDataSize(qint64,int,DataSizeFormats)const
*/
@io.qt.QtUninvokable
public final java.lang.String formattedDataSize(long bytes, int precision, io.qt.core.QLocale.DataSizeFormats format){
return formattedDataSize_native_long_long_int_QFlags_QLocale_DataSizeFormat__constfct(QtJambi_LibraryUtilities.internal.nativeId(this), bytes, precision, format.value());
}
@io.qt.QtUninvokable
private native java.lang.String formattedDataSize_native_long_long_int_QFlags_QLocale_DataSizeFormat__constfct(long __this__nativeId, long bytes, int precision, int format);
/**
* See QLocale::groupSeparator()const
*/
@io.qt.QtUninvokable
public final java.lang.String groupSeparator(){
return groupSeparator_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String groupSeparator_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QLocale.Language language(){
return io.qt.core.QLocale.Language.resolve(language_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native short language_native_constfct(long __this__nativeId);
/**
* See QLocale::measurementSystem()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QLocale.MeasurementSystem measurementSystem(){
return io.qt.core.QLocale.MeasurementSystem.resolve(measurementSystem_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int measurementSystem_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #monthName(int, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String monthName(int arg__1) {
return monthName(arg__1, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::monthName(int,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String monthName(int arg__1, io.qt.core.QLocale.FormatType format){
return monthName_native_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format.value());
}
@io.qt.QtUninvokable
private native java.lang.String monthName_native_int_QLocale_FormatType_constfct(long __this__nativeId, int arg__1, int format);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String name(){
return name_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String name_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public final java.lang.String nativeCountryName(){
return nativeCountryName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String nativeCountryName_native_constfct(long __this__nativeId);
/**
* See QLocale::nativeLanguageName()const
*/
@io.qt.QtUninvokable
public final java.lang.String nativeLanguageName(){
return nativeLanguageName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String nativeLanguageName_native_constfct(long __this__nativeId);
/**
* See QLocale::nativeTerritoryName()const
*/
@io.qt.QtUninvokable
public final java.lang.String nativeTerritoryName(){
return nativeTerritoryName_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String nativeTerritoryName_native_constfct(long __this__nativeId);
/**
* See QLocale::negativeSign()const
*/
@io.qt.QtUninvokable
public final java.lang.String negativeSign(){
return negativeSign_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String negativeSign_native_constfct(long __this__nativeId);
/**
* See QLocale::numberOptions()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QLocale.NumberOptions numberOptions(){
return new io.qt.core.QLocale.NumberOptions(numberOptions_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int numberOptions_native_constfct(long __this__nativeId);
@io.qt.QtUninvokable
public void writeTo(io.qt.core.QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1);
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QLocale rhs){
return operator_equal_native_cref_QLocale(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QLocale(long __this__nativeId, long rhs);
@io.qt.QtUninvokable
public void readFrom(io.qt.core.QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String percent(){
return percent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String percent_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String pmText(){
return pmText_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String pmText_native_constfct(long __this__nativeId);
/**
* See QLocale::positiveSign()const
*/
@io.qt.QtUninvokable
public final java.lang.String positiveSign(){
return positiveSign_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String positiveSign_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #quoteString(java.lang.String, io.qt.core.QLocale.QuotationStyle)}
* with style = io.qt.core.QLocale.QuotationStyle.StandardQuotation
.
*/
@io.qt.QtUninvokable
public final java.lang.String quoteString(java.lang.String str) {
return quoteString(str, io.qt.core.QLocale.QuotationStyle.StandardQuotation);
}
/**
* See QLocale::quoteString(QString,QLocale::QuotationStyle)const
*/
@io.qt.QtUninvokable
public final java.lang.String quoteString(java.lang.String str, io.qt.core.QLocale.QuotationStyle style){
return quoteString_native_cref_QString_QLocale_QuotationStyle_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), str, style.value());
}
@io.qt.QtUninvokable
private native java.lang.String quoteString_native_cref_QString_QLocale_QuotationStyle_constfct(long __this__nativeId, java.lang.String str, int style);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QLocale.Script script(){
return io.qt.core.QLocale.Script.resolve(script_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native short script_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #setNumberOptions(io.qt.core.QLocale.NumberOptions)}.
*/
@io.qt.QtUninvokable
public final void setNumberOptions(io.qt.core.QLocale.NumberOption ... options){
setNumberOptions(new io.qt.core.QLocale.NumberOptions(options));
}
/**
* See QLocale::setNumberOptions(NumberOptions)
*/
@io.qt.QtUninvokable
public final void setNumberOptions(io.qt.core.QLocale.NumberOptions options){
setNumberOptions_native_QFlags_QLocale_NumberOption_(QtJambi_LibraryUtilities.internal.nativeId(this), options.value());
}
@io.qt.QtUninvokable
private native void setNumberOptions_native_QFlags_QLocale_NumberOption_(long __this__nativeId, int options);
/**
* Overloaded function for {@link #standaloneDayName(int, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String standaloneDayName(int arg__1) {
return standaloneDayName(arg__1, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::standaloneDayName(int,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String standaloneDayName(int arg__1, io.qt.core.QLocale.FormatType format){
return standaloneDayName_native_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format.value());
}
@io.qt.QtUninvokable
private native java.lang.String standaloneDayName_native_int_QLocale_FormatType_constfct(long __this__nativeId, int arg__1, int format);
/**
* Overloaded function for {@link #standaloneMonthName(int, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String standaloneMonthName(int arg__1) {
return standaloneMonthName(arg__1, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::standaloneMonthName(int,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String standaloneMonthName(int arg__1, io.qt.core.QLocale.FormatType format){
return standaloneMonthName_native_int_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, format.value());
}
@io.qt.QtUninvokable
private native java.lang.String standaloneMonthName_native_int_QLocale_FormatType_constfct(long __this__nativeId, int arg__1, int format);
/**
*
*/
@io.qt.QtUninvokable
public final void swap(io.qt.core.QLocale other){
java.util.Objects.requireNonNull(other, "Argument 'other': null not expected.");
swap_native_ref_QLocale(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native void swap_native_ref_QLocale(long __this__nativeId, long other);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QLocale.Country territory(){
return io.qt.core.QLocale.Country.resolve(territory_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native short territory_native_constfct(long __this__nativeId);
/**
* See QLocale::textDirection()const
*/
@io.qt.QtUninvokable
public final io.qt.core.Qt.LayoutDirection textDirection(){
return io.qt.core.Qt.LayoutDirection.resolve(textDirection_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)));
}
@io.qt.QtUninvokable
private native int textDirection_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #timeFormat(io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String timeFormat() {
return timeFormat(io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::timeFormat(QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String timeFormat(io.qt.core.QLocale.FormatType format){
return timeFormat_native_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), format.value());
}
@io.qt.QtUninvokable
private native java.lang.String timeFormat_native_QLocale_FormatType_constfct(long __this__nativeId, int format);
/**
* Overloaded function for {@link #toCurrencyString(double, java.lang.String, int)}
* with precision = -1
.
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(double arg__1, java.lang.String symbol) {
return toCurrencyString(arg__1, symbol, (int)-1);
}
/**
* Overloaded function for {@link #toCurrencyString(double, java.lang.String, int)}
* with:
* symbol = ""
* precision = -1
*
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(double arg__1) {
return toCurrencyString(arg__1, "", (int)-1);
}
/**
* See QLocale::toCurrencyString(double,QString,int)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(double arg__1, java.lang.String symbol, int precision){
return toCurrencyString_native_double_cref_QString_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, symbol, precision);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_double_cref_QString_int_constfct(long __this__nativeId, double arg__1, java.lang.String symbol, int precision);
/**
* Overloaded function for {@link #toCurrencyString(float, java.lang.String, int)}
* with precision = -1
.
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(float i, java.lang.String symbol) {
return toCurrencyString(i, symbol, (int)-1);
}
/**
* Overloaded function for {@link #toCurrencyString(float, java.lang.String, int)}
* with:
* symbol = ""
* precision = -1
*
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(float i) {
return toCurrencyString(i, "", (int)-1);
}
/**
* See QLocale::toCurrencyString(float,QString,int)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(float i, java.lang.String symbol, int precision){
return toCurrencyString_native_float_cref_QString_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i, symbol, precision);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_float_cref_QString_int_constfct(long __this__nativeId, float i, java.lang.String symbol, int precision);
/**
* Overloaded function for {@link #toCurrencyString(int, java.lang.String)}
* with symbol = ""
.
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(int i) {
return toCurrencyString(i, "");
}
/**
* See QLocale::toCurrencyString(int,QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(int i, java.lang.String symbol){
return toCurrencyString_native_int_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i, symbol);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_int_cref_QString_constfct(long __this__nativeId, int i, java.lang.String symbol);
/**
* Overloaded function for {@link #toCurrencyString(long, java.lang.String)}
* with symbol = ""
.
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(long arg__1) {
return toCurrencyString(arg__1, "");
}
/**
* See QLocale::toCurrencyString(qlonglong,QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(long arg__1, java.lang.String symbol){
return toCurrencyString_native_long_long_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, symbol);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_long_long_cref_QString_constfct(long __this__nativeId, long arg__1, java.lang.String symbol);
/**
* Overloaded function for {@link #toCurrencyString(short, java.lang.String)}
* with symbol = ""
.
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(short i) {
return toCurrencyString(i, "");
}
/**
* See QLocale::toCurrencyString(short,QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(short i, java.lang.String symbol){
return toCurrencyString_native_short_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i, symbol);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_short_cref_QString_constfct(long __this__nativeId, short i, java.lang.String symbol);
/**
* Overloaded function for {@link #toDate(java.lang.String, io.qt.core.QLocale.FormatType)}
* with arg__2 = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final io.qt.core.QDate toDate(java.lang.String string) {
return toDate(string, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::toDate(QString,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDate toDate(java.lang.String string, io.qt.core.QLocale.FormatType arg__2){
return toDate_native_cref_QString_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, arg__2.value());
}
@io.qt.QtUninvokable
private native io.qt.core.QDate toDate_native_cref_QString_QLocale_FormatType_constfct(long __this__nativeId, java.lang.String string, int arg__2);
/**
* See QLocale::toDate(QString,QLocale::FormatType,QCalendar)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDate toDate(java.lang.String string, io.qt.core.QLocale.FormatType format, io.qt.core.QCalendar cal){
return toDate_native_cref_QString_QLocale_FormatType_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native io.qt.core.QDate toDate_native_cref_QString_QLocale_FormatType_QCalendar_constfct(long __this__nativeId, java.lang.String string, int format, long cal);
/**
* See QLocale::toDate(QString,QString)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDate toDate(java.lang.String string, java.lang.String format){
return toDate_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format);
}
@io.qt.QtUninvokable
private native io.qt.core.QDate toDate_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String string, java.lang.String format);
/**
* See QLocale::toDate(QString,QString,QCalendar)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDate toDate(java.lang.String string, java.lang.String format, io.qt.core.QCalendar cal){
return toDate_native_cref_QString_cref_QString_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format, QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native io.qt.core.QDate toDate_native_cref_QString_cref_QString_QCalendar_constfct(long __this__nativeId, java.lang.String string, java.lang.String format, long cal);
/**
* Overloaded function for {@link #toDateTime(java.lang.String, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final io.qt.core.QDateTime toDateTime(java.lang.String string) {
return toDateTime(string, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::toDateTime(QString,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDateTime toDateTime(java.lang.String string, io.qt.core.QLocale.FormatType format){
return toDateTime_native_cref_QString_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format.value());
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime toDateTime_native_cref_QString_QLocale_FormatType_constfct(long __this__nativeId, java.lang.String string, int format);
/**
* See QLocale::toDateTime(QString,QLocale::FormatType,QCalendar)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDateTime toDateTime(java.lang.String string, io.qt.core.QLocale.FormatType format, io.qt.core.QCalendar cal){
return toDateTime_native_cref_QString_QLocale_FormatType_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime toDateTime_native_cref_QString_QLocale_FormatType_QCalendar_constfct(long __this__nativeId, java.lang.String string, int format, long cal);
/**
* See QLocale::toDateTime(QString,QString)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDateTime toDateTime(java.lang.String string, java.lang.String format){
return toDateTime_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format);
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime toDateTime_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String string, java.lang.String format);
/**
* See QLocale::toDateTime(QString,QString,QCalendar)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QDateTime toDateTime(java.lang.String string, java.lang.String format, io.qt.core.QCalendar cal){
return toDateTime_native_cref_QString_cref_QString_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format, QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native io.qt.core.QDateTime toDateTime_native_cref_QString_cref_QString_QCalendar_constfct(long __this__nativeId, java.lang.String string, java.lang.String format, long cal);
/**
* See QLocale::toDouble(QString,bool*)const
*/
@io.qt.QtUninvokable
public final double toDouble(java.lang.String s) throws NumberFormatException{
return toDouble_native_cref_QString_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@io.qt.QtUninvokable
private native double toDouble_native_cref_QString_bool_ptr_constfct(long __this__nativeId, java.lang.String s) throws NumberFormatException ;
/**
* See QLocale::toFloat(QString,bool*)const
*/
@io.qt.QtUninvokable
public final float toFloat(java.lang.String s) throws NumberFormatException{
return toFloat_native_cref_QString_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@io.qt.QtUninvokable
private native float toFloat_native_cref_QString_bool_ptr_constfct(long __this__nativeId, java.lang.String s) throws NumberFormatException ;
/**
* See QLocale::toInt(QString,bool*)const
*/
@io.qt.QtUninvokable
public final int toInt(java.lang.String s) throws NumberFormatException{
return toInt_native_cref_QString_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@io.qt.QtUninvokable
private native int toInt_native_cref_QString_bool_ptr_constfct(long __this__nativeId, java.lang.String s) throws NumberFormatException ;
/**
* See QLocale::toLongLong(QString,bool*)const
*/
@io.qt.QtUninvokable
public final long toLong(java.lang.String s) throws NumberFormatException{
return toLong_native_cref_QString_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@io.qt.QtUninvokable
private native long toLong_native_cref_QString_bool_ptr_constfct(long __this__nativeId, java.lang.String s) throws NumberFormatException ;
/**
* See QLocale::toLower(QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toLower(java.lang.String str){
return toLower_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), str);
}
@io.qt.QtUninvokable
private native java.lang.String toLower_native_cref_QString_constfct(long __this__nativeId, java.lang.String str);
/**
* See QLocale::toShort(QString,bool*)const
*/
@io.qt.QtUninvokable
public final short toShort(java.lang.String s) throws NumberFormatException{
return toShort_native_cref_QString_bool_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), s);
}
@io.qt.QtUninvokable
private native short toShort_native_cref_QString_bool_ptr_constfct(long __this__nativeId, java.lang.String s) throws NumberFormatException ;
/**
* Overloaded function for {@link #toString(io.qt.core.QDate, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDate date) {
return toString(date, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::toString(QDate,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDate date, io.qt.core.QLocale.FormatType format){
return toString_native_QDate_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), format.value());
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_QDate_QLocale_FormatType_constfct(long __this__nativeId, long date, int format);
/**
* See QLocale::toString(QDate,QLocale::FormatType,QCalendar)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDate date, io.qt.core.QLocale.FormatType format, io.qt.core.QCalendar cal){
return toString_native_QDate_QLocale_FormatType_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), format.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_QDate_QLocale_FormatType_QCalendar_constfct(long __this__nativeId, long date, int format, long cal);
/**
* See QLocale::toString(QDate,QStringView)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDate date, java.lang.String format){
return toString_native_QDate_QStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), format);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_QDate_QStringView_constfct(long __this__nativeId, long date, java.lang.String format);
/**
* See QLocale::toString(QDate,QStringView,QCalendar)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDate date, java.lang.String format, io.qt.core.QCalendar cal){
return toString_native_QDate_QStringView_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), format, QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_QDate_QStringView_QCalendar_constfct(long __this__nativeId, long date, java.lang.String format, long cal);
/**
* Overloaded function for {@link #toString(io.qt.core.QTime, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QTime time) {
return toString(time, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::toString(QTime,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QTime time, io.qt.core.QLocale.FormatType format){
return toString_native_QTime_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(time), format.value());
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_QTime_QLocale_FormatType_constfct(long __this__nativeId, long time, int format);
/**
* See QLocale::toString(QTime,QStringView)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QTime time, java.lang.String format){
return toString_native_QTime_QStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(time), format);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_QTime_QStringView_constfct(long __this__nativeId, long time, java.lang.String format);
/**
* Overloaded function for {@link #toString(io.qt.core.QDateTime, io.qt.core.QLocale.FormatType)}
* with format = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDateTime dateTime) {
return toString(dateTime, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::toString(QDateTime,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDateTime dateTime, io.qt.core.QLocale.FormatType format){
return toString_native_cref_QDateTime_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dateTime), format.value());
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_cref_QDateTime_QLocale_FormatType_constfct(long __this__nativeId, long dateTime, int format);
/**
* See QLocale::toString(QDateTime,QLocale::FormatType,QCalendar)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDateTime dateTime, io.qt.core.QLocale.FormatType format, io.qt.core.QCalendar cal){
return toString_native_cref_QDateTime_QLocale_FormatType_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dateTime), format.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_cref_QDateTime_QLocale_FormatType_QCalendar_constfct(long __this__nativeId, long dateTime, int format, long cal);
/**
* See QLocale::toString(QDateTime,QStringView)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDateTime dateTime, java.lang.String format){
return toString_native_cref_QDateTime_QStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dateTime), format);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_cref_QDateTime_QStringView_constfct(long __this__nativeId, long dateTime, java.lang.String format);
/**
* See QLocale::toString(QDateTime,QStringView,QCalendar)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDateTime dateTime, java.lang.String format, io.qt.core.QCalendar cal){
return toString_native_cref_QDateTime_QStringView_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dateTime), format, QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_cref_QDateTime_QStringView_QCalendar_constfct(long __this__nativeId, long dateTime, java.lang.String format, long cal);
/**
* Overloaded function for {@link #toString(double, byte, int)}
* with precision = 6
.
*/
@io.qt.QtUninvokable
public final java.lang.String toString(double f, byte format) {
return toString(f, format, (int)6);
}
/**
* Overloaded function for {@link #toString(double, byte, int)}
* with:
* format = 'g'
* precision = 6
*
*/
@io.qt.QtUninvokable
public final java.lang.String toString(double f) {
return toString(f, (byte)'g', (int)6);
}
/**
* See QLocale::toString(double,char,int)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(double f, byte format, int precision){
return toString_native_double_char_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f, format, precision);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_double_char_int_constfct(long __this__nativeId, double f, byte format, int precision);
/**
* Overloaded function for {@link #toString(float, byte, int)}
* with precision = 6
.
*/
@io.qt.QtUninvokable
public final java.lang.String toString(float f, byte format) {
return toString(f, format, (int)6);
}
/**
* Overloaded function for {@link #toString(float, byte, int)}
* with:
* format = 'g'
* precision = 6
*
*/
@io.qt.QtUninvokable
public final java.lang.String toString(float f) {
return toString(f, (byte)'g', (int)6);
}
/**
* See QLocale::toString(float,char,int)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(float f, byte format, int precision){
return toString_native_float_char_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), f, format, precision);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_float_char_int_constfct(long __this__nativeId, float f, byte format, int precision);
/**
* See QLocale::toString(int)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(int i){
return toString_native_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_int_constfct(long __this__nativeId, int i);
/**
* See QLocale::toString(qlonglong)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(long i){
return toString_native_long_long_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_long_long_constfct(long __this__nativeId, long i);
/**
* See QLocale::toString(short)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(short i){
return toString_native_short_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_short_constfct(long __this__nativeId, short i);
/**
* Overloaded function for {@link #toTime(java.lang.String, io.qt.core.QLocale.FormatType)}
* with arg__2 = io.qt.core.QLocale.FormatType.LongFormat
.
*/
@io.qt.QtUninvokable
public final io.qt.core.QTime toTime(java.lang.String string) {
return toTime(string, io.qt.core.QLocale.FormatType.LongFormat);
}
/**
* See QLocale::toTime(QString,QLocale::FormatType)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QTime toTime(java.lang.String string, io.qt.core.QLocale.FormatType arg__2){
return toTime_native_cref_QString_QLocale_FormatType_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, arg__2.value());
}
@io.qt.QtUninvokable
private native io.qt.core.QTime toTime_native_cref_QString_QLocale_FormatType_constfct(long __this__nativeId, java.lang.String string, int arg__2);
/**
* See QLocale::toTime(QString,QString)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QTime toTime(java.lang.String string, java.lang.String format){
return toTime_native_cref_QString_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format);
}
@io.qt.QtUninvokable
private native io.qt.core.QTime toTime_native_cref_QString_cref_QString_constfct(long __this__nativeId, java.lang.String string, java.lang.String format);
/**
* See QLocale::toUpper(QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toUpper(java.lang.String str){
return toUpper_native_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), str);
}
@io.qt.QtUninvokable
private native java.lang.String toUpper_native_cref_QString_constfct(long __this__nativeId, java.lang.String str);
/**
* See QLocale::uiLanguages()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QStringList uiLanguages(){
return uiLanguages_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QStringList uiLanguages_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QList weekdays(){
return weekdays_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QList weekdays_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final java.lang.String zeroDigit(){
return zeroDigit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native java.lang.String zeroDigit_native_constfct(long __this__nativeId);
/**
* See QLocale::c()
*/
public native static io.qt.core.QLocale c();
public static io.qt.core.QLocale.Country codeToCountry(java.lang.String countryCode){
return io.qt.core.QLocale.Country.resolve(codeToCountry_native_QStringView(countryCode));
}
private native static short codeToCountry_native_QStringView(java.lang.String countryCode);
/**
* Overloaded function for {@link #codeToLanguage(java.lang.String, io.qt.core.QLocale.LanguageCodeTypes)}.
*/
public static io.qt.core.QLocale.Language codeToLanguage(java.lang.String languageCode, io.qt.core.QLocale.LanguageCodeType ... codeTypes){
return codeToLanguage(languageCode, new io.qt.core.QLocale.LanguageCodeTypes(codeTypes));
}
/**
* Overloaded function for {@link #codeToLanguage(java.lang.String, io.qt.core.QLocale.LanguageCodeTypes)}
* with codeTypes = new io.qt.core.QLocale.LanguageCodeTypes(-1)
.
*/
public static io.qt.core.QLocale.Language codeToLanguage(java.lang.String languageCode) {
return codeToLanguage(languageCode, new io.qt.core.QLocale.LanguageCodeTypes(-1));
}
/**
* See QLocale::codeToLanguage(QStringView,LanguageCodeTypes)
*/
public static io.qt.core.QLocale.Language codeToLanguage(java.lang.String languageCode, io.qt.core.QLocale.LanguageCodeTypes codeTypes){
return io.qt.core.QLocale.Language.resolve(codeToLanguage_native_QStringView_QFlags_QLocale_LanguageCodeType_(languageCode, codeTypes.value()));
}
private native static short codeToLanguage_native_QStringView_QFlags_QLocale_LanguageCodeType_(java.lang.String languageCode, int codeTypes);
/**
* See QLocale::codeToScript(QStringView)
*/
public static io.qt.core.QLocale.Script codeToScript(java.lang.String scriptCode){
return io.qt.core.QLocale.Script.resolve(codeToScript_native_QStringView(scriptCode));
}
private native static short codeToScript_native_QStringView(java.lang.String scriptCode);
/**
* See QLocale::codeToTerritory(QStringView)
*/
public static io.qt.core.QLocale.Country codeToTerritory(java.lang.String territoryCode){
return io.qt.core.QLocale.Country.resolve(codeToTerritory_native_QStringView(territoryCode));
}
private native static short codeToTerritory_native_QStringView(java.lang.String territoryCode);
public static io.qt.core.QList countriesForLanguage(io.qt.core.QLocale.Language lang){
return countriesForLanguage_native_QLocale_Language(lang.value());
}
private native static io.qt.core.QList countriesForLanguage_native_QLocale_Language(short lang);
public static java.lang.String countryToCode(io.qt.core.QLocale.Country country){
return countryToCode_native_QLocale_Country(country.value());
}
private native static java.lang.String countryToCode_native_QLocale_Country(short country);
public static java.lang.String countryToString(io.qt.core.QLocale.Country country){
return countryToString_native_QLocale_Country(country.value());
}
private native static java.lang.String countryToString_native_QLocale_Country(short country);
/**
* Overloaded function for {@link #languageToCode(io.qt.core.QLocale.Language, io.qt.core.QLocale.LanguageCodeTypes)}.
*/
public static java.lang.String languageToCode(io.qt.core.QLocale.Language language, io.qt.core.QLocale.LanguageCodeType ... codeTypes){
return languageToCode(language, new io.qt.core.QLocale.LanguageCodeTypes(codeTypes));
}
/**
* Overloaded function for {@link #languageToCode(io.qt.core.QLocale.Language, io.qt.core.QLocale.LanguageCodeTypes)}
* with codeTypes = new io.qt.core.QLocale.LanguageCodeTypes(-1)
.
*/
public static java.lang.String languageToCode(io.qt.core.QLocale.Language language) {
return languageToCode(language, new io.qt.core.QLocale.LanguageCodeTypes(-1));
}
/**
* See QLocale::languageToCode(QLocale::Language,LanguageCodeTypes)
*/
public static java.lang.String languageToCode(io.qt.core.QLocale.Language language, io.qt.core.QLocale.LanguageCodeTypes codeTypes){
return languageToCode_native_QLocale_Language_QFlags_QLocale_LanguageCodeType_(language.value(), codeTypes.value());
}
private native static java.lang.String languageToCode_native_QLocale_Language_QFlags_QLocale_LanguageCodeType_(short language, int codeTypes);
/**
* See QLocale::languageToString(QLocale::Language)
*/
public static java.lang.String languageToString(io.qt.core.QLocale.Language language){
return languageToString_native_QLocale_Language(language.value());
}
private native static java.lang.String languageToString_native_QLocale_Language(short language);
/**
* See QLocale::matchingLocales(QLocale::Language,QLocale::Script,QLocale::Territory)
*/
public static io.qt.core.QList matchingLocales(io.qt.core.QLocale.Language language, io.qt.core.QLocale.Script script, io.qt.core.QLocale.Country territory){
return matchingLocales_native_QLocale_Language_QLocale_Script_QLocale_Country(language.value(), script.value(), territory.value());
}
private native static io.qt.core.QList matchingLocales_native_QLocale_Language_QLocale_Script_QLocale_Country(short language, short script, short territory);
/**
* See QLocale::scriptToCode(QLocale::Script)
*/
public static java.lang.String scriptToCode(io.qt.core.QLocale.Script script){
return scriptToCode_native_QLocale_Script(script.value());
}
private native static java.lang.String scriptToCode_native_QLocale_Script(short script);
/**
* See QLocale::scriptToString(QLocale::Script)
*/
public static java.lang.String scriptToString(io.qt.core.QLocale.Script script){
return scriptToString_native_QLocale_Script(script.value());
}
private native static java.lang.String scriptToString_native_QLocale_Script(short script);
/**
* See QLocale::setDefault(QLocale)
*/
public static void setDefault(io.qt.core.QLocale locale){
setDefault_native_cref_QLocale(QtJambi_LibraryUtilities.internal.checkedNativeId(locale));
}
private native static void setDefault_native_cref_QLocale(long locale);
/**
*
*/
public native static io.qt.core.QLocale system();
/**
* See QLocale::territoryToCode(QLocale::Territory)
*/
public static java.lang.String territoryToCode(io.qt.core.QLocale.Country territory){
return territoryToCode_native_QLocale_Country(territory.value());
}
private native static java.lang.String territoryToCode_native_QLocale_Country(short territory);
/**
* See QLocale::territoryToString(QLocale::Territory)
*/
public static java.lang.String territoryToString(io.qt.core.QLocale.Country territory){
return territoryToString_native_QLocale_Country(territory.value());
}
private native static java.lang.String territoryToString_native_QLocale_Country(short territory);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QLocale(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QLocale) {
return operator_equal((io.qt.core.QLocale) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
@Override
public QLocale clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QLocale clone_native(long __this_nativeId);
}