
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({"DemocraticRepublicOfCongo", "DemocraticRepublicOfKorea", "LatinAmericaAndTheCaribbean", "PeoplesRepublicOfCongo", "RepublicOfKorea", "RussianFederation", "SyrianArabRepublic", "Tokelau", "Tuvalu", "LastCountry"})
public enum Country implements io.qt.QtEnumerator {
AnyCountry(0),
Afghanistan(1),
Albania(2),
Algeria(3),
AmericanSamoa(4),
Andorra(5),
Angola(6),
Anguilla(7),
Antarctica(8),
AntiguaAndBarbuda(9),
Argentina(10),
Armenia(11),
Aruba(12),
Australia(13),
Austria(14),
Azerbaijan(15),
Bahamas(16),
Bahrain(17),
Bangladesh(18),
Barbados(19),
Belarus(20),
Belgium(21),
Belize(22),
Benin(23),
Bermuda(24),
Bhutan(25),
Bolivia(26),
BosniaAndHerzegowina(27),
Botswana(28),
BouvetIsland(29),
Brazil(30),
BritishIndianOceanTerritory(31),
Brunei(32),
Bulgaria(33),
BurkinaFaso(34),
Burundi(35),
Cambodia(36),
Cameroon(37),
Canada(38),
CapeVerde(39),
CaymanIslands(40),
CentralAfricanRepublic(41),
Chad(42),
Chile(43),
China(44),
ChristmasIsland(45),
CocosIslands(46),
Colombia(47),
Comoros(48),
CongoKinshasa(49),
CongoBrazzaville(50),
CookIslands(51),
CostaRica(52),
IvoryCoast(53),
Croatia(54),
Cuba(55),
Cyprus(56),
CzechRepublic(57),
Denmark(58),
Djibouti(59),
Dominica(60),
DominicanRepublic(61),
EastTimor(62),
Ecuador(63),
Egypt(64),
ElSalvador(65),
EquatorialGuinea(66),
Eritrea(67),
Estonia(68),
Ethiopia(69),
FalklandIslands(70),
FaroeIslands(71),
Fiji(72),
Finland(73),
France(74),
Guernsey(75),
FrenchGuiana(76),
FrenchPolynesia(77),
FrenchSouthernTerritories(78),
Gabon(79),
Gambia(80),
Georgia(81),
Germany(82),
Ghana(83),
Gibraltar(84),
Greece(85),
Greenland(86),
Grenada(87),
Guadeloupe(88),
Guam(89),
Guatemala(90),
Guinea(91),
GuineaBissau(92),
Guyana(93),
Haiti(94),
HeardAndMcDonaldIslands(95),
Honduras(96),
HongKong(97),
Hungary(98),
Iceland(99),
India(100),
Indonesia(101),
Iran(102),
Iraq(103),
Ireland(104),
Israel(105),
Italy(106),
Jamaica(107),
Japan(108),
Jordan(109),
Kazakhstan(110),
Kenya(111),
Kiribati(112),
NorthKorea(113),
SouthKorea(114),
Kuwait(115),
Kyrgyzstan(116),
Laos(117),
Latvia(118),
Lebanon(119),
Lesotho(120),
Liberia(121),
Libya(122),
Liechtenstein(123),
Lithuania(124),
Luxembourg(125),
Macau(126),
Macedonia(127),
Madagascar(128),
Malawi(129),
Malaysia(130),
Maldives(131),
Mali(132),
Malta(133),
MarshallIslands(134),
Martinique(135),
Mauritania(136),
Mauritius(137),
Mayotte(138),
Mexico(139),
Micronesia(140),
Moldova(141),
Monaco(142),
Mongolia(143),
Montserrat(144),
Morocco(145),
Mozambique(146),
Myanmar(147),
Namibia(148),
NauruCountry(149),
Nepal(150),
Netherlands(151),
CuraSao(152),
NewCaledonia(153),
NewZealand(154),
Nicaragua(155),
Niger(156),
Nigeria(157),
Niue(158),
NorfolkIsland(159),
NorthernMarianaIslands(160),
Norway(161),
Oman(162),
Pakistan(163),
Palau(164),
PalestinianTerritories(165),
Panama(166),
PapuaNewGuinea(167),
Paraguay(168),
Peru(169),
Philippines(170),
Pitcairn(171),
Poland(172),
Portugal(173),
PuertoRico(174),
Qatar(175),
Reunion(176),
Romania(177),
Russia(178),
Rwanda(179),
SaintKittsAndNevis(180),
SaintLucia(181),
SaintVincentAndTheGrenadines(182),
Samoa(183),
SanMarino(184),
SaoTomeAndPrincipe(185),
SaudiArabia(186),
Senegal(187),
Seychelles(188),
SierraLeone(189),
Singapore(190),
Slovakia(191),
Slovenia(192),
SolomonIslands(193),
Somalia(194),
SouthAfrica(195),
SouthGeorgiaAndTheSouthSandwichIslands(196),
Spain(197),
SriLanka(198),
SaintHelena(199),
SaintPierreAndMiquelon(200),
Sudan(201),
Suriname(202),
SvalbardAndJanMayenIslands(203),
Swaziland(204),
Sweden(205),
Switzerland(206),
Syria(207),
Taiwan(208),
Tajikistan(209),
Tanzania(210),
Thailand(211),
Togo(212),
TokelauCountry(213),
Tonga(214),
TrinidadAndTobago(215),
Tunisia(216),
Turkey(217),
Turkmenistan(218),
TurksAndCaicosIslands(219),
TuvaluCountry(220),
Uganda(221),
Ukraine(222),
UnitedArabEmirates(223),
UnitedKingdom(224),
UnitedStates(225),
UnitedStatesMinorOutlyingIslands(226),
Uruguay(227),
Uzbekistan(228),
Vanuatu(229),
VaticanCityState(230),
Venezuela(231),
Vietnam(232),
BritishVirginIslands(233),
UnitedStatesVirginIslands(234),
WallisAndFutunaIslands(235),
WesternSahara(236),
Yemen(237),
CanaryIslands(238),
Zambia(239),
Zimbabwe(240),
ClippertonIsland(241),
Montenegro(242),
Serbia(243),
SaintBarthelemy(244),
SaintMartin(245),
LatinAmerica(246),
AscensionIsland(247),
AlandIslands(248),
DiegoGarcia(249),
CeutaAndMelilla(250),
IsleOfMan(251),
Jersey(252),
TristanDaCunha(253),
SouthSudan(254),
Bonaire(255),
SintMaarten(256),
Kosovo(257),
EuropeanUnion(258),
OutlyingOceania(259),
World(260),
Europe(261),
DemocraticRepublicOfCongo(49),
DemocraticRepublicOfKorea(113),
LatinAmericaAndTheCaribbean(246),
PeoplesRepublicOfCongo(50),
RepublicOfKorea(114),
RussianFederation(178),
SyrianArabRepublic(207),
/**
* @deprecated Obsolete name, use TokelauCountry
*/
@Deprecated
Tokelau(213),
/**
* @deprecated Obsolete name, use TuvaluCountry
*/
@Deprecated
Tuvalu(220),
LastCountry(261);
private Country(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 Country resolve(int value) {
switch (value) {
case 0: return AnyCountry;
case 1: return Afghanistan;
case 2: return Albania;
case 3: return Algeria;
case 4: return AmericanSamoa;
case 5: return Andorra;
case 6: return Angola;
case 7: return Anguilla;
case 8: return Antarctica;
case 9: return AntiguaAndBarbuda;
case 10: return Argentina;
case 11: return Armenia;
case 12: return Aruba;
case 13: return Australia;
case 14: return Austria;
case 15: return Azerbaijan;
case 16: return Bahamas;
case 17: return Bahrain;
case 18: return Bangladesh;
case 19: return Barbados;
case 20: return Belarus;
case 21: return Belgium;
case 22: return Belize;
case 23: return Benin;
case 24: return Bermuda;
case 25: return Bhutan;
case 26: return Bolivia;
case 27: return BosniaAndHerzegowina;
case 28: return Botswana;
case 29: return BouvetIsland;
case 30: return Brazil;
case 31: return BritishIndianOceanTerritory;
case 32: return Brunei;
case 33: return Bulgaria;
case 34: return BurkinaFaso;
case 35: return Burundi;
case 36: return Cambodia;
case 37: return Cameroon;
case 38: return Canada;
case 39: return CapeVerde;
case 40: return CaymanIslands;
case 41: return CentralAfricanRepublic;
case 42: return Chad;
case 43: return Chile;
case 44: return China;
case 45: return ChristmasIsland;
case 46: return CocosIslands;
case 47: return Colombia;
case 48: return Comoros;
case 49: return CongoKinshasa;
case 50: return CongoBrazzaville;
case 51: return CookIslands;
case 52: return CostaRica;
case 53: return IvoryCoast;
case 54: return Croatia;
case 55: return Cuba;
case 56: return Cyprus;
case 57: return CzechRepublic;
case 58: return Denmark;
case 59: return Djibouti;
case 60: return Dominica;
case 61: return DominicanRepublic;
case 62: return EastTimor;
case 63: return Ecuador;
case 64: return Egypt;
case 65: return ElSalvador;
case 66: return EquatorialGuinea;
case 67: return Eritrea;
case 68: return Estonia;
case 69: return Ethiopia;
case 70: return FalklandIslands;
case 71: return FaroeIslands;
case 72: return Fiji;
case 73: return Finland;
case 74: return France;
case 75: return Guernsey;
case 76: return FrenchGuiana;
case 77: return FrenchPolynesia;
case 78: return FrenchSouthernTerritories;
case 79: return Gabon;
case 80: return Gambia;
case 81: return Georgia;
case 82: return Germany;
case 83: return Ghana;
case 84: return Gibraltar;
case 85: return Greece;
case 86: return Greenland;
case 87: return Grenada;
case 88: return Guadeloupe;
case 89: return Guam;
case 90: return Guatemala;
case 91: return Guinea;
case 92: return GuineaBissau;
case 93: return Guyana;
case 94: return Haiti;
case 95: return HeardAndMcDonaldIslands;
case 96: return Honduras;
case 97: return HongKong;
case 98: return Hungary;
case 99: return Iceland;
case 100: return India;
case 101: return Indonesia;
case 102: return Iran;
case 103: return Iraq;
case 104: return Ireland;
case 105: return Israel;
case 106: return Italy;
case 107: return Jamaica;
case 108: return Japan;
case 109: return Jordan;
case 110: return Kazakhstan;
case 111: return Kenya;
case 112: return Kiribati;
case 113: return NorthKorea;
case 114: return SouthKorea;
case 115: return Kuwait;
case 116: return Kyrgyzstan;
case 117: return Laos;
case 118: return Latvia;
case 119: return Lebanon;
case 120: return Lesotho;
case 121: return Liberia;
case 122: return Libya;
case 123: return Liechtenstein;
case 124: return Lithuania;
case 125: return Luxembourg;
case 126: return Macau;
case 127: return Macedonia;
case 128: return Madagascar;
case 129: return Malawi;
case 130: return Malaysia;
case 131: return Maldives;
case 132: return Mali;
case 133: return Malta;
case 134: return MarshallIslands;
case 135: return Martinique;
case 136: return Mauritania;
case 137: return Mauritius;
case 138: return Mayotte;
case 139: return Mexico;
case 140: return Micronesia;
case 141: return Moldova;
case 142: return Monaco;
case 143: return Mongolia;
case 144: return Montserrat;
case 145: return Morocco;
case 146: return Mozambique;
case 147: return Myanmar;
case 148: return Namibia;
case 149: return NauruCountry;
case 150: return Nepal;
case 151: return Netherlands;
case 152: return CuraSao;
case 153: return NewCaledonia;
case 154: return NewZealand;
case 155: return Nicaragua;
case 156: return Niger;
case 157: return Nigeria;
case 158: return Niue;
case 159: return NorfolkIsland;
case 160: return NorthernMarianaIslands;
case 161: return Norway;
case 162: return Oman;
case 163: return Pakistan;
case 164: return Palau;
case 165: return PalestinianTerritories;
case 166: return Panama;
case 167: return PapuaNewGuinea;
case 168: return Paraguay;
case 169: return Peru;
case 170: return Philippines;
case 171: return Pitcairn;
case 172: return Poland;
case 173: return Portugal;
case 174: return PuertoRico;
case 175: return Qatar;
case 176: return Reunion;
case 177: return Romania;
case 178: return Russia;
case 179: return Rwanda;
case 180: return SaintKittsAndNevis;
case 181: return SaintLucia;
case 182: return SaintVincentAndTheGrenadines;
case 183: return Samoa;
case 184: return SanMarino;
case 185: return SaoTomeAndPrincipe;
case 186: return SaudiArabia;
case 187: return Senegal;
case 188: return Seychelles;
case 189: return SierraLeone;
case 190: return Singapore;
case 191: return Slovakia;
case 192: return Slovenia;
case 193: return SolomonIslands;
case 194: return Somalia;
case 195: return SouthAfrica;
case 196: return SouthGeorgiaAndTheSouthSandwichIslands;
case 197: return Spain;
case 198: return SriLanka;
case 199: return SaintHelena;
case 200: return SaintPierreAndMiquelon;
case 201: return Sudan;
case 202: return Suriname;
case 203: return SvalbardAndJanMayenIslands;
case 204: return Swaziland;
case 205: return Sweden;
case 206: return Switzerland;
case 207: return Syria;
case 208: return Taiwan;
case 209: return Tajikistan;
case 210: return Tanzania;
case 211: return Thailand;
case 212: return Togo;
case 213: return TokelauCountry;
case 214: return Tonga;
case 215: return TrinidadAndTobago;
case 216: return Tunisia;
case 217: return Turkey;
case 218: return Turkmenistan;
case 219: return TurksAndCaicosIslands;
case 220: return TuvaluCountry;
case 221: return Uganda;
case 222: return Ukraine;
case 223: return UnitedArabEmirates;
case 224: return UnitedKingdom;
case 225: return UnitedStates;
case 226: return UnitedStatesMinorOutlyingIslands;
case 227: return Uruguay;
case 228: return Uzbekistan;
case 229: return Vanuatu;
case 230: return VaticanCityState;
case 231: return Venezuela;
case 232: return Vietnam;
case 233: return BritishVirginIslands;
case 234: return UnitedStatesVirginIslands;
case 235: return WallisAndFutunaIslands;
case 236: return WesternSahara;
case 237: return Yemen;
case 238: return CanaryIslands;
case 239: return Zambia;
case 240: return Zimbabwe;
case 241: return ClippertonIsland;
case 242: return Montenegro;
case 243: return Serbia;
case 244: return SaintBarthelemy;
case 245: return SaintMartin;
case 246: return LatinAmerica;
case 247: return AscensionIsland;
case 248: return AlandIslands;
case 249: return DiegoGarcia;
case 250: return CeutaAndMelilla;
case 251: return IsleOfMan;
case 252: return Jersey;
case 253: return TristanDaCunha;
case 254: return SouthSudan;
case 255: return Bonaire;
case 256: return SintMaarten;
case 257: return Kosovo;
case 258: return EuropeanUnion;
case 259: return OutlyingOceania;
case 260: return World;
case 261: return Europe;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int 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", "Bhutani", "Byelorussian", "Cambodian", "Chewa", "Frisian", "Kurundi", "Moldavian", "Norwegian", "RhaetoRomance", "SerboCroatian", "Tagalog", "Twi", "Uigur", "LastLanguage"})
public enum Language implements io.qt.QtEnumerator {
AnyLanguage(0),
C(1),
Abkhazian(2),
Oromo(3),
Afar(4),
Afrikaans(5),
Albanian(6),
Amharic(7),
Arabic(8),
Armenian(9),
Assamese(10),
Aymara(11),
Azerbaijani(12),
Bashkir(13),
Basque(14),
Bengali(15),
Dzongkha(16),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Bihari(17),
Bislama(18),
Breton(19),
Bulgarian(20),
Burmese(21),
Belarusian(22),
Khmer(23),
Catalan(24),
Chinese(25),
Corsican(26),
Croatian(27),
Czech(28),
Danish(29),
Dutch(30),
English(31),
Esperanto(32),
Estonian(33),
Faroese(34),
Fijian(35),
Finnish(36),
French(37),
WesternFrisian(38),
Gaelic(39),
Galician(40),
Georgian(41),
German(42),
Greek(43),
Greenlandic(44),
Guarani(45),
Gujarati(46),
Hausa(47),
Hebrew(48),
Hindi(49),
Hungarian(50),
Icelandic(51),
Indonesian(52),
Interlingua(53),
Interlingue(54),
Inuktitut(55),
Inupiak(56),
Irish(57),
Italian(58),
Japanese(59),
Javanese(60),
Kannada(61),
Kashmiri(62),
Kazakh(63),
Kinyarwanda(64),
Kirghiz(65),
Korean(66),
Kurdish(67),
Rundi(68),
Lao(69),
Latin(70),
Latvian(71),
Lingala(72),
Lithuanian(73),
Macedonian(74),
Malagasy(75),
Malay(76),
Malayalam(77),
Maltese(78),
Maori(79),
Marathi(80),
Marshallese(81),
Mongolian(82),
NauruLanguage(83),
Nepali(84),
NorwegianBokmal(85),
Occitan(86),
Oriya(87),
Pashto(88),
Persian(89),
Polish(90),
Portuguese(91),
Punjabi(92),
Quechua(93),
Romansh(94),
Romanian(95),
Russian(96),
Samoan(97),
Sango(98),
Sanskrit(99),
Serbian(100),
Ossetic(101),
SouthernSotho(102),
Tswana(103),
Shona(104),
Sindhi(105),
Sinhala(106),
Swati(107),
Slovak(108),
Slovenian(109),
Somali(110),
Spanish(111),
Sundanese(112),
Swahili(113),
Swedish(114),
Sardinian(115),
Tajik(116),
Tamil(117),
Tatar(118),
Telugu(119),
Thai(120),
Tibetan(121),
Tigrinya(122),
Tongan(123),
Tsonga(124),
Turkish(125),
Turkmen(126),
Tahitian(127),
Uighur(128),
Ukrainian(129),
Urdu(130),
Uzbek(131),
Vietnamese(132),
Volapuk(133),
Welsh(134),
Wolof(135),
Xhosa(136),
Yiddish(137),
Yoruba(138),
Zhuang(139),
Zulu(140),
NorwegianNynorsk(141),
Bosnian(142),
Divehi(143),
Manx(144),
Cornish(145),
Akan(146),
Konkani(147),
Ga(148),
Igbo(149),
Kamba(150),
Syriac(151),
Blin(152),
Geez(153),
Koro(154),
Sidamo(155),
Atsam(156),
Tigre(157),
Jju(158),
Friulian(159),
Venda(160),
Ewe(161),
Walamo(162),
Hawaiian(163),
Tyap(164),
Nyanja(165),
Filipino(166),
SwissGerman(167),
SichuanYi(168),
Kpelle(169),
LowGerman(170),
SouthNdebele(171),
NorthernSotho(172),
NorthernSami(173),
Taroko(174),
Gusii(175),
Taita(176),
Fulah(177),
Kikuyu(178),
Samburu(179),
Sena(180),
NorthNdebele(181),
Rombo(182),
Tachelhit(183),
Kabyle(184),
Nyankole(185),
Bena(186),
Vunjo(187),
Bambara(188),
Embu(189),
Cherokee(190),
Morisyen(191),
Makonde(192),
Langi(193),
Ganda(194),
Bemba(195),
Kabuverdianu(196),
Meru(197),
Kalenjin(198),
Nama(199),
Machame(200),
Colognian(201),
Masai(202),
Soga(203),
Luyia(204),
Asu(205),
Teso(206),
Saho(207),
KoyraChiini(208),
Rwa(209),
Luo(210),
Chiga(211),
CentralMoroccoTamazight(212),
KoyraboroSenni(213),
Shambala(214),
Bodo(215),
Avaric(216),
Chamorro(217),
Chechen(218),
Church(219),
Chuvash(220),
Cree(221),
Haitian(222),
Herero(223),
HiriMotu(224),
Kanuri(225),
Komi(226),
Kongo(227),
Kwanyama(228),
Limburgish(229),
LubaKatanga(230),
Luxembourgish(231),
Navaho(232),
Ndonga(233),
Ojibwa(234),
Pali(235),
Walloon(236),
Aghem(237),
Basaa(238),
Zarma(239),
Duala(240),
JolaFonyi(241),
Ewondo(242),
Bafia(243),
MakhuwaMeetto(244),
Mundang(245),
Kwasio(246),
Nuer(247),
Sakha(248),
Sangu(249),
/**
* @deprecated No locale data for this language
*/
@Deprecated
CongoSwahili(250),
Tasawaq(251),
Vai(252),
Walser(253),
Yangben(254),
Avestan(255),
Asturian(256),
Ngomba(257),
Kako(258),
Meta(259),
Ngiemboon(260),
Aragonese(261),
Akkadian(262),
AncientEgyptian(263),
AncientGreek(264),
Aramaic(265),
Balinese(266),
Bamun(267),
BatakToba(268),
Buginese(269),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Buhid(270),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Carian(271),
Chakma(272),
/**
* @deprecated No locale data for this language
*/
@Deprecated
ClassicalMandaic(273),
Coptic(274),
Dogri(275),
/**
* @deprecated No locale data for this language
*/
@Deprecated
EasternCham(276),
/**
* @deprecated No locale data for this language
*/
@Deprecated
EasternKayah(277),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Etruscan(278),
Gothic(279),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Hanunoo(280),
Ingush(281),
/**
* @deprecated No locale data for this language
*/
@Deprecated
LargeFloweryMiao(282),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Lepcha(283),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Limbu(284),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Lisu(285),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Lu(286),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Lycian(287),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Lydian(288),
Mandingo(289),
Manipuri(290),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Meroitic(291),
/**
* @deprecated No locale data for this language
*/
@Deprecated
NorthernThai(292),
OldIrish(293),
OldNorse(294),
OldPersian(295),
/**
* @deprecated No locale data for this language
*/
@Deprecated
OldTurkish(296),
Pahlavi(297),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Parthian(298),
Phoenician(299),
/**
* @deprecated No locale data for this language
*/
@Deprecated
PrakritLanguage(300),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Rejang(301),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Sabaean(302),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Samaritan(303),
Santali(304),
Saurashtra(305),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Sora(306),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Sylheti(307),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Tagbanwa(308),
TaiDam(309),
/**
* @deprecated No locale data for this language
*/
@Deprecated
TaiNua(310),
Ugaritic(311),
Akoose(312),
Lakota(313),
StandardMoroccanTamazight(314),
Mapuche(315),
CentralKurdish(316),
LowerSorbian(317),
UpperSorbian(318),
Kenyang(319),
Mohawk(320),
Nko(321),
Prussian(322),
Kiche(323),
SouthernSami(324),
LuleSami(325),
InariSami(326),
SkoltSami(327),
Warlpiri(328),
/**
* @deprecated No locale data for this language
*/
@Deprecated
ManichaeanMiddlePersian(329),
Mende(330),
/**
* @deprecated No locale data for this language
*/
@Deprecated
AncientNorthArabian(331),
/**
* @deprecated No locale data for this language
*/
@Deprecated
LinearA(332),
/**
* @deprecated No locale data for this language
*/
@Deprecated
HmongNjua(333),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Ho(334),
Lezghian(335),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Bassa(336),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Mono(337),
/**
* @deprecated No locale data for this language
*/
@Deprecated
TedimChin(338),
Maithili(339),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Ahom(340),
AmericanSignLanguage(341),
/**
* @deprecated No locale data for this language
*/
@Deprecated
ArdhamagadhiPrakrit(342),
Bhojpuri(343),
/**
* @deprecated No locale data for this language
*/
@Deprecated
HieroglyphicLuwian(344),
LiteraryChinese(345),
Mazanderani(346),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Mru(347),
Newari(348),
NorthernLuri(349),
Palauan(350),
Papiamento(351),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Saraiki(352),
TokelauLanguage(353),
TokPisin(354),
TuvaluLanguage(355),
/**
* @deprecated No locale data for this language
*/
@Deprecated
UncodedLanguages(356),
Cantonese(357),
Osage(358),
/**
* @deprecated No locale data for this language
*/
@Deprecated
Tangut(359),
Ido(360),
Lojban(361),
Sicilian(362),
SouthernKurdish(363),
WesternBalochi(364),
Cebuano(365),
Erzya(366),
Chickasaw(367),
Muscogee(368),
Silesian(369),
NigerianPidgin(370),
Afan(3),
Bhutani(16),
Byelorussian(22),
Cambodian(23),
Chewa(165),
Frisian(38),
Kurundi(68),
/**
* @deprecated Obsolete name, use Romanian
*/
@Deprecated
Moldavian(95),
/**
* @deprecated Obsolete name, use NorwegianBokmal
*/
@Deprecated
Norwegian(85),
RhaetoRomance(94),
/**
* @deprecated Obsolete name, use Serbian
*/
@Deprecated
SerboCroatian(100),
/**
* @deprecated Obsolete name, use Filipino
*/
@Deprecated
Tagalog(166),
/**
* @deprecated Obsolete name, use Akan
*/
@Deprecated
Twi(146),
Uigur(128),
LastLanguage(370);
private Language(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 Language resolve(int value) {
switch (value) {
case 0: return AnyLanguage;
case 1: return C;
case 2: return Abkhazian;
case 3: return Oromo;
case 4: return Afar;
case 5: return Afrikaans;
case 6: return Albanian;
case 7: return Amharic;
case 8: return Arabic;
case 9: return Armenian;
case 10: return Assamese;
case 11: return Aymara;
case 12: return Azerbaijani;
case 13: return Bashkir;
case 14: return Basque;
case 15: return Bengali;
case 16: return Dzongkha;
case 17: return Bihari;
case 18: return Bislama;
case 19: return Breton;
case 20: return Bulgarian;
case 21: return Burmese;
case 22: return Belarusian;
case 23: return Khmer;
case 24: return Catalan;
case 25: return Chinese;
case 26: return Corsican;
case 27: return Croatian;
case 28: return Czech;
case 29: return Danish;
case 30: return Dutch;
case 31: return English;
case 32: return Esperanto;
case 33: return Estonian;
case 34: return Faroese;
case 35: return Fijian;
case 36: return Finnish;
case 37: return French;
case 38: return WesternFrisian;
case 39: return Gaelic;
case 40: return Galician;
case 41: return Georgian;
case 42: return German;
case 43: return Greek;
case 44: return Greenlandic;
case 45: return Guarani;
case 46: return Gujarati;
case 47: return Hausa;
case 48: return Hebrew;
case 49: return Hindi;
case 50: return Hungarian;
case 51: return Icelandic;
case 52: return Indonesian;
case 53: return Interlingua;
case 54: return Interlingue;
case 55: return Inuktitut;
case 56: return Inupiak;
case 57: return Irish;
case 58: return Italian;
case 59: return Japanese;
case 60: return Javanese;
case 61: return Kannada;
case 62: return Kashmiri;
case 63: return Kazakh;
case 64: return Kinyarwanda;
case 65: return Kirghiz;
case 66: return Korean;
case 67: return Kurdish;
case 68: return Rundi;
case 69: return Lao;
case 70: return Latin;
case 71: return Latvian;
case 72: return Lingala;
case 73: return Lithuanian;
case 74: return Macedonian;
case 75: return Malagasy;
case 76: return Malay;
case 77: return Malayalam;
case 78: return Maltese;
case 79: return Maori;
case 80: return Marathi;
case 81: return Marshallese;
case 82: return Mongolian;
case 83: return NauruLanguage;
case 84: return Nepali;
case 85: return NorwegianBokmal;
case 86: return Occitan;
case 87: return Oriya;
case 88: return Pashto;
case 89: return Persian;
case 90: return Polish;
case 91: return Portuguese;
case 92: return Punjabi;
case 93: return Quechua;
case 94: return Romansh;
case 95: return Romanian;
case 96: return Russian;
case 97: return Samoan;
case 98: return Sango;
case 99: return Sanskrit;
case 100: return Serbian;
case 101: return Ossetic;
case 102: return SouthernSotho;
case 103: return Tswana;
case 104: return Shona;
case 105: return Sindhi;
case 106: return Sinhala;
case 107: return Swati;
case 108: return Slovak;
case 109: return Slovenian;
case 110: return Somali;
case 111: return Spanish;
case 112: return Sundanese;
case 113: return Swahili;
case 114: return Swedish;
case 115: return Sardinian;
case 116: return Tajik;
case 117: return Tamil;
case 118: return Tatar;
case 119: return Telugu;
case 120: return Thai;
case 121: return Tibetan;
case 122: return Tigrinya;
case 123: return Tongan;
case 124: return Tsonga;
case 125: return Turkish;
case 126: return Turkmen;
case 127: return Tahitian;
case 128: return Uighur;
case 129: return Ukrainian;
case 130: return Urdu;
case 131: return Uzbek;
case 132: return Vietnamese;
case 133: return Volapuk;
case 134: return Welsh;
case 135: return Wolof;
case 136: return Xhosa;
case 137: return Yiddish;
case 138: return Yoruba;
case 139: return Zhuang;
case 140: return Zulu;
case 141: return NorwegianNynorsk;
case 142: return Bosnian;
case 143: return Divehi;
case 144: return Manx;
case 145: return Cornish;
case 146: return Akan;
case 147: return Konkani;
case 148: return Ga;
case 149: return Igbo;
case 150: return Kamba;
case 151: return Syriac;
case 152: return Blin;
case 153: return Geez;
case 154: return Koro;
case 155: return Sidamo;
case 156: return Atsam;
case 157: return Tigre;
case 158: return Jju;
case 159: return Friulian;
case 160: return Venda;
case 161: return Ewe;
case 162: return Walamo;
case 163: return Hawaiian;
case 164: return Tyap;
case 165: return Nyanja;
case 166: return Filipino;
case 167: return SwissGerman;
case 168: return SichuanYi;
case 169: return Kpelle;
case 170: return LowGerman;
case 171: return SouthNdebele;
case 172: return NorthernSotho;
case 173: return NorthernSami;
case 174: return Taroko;
case 175: return Gusii;
case 176: return Taita;
case 177: return Fulah;
case 178: return Kikuyu;
case 179: return Samburu;
case 180: return Sena;
case 181: return NorthNdebele;
case 182: return Rombo;
case 183: return Tachelhit;
case 184: return Kabyle;
case 185: return Nyankole;
case 186: return Bena;
case 187: return Vunjo;
case 188: return Bambara;
case 189: return Embu;
case 190: return Cherokee;
case 191: return Morisyen;
case 192: return Makonde;
case 193: return Langi;
case 194: return Ganda;
case 195: return Bemba;
case 196: return Kabuverdianu;
case 197: return Meru;
case 198: return Kalenjin;
case 199: return Nama;
case 200: return Machame;
case 201: return Colognian;
case 202: return Masai;
case 203: return Soga;
case 204: return Luyia;
case 205: return Asu;
case 206: return Teso;
case 207: return Saho;
case 208: return KoyraChiini;
case 209: return Rwa;
case 210: return Luo;
case 211: return Chiga;
case 212: return CentralMoroccoTamazight;
case 213: return KoyraboroSenni;
case 214: return Shambala;
case 215: return Bodo;
case 216: return Avaric;
case 217: return Chamorro;
case 218: return Chechen;
case 219: return Church;
case 220: return Chuvash;
case 221: return Cree;
case 222: return Haitian;
case 223: return Herero;
case 224: return HiriMotu;
case 225: return Kanuri;
case 226: return Komi;
case 227: return Kongo;
case 228: return Kwanyama;
case 229: return Limburgish;
case 230: return LubaKatanga;
case 231: return Luxembourgish;
case 232: return Navaho;
case 233: return Ndonga;
case 234: return Ojibwa;
case 235: return Pali;
case 236: return Walloon;
case 237: return Aghem;
case 238: return Basaa;
case 239: return Zarma;
case 240: return Duala;
case 241: return JolaFonyi;
case 242: return Ewondo;
case 243: return Bafia;
case 244: return MakhuwaMeetto;
case 245: return Mundang;
case 246: return Kwasio;
case 247: return Nuer;
case 248: return Sakha;
case 249: return Sangu;
case 250: return CongoSwahili;
case 251: return Tasawaq;
case 252: return Vai;
case 253: return Walser;
case 254: return Yangben;
case 255: return Avestan;
case 256: return Asturian;
case 257: return Ngomba;
case 258: return Kako;
case 259: return Meta;
case 260: return Ngiemboon;
case 261: return Aragonese;
case 262: return Akkadian;
case 263: return AncientEgyptian;
case 264: return AncientGreek;
case 265: return Aramaic;
case 266: return Balinese;
case 267: return Bamun;
case 268: return BatakToba;
case 269: return Buginese;
case 270: return Buhid;
case 271: return Carian;
case 272: return Chakma;
case 273: return ClassicalMandaic;
case 274: return Coptic;
case 275: return Dogri;
case 276: return EasternCham;
case 277: return EasternKayah;
case 278: return Etruscan;
case 279: return Gothic;
case 280: return Hanunoo;
case 281: return Ingush;
case 282: return LargeFloweryMiao;
case 283: return Lepcha;
case 284: return Limbu;
case 285: return Lisu;
case 286: return Lu;
case 287: return Lycian;
case 288: return Lydian;
case 289: return Mandingo;
case 290: return Manipuri;
case 291: return Meroitic;
case 292: return NorthernThai;
case 293: return OldIrish;
case 294: return OldNorse;
case 295: return OldPersian;
case 296: return OldTurkish;
case 297: return Pahlavi;
case 298: return Parthian;
case 299: return Phoenician;
case 300: return PrakritLanguage;
case 301: return Rejang;
case 302: return Sabaean;
case 303: return Samaritan;
case 304: return Santali;
case 305: return Saurashtra;
case 306: return Sora;
case 307: return Sylheti;
case 308: return Tagbanwa;
case 309: return TaiDam;
case 310: return TaiNua;
case 311: return Ugaritic;
case 312: return Akoose;
case 313: return Lakota;
case 314: return StandardMoroccanTamazight;
case 315: return Mapuche;
case 316: return CentralKurdish;
case 317: return LowerSorbian;
case 318: return UpperSorbian;
case 319: return Kenyang;
case 320: return Mohawk;
case 321: return Nko;
case 322: return Prussian;
case 323: return Kiche;
case 324: return SouthernSami;
case 325: return LuleSami;
case 326: return InariSami;
case 327: return SkoltSami;
case 328: return Warlpiri;
case 329: return ManichaeanMiddlePersian;
case 330: return Mende;
case 331: return AncientNorthArabian;
case 332: return LinearA;
case 333: return HmongNjua;
case 334: return Ho;
case 335: return Lezghian;
case 336: return Bassa;
case 337: return Mono;
case 338: return TedimChin;
case 339: return Maithili;
case 340: return Ahom;
case 341: return AmericanSignLanguage;
case 342: return ArdhamagadhiPrakrit;
case 343: return Bhojpuri;
case 344: return HieroglyphicLuwian;
case 345: return LiteraryChinese;
case 346: return Mazanderani;
case 347: return Mru;
case 348: return Newari;
case 349: return NorthernLuri;
case 350: return Palauan;
case 351: return Papiamento;
case 352: return Saraiki;
case 353: return TokelauLanguage;
case 354: return TokPisin;
case 355: return TuvaluLanguage;
case 356: return UncodedLanguages;
case 357: return Cantonese;
case 358: return Osage;
case 359: return Tangut;
case 360: return Ido;
case 361: return Lojban;
case 362: return Sicilian;
case 363: return SouthernKurdish;
case 364: return WesternBalochi;
case 365: return Cebuano;
case 366: return Erzya;
case 367: return Chickasaw;
case 368: return Muscogee;
case 369: return Silesian;
case 370: return NigerianPidgin;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int 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({"SimplifiedChineseScript", "TraditionalChineseScript", "LastScript"})
public enum Script implements io.qt.QtEnumerator {
AnyScript(0),
ArabicScript(1),
CyrillicScript(2),
DeseretScript(3),
GurmukhiScript(4),
SimplifiedHanScript(5),
TraditionalHanScript(6),
LatinScript(7),
MongolianScript(8),
TifinaghScript(9),
ArmenianScript(10),
BengaliScript(11),
CherokeeScript(12),
DevanagariScript(13),
EthiopicScript(14),
GeorgianScript(15),
GreekScript(16),
GujaratiScript(17),
HebrewScript(18),
JapaneseScript(19),
KhmerScript(20),
KannadaScript(21),
KoreanScript(22),
LaoScript(23),
MalayalamScript(24),
MyanmarScript(25),
OriyaScript(26),
TamilScript(27),
TeluguScript(28),
ThaanaScript(29),
ThaiScript(30),
TibetanScript(31),
SinhalaScript(32),
SyriacScript(33),
YiScript(34),
VaiScript(35),
AvestanScript(36),
BalineseScript(37),
BamumScript(38),
BatakScript(39),
BopomofoScript(40),
BrahmiScript(41),
BugineseScript(42),
BuhidScript(43),
CanadianAboriginalScript(44),
CarianScript(45),
ChakmaScript(46),
ChamScript(47),
CopticScript(48),
CypriotScript(49),
EgyptianHieroglyphsScript(50),
FraserScript(51),
GlagoliticScript(52),
GothicScript(53),
HanScript(54),
HangulScript(55),
HanunooScript(56),
ImperialAramaicScript(57),
InscriptionalPahlaviScript(58),
InscriptionalParthianScript(59),
JavaneseScript(60),
KaithiScript(61),
KatakanaScript(62),
KayahLiScript(63),
KharoshthiScript(64),
LannaScript(65),
LepchaScript(66),
LimbuScript(67),
LinearBScript(68),
LycianScript(69),
LydianScript(70),
MandaeanScript(71),
MeiteiMayekScript(72),
MeroiticScript(73),
MeroiticCursiveScript(74),
NkoScript(75),
NewTaiLueScript(76),
OghamScript(77),
OlChikiScript(78),
OldItalicScript(79),
OldPersianScript(80),
OldSouthArabianScript(81),
OrkhonScript(82),
OsmanyaScript(83),
PhagsPaScript(84),
PhoenicianScript(85),
PollardPhoneticScript(86),
RejangScript(87),
RunicScript(88),
SamaritanScript(89),
SaurashtraScript(90),
SharadaScript(91),
ShavianScript(92),
SoraSompengScript(93),
CuneiformScript(94),
SundaneseScript(95),
SylotiNagriScript(96),
TagalogScript(97),
TagbanwaScript(98),
TaiLeScript(99),
TaiVietScript(100),
TakriScript(101),
UgariticScript(102),
BrailleScript(103),
HiraganaScript(104),
CaucasianAlbanianScript(105),
BassaVahScript(106),
DuployanScript(107),
ElbasanScript(108),
GranthaScript(109),
PahawhHmongScript(110),
KhojkiScript(111),
LinearAScript(112),
MahajaniScript(113),
ManichaeanScript(114),
MendeKikakuiScript(115),
ModiScript(116),
MroScript(117),
OldNorthArabianScript(118),
NabataeanScript(119),
PalmyreneScript(120),
PauCinHauScript(121),
OldPermicScript(122),
PsalterPahlaviScript(123),
SiddhamScript(124),
KhudawadiScript(125),
TirhutaScript(126),
VarangKshitiScript(127),
AhomScript(128),
AnatolianHieroglyphsScript(129),
HatranScript(130),
MultaniScript(131),
OldHungarianScript(132),
SignWritingScript(133),
AdlamScript(134),
BhaiksukiScript(135),
MarchenScript(136),
NewaScript(137),
OsageScript(138),
TangutScript(139),
HanWithBopomofoScript(140),
JamoScript(141),
SimplifiedChineseScript(5),
TraditionalChineseScript(6),
LastScript(141);
private Script(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 Script resolve(int value) {
switch (value) {
case 0: return AnyScript;
case 1: return ArabicScript;
case 2: return CyrillicScript;
case 3: return DeseretScript;
case 4: return GurmukhiScript;
case 5: return SimplifiedHanScript;
case 6: return TraditionalHanScript;
case 7: return LatinScript;
case 8: return MongolianScript;
case 9: return TifinaghScript;
case 10: return ArmenianScript;
case 11: return BengaliScript;
case 12: return CherokeeScript;
case 13: return DevanagariScript;
case 14: return EthiopicScript;
case 15: return GeorgianScript;
case 16: return GreekScript;
case 17: return GujaratiScript;
case 18: return HebrewScript;
case 19: return JapaneseScript;
case 20: return KhmerScript;
case 21: return KannadaScript;
case 22: return KoreanScript;
case 23: return LaoScript;
case 24: return MalayalamScript;
case 25: return MyanmarScript;
case 26: return OriyaScript;
case 27: return TamilScript;
case 28: return TeluguScript;
case 29: return ThaanaScript;
case 30: return ThaiScript;
case 31: return TibetanScript;
case 32: return SinhalaScript;
case 33: return SyriacScript;
case 34: return YiScript;
case 35: return VaiScript;
case 36: return AvestanScript;
case 37: return BalineseScript;
case 38: return BamumScript;
case 39: return BatakScript;
case 40: return BopomofoScript;
case 41: return BrahmiScript;
case 42: return BugineseScript;
case 43: return BuhidScript;
case 44: return CanadianAboriginalScript;
case 45: return CarianScript;
case 46: return ChakmaScript;
case 47: return ChamScript;
case 48: return CopticScript;
case 49: return CypriotScript;
case 50: return EgyptianHieroglyphsScript;
case 51: return FraserScript;
case 52: return GlagoliticScript;
case 53: return GothicScript;
case 54: return HanScript;
case 55: return HangulScript;
case 56: return HanunooScript;
case 57: return ImperialAramaicScript;
case 58: return InscriptionalPahlaviScript;
case 59: return InscriptionalParthianScript;
case 60: return JavaneseScript;
case 61: return KaithiScript;
case 62: return KatakanaScript;
case 63: return KayahLiScript;
case 64: return KharoshthiScript;
case 65: return LannaScript;
case 66: return LepchaScript;
case 67: return LimbuScript;
case 68: return LinearBScript;
case 69: return LycianScript;
case 70: return LydianScript;
case 71: return MandaeanScript;
case 72: return MeiteiMayekScript;
case 73: return MeroiticScript;
case 74: return MeroiticCursiveScript;
case 75: return NkoScript;
case 76: return NewTaiLueScript;
case 77: return OghamScript;
case 78: return OlChikiScript;
case 79: return OldItalicScript;
case 80: return OldPersianScript;
case 81: return OldSouthArabianScript;
case 82: return OrkhonScript;
case 83: return OsmanyaScript;
case 84: return PhagsPaScript;
case 85: return PhoenicianScript;
case 86: return PollardPhoneticScript;
case 87: return RejangScript;
case 88: return RunicScript;
case 89: return SamaritanScript;
case 90: return SaurashtraScript;
case 91: return SharadaScript;
case 92: return ShavianScript;
case 93: return SoraSompengScript;
case 94: return CuneiformScript;
case 95: return SundaneseScript;
case 96: return SylotiNagriScript;
case 97: return TagalogScript;
case 98: return TagbanwaScript;
case 99: return TaiLeScript;
case 100: return TaiVietScript;
case 101: return TakriScript;
case 102: return UgariticScript;
case 103: return BrailleScript;
case 104: return HiraganaScript;
case 105: return CaucasianAlbanianScript;
case 106: return BassaVahScript;
case 107: return DuployanScript;
case 108: return ElbasanScript;
case 109: return GranthaScript;
case 110: return PahawhHmongScript;
case 111: return KhojkiScript;
case 112: return LinearAScript;
case 113: return MahajaniScript;
case 114: return ManichaeanScript;
case 115: return MendeKikakuiScript;
case 116: return ModiScript;
case 117: return MroScript;
case 118: return OldNorthArabianScript;
case 119: return NabataeanScript;
case 120: return PalmyreneScript;
case 121: return PauCinHauScript;
case 122: return OldPermicScript;
case 123: return PsalterPahlaviScript;
case 124: return SiddhamScript;
case 125: return KhudawadiScript;
case 126: return TirhutaScript;
case 127: return VarangKshitiScript;
case 128: return AhomScript;
case 129: return AnatolianHieroglyphsScript;
case 130: return HatranScript;
case 131: return MultaniScript;
case 132: return OldHungarianScript;
case 133: return SignWritingScript;
case 134: return AdlamScript;
case 135: return BhaiksukiScript;
case 136: return MarchenScript;
case 137: return NewaScript;
case 138: return OsageScript;
case 139: return TangutScript;
case 140: return HanWithBopomofoScript;
case 141: return JamoScript;
default: throw new io.qt.QNoSuchEnumValueException(value);
}
}
private final int value;
}
/**
*
*/
public QLocale(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QLocale instance);
/**
* Overloaded constructor for {@link #QLocale(io.qt.core.QLocale.Language, io.qt.core.QLocale.Country)}
* with country = io.qt.core.QLocale.Country.AnyCountry
.
*/
public QLocale(io.qt.core.QLocale.Language language) {
this(language, io.qt.core.QLocale.Country.AnyCountry);
}
/**
* See QLocale::QLocale(QLocale::Language,QLocale::Country)
*/
public QLocale(io.qt.core.QLocale.Language language, io.qt.core.QLocale.Country country){
super((QPrivateConstructor)null);
initialize_native(this, language, country);
}
private native static void initialize_native(QLocale instance, io.qt.core.QLocale.Language language, io.qt.core.QLocale.Country country);
/**
* See QLocale::QLocale(QLocale::Language,QLocale::Script,QLocale::Country)
*/
public QLocale(io.qt.core.QLocale.Language language, io.qt.core.QLocale.Script script, io.qt.core.QLocale.Country country){
super((QPrivateConstructor)null);
initialize_native(this, language, script, country);
}
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 country);
/**
*
*/
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 int 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 char decimalPoint(){
return decimalPoint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native char decimalPoint_native_constfct(long __this__nativeId);
/**
* See QLocale::exponential()const
*/
@io.qt.QtUninvokable
public final char exponential(){
return exponential_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native char 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 char groupSeparator(){
return groupSeparator_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native char 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 int 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);
/**
* See QLocale::nativeCountryName()const
*/
@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::negativeSign()const
*/
@io.qt.QtUninvokable
public final char negativeSign(){
return negativeSign_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native char 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);
/**
* See QLocale::operator==(QLocale)const
*/
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QLocale other){
return operator_equal_native_cref_QLocale_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QLocale_constfct(long __this__nativeId, long other);
@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 char percent(){
return percent_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native char 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 char positiveSign(){
return positiveSign_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native char 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 int 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);
/**
* 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)}
* with symbol = ""
.
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(double arg__1) {
return toCurrencyString(arg__1, "");
}
/**
* See QLocale::toCurrencyString(double,QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(double arg__1, java.lang.String symbol){
return toCurrencyString_native_double_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, symbol);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_double_cref_QString_constfct(long __this__nativeId, double arg__1, java.lang.String symbol);
/**
* 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)}
* with symbol = ""
.
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(float i) {
return toCurrencyString(i, "");
}
/**
* See QLocale::toCurrencyString(float,QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(float i, java.lang.String symbol){
return toCurrencyString_native_float_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i, symbol);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_float_cref_QString_constfct(long __this__nativeId, float i, java.lang.String symbol);
/**
* 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 arg__1) {
return toCurrencyString(arg__1, "");
}
/**
* See QLocale::toCurrencyString(int,QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(int arg__1, java.lang.String symbol){
return toCurrencyString_native_int_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, symbol);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_int_cref_QString_constfct(long __this__nativeId, int arg__1, 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 arg__1) {
return toCurrencyString(arg__1, "");
}
/**
* See QLocale::toCurrencyString(short,QString)const
*/
@io.qt.QtUninvokable
public final java.lang.String toCurrencyString(short arg__1, java.lang.String symbol){
return toCurrencyString_native_short_cref_QString_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1, symbol);
}
@io.qt.QtUninvokable
private native java.lang.String toCurrencyString_native_short_cref_QString_constfct(long __this__nativeId, short arg__1, 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_cref_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_cref_QDate_QLocale_FormatType_constfct(long __this__nativeId, long date, int format);
@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_cref_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_cref_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 formatStr){
return toString_native_cref_QDate_QStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), formatStr);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_cref_QDate_QStringView_constfct(long __this__nativeId, long date, java.lang.String formatStr);
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDate date, java.lang.String formatStr, io.qt.core.QCalendar cal){
return toString_native_cref_QDate_QStringView_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(date), formatStr, QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_cref_QDate_QStringView_QCalendar_constfct(long __this__nativeId, long date, java.lang.String formatStr, long cal);
/**
* 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);
@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);
@io.qt.QtUninvokable
public final java.lang.String toString(io.qt.core.QDateTime dateTime, java.lang.String formatStr, io.qt.core.QCalendar cal){
return toString_native_cref_QDateTime_QStringView_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(dateTime), formatStr, 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 formatStr, 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_cref_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_cref_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 formatStr){
return toString_native_cref_QTime_QStringView_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(time), formatStr);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_cref_QTime_QStringView_constfct(long __this__nativeId, long time, java.lang.String formatStr);
/**
* Overloaded function for {@link #toString(double, byte, int)}
* with prec = 6
.
*/
@io.qt.QtUninvokable
public final java.lang.String toString(double i, byte f) {
return toString(i, f, (int)6);
}
/**
* Overloaded function for {@link #toString(double, byte, int)}
* with:
* f = 'g'
* prec = 6
*
*/
@io.qt.QtUninvokable
public final java.lang.String toString(double i) {
return toString(i, (byte)'g', (int)6);
}
/**
* See QLocale::toString(double,char,int)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(double i, byte f, int prec){
return toString_native_double_char_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i, f, prec);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_double_char_int_constfct(long __this__nativeId, double i, byte f, int prec);
/**
* Overloaded function for {@link #toString(float, byte, int)}
* with prec = 6
.
*/
@io.qt.QtUninvokable
public final java.lang.String toString(float i, byte f) {
return toString(i, f, (int)6);
}
/**
* Overloaded function for {@link #toString(float, byte, int)}
* with:
* f = 'g'
* prec = 6
*
*/
@io.qt.QtUninvokable
public final java.lang.String toString(float i) {
return toString(i, (byte)'g', (int)6);
}
/**
* See QLocale::toString(float,char,int)const
*/
@io.qt.QtUninvokable
public final java.lang.String toString(float i, byte f, int prec){
return toString_native_float_char_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), i, f, prec);
}
@io.qt.QtUninvokable
private native java.lang.String toString_native_float_char_int_constfct(long __this__nativeId, float i, byte f, int prec);
/**
* 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,QLocale::FormatType,QCalendar)const
*
* @deprecated Calendar is ignored when parsing times
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QTime toTime(java.lang.String string, io.qt.core.QLocale.FormatType format, io.qt.core.QCalendar cal){
return toTime_native_cref_QString_QLocale_FormatType_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format.value(), QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QTime toTime_native_cref_QString_QLocale_FormatType_QCalendar_constfct(long __this__nativeId, java.lang.String string, int format, long cal);
/**
* 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::toTime(QString,QString,QCalendar)const
*
* @deprecated Calendar is ignored when parsing times
*/
@Deprecated
@io.qt.QtUninvokable
public final io.qt.core.QTime toTime(java.lang.String string, java.lang.String format, io.qt.core.QCalendar cal){
return toTime_native_cref_QString_cref_QString_QCalendar_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), string, format, QtJambi_LibraryUtilities.internal.checkedNativeId(cal));
}
@Deprecated
@io.qt.QtUninvokable
private native io.qt.core.QTime toTime_native_cref_QString_cref_QString_QCalendar_constfct(long __this__nativeId, java.lang.String string, java.lang.String format, long cal);
/**
* 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 char zeroDigit(){
return zeroDigit_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native char zeroDigit_native_constfct(long __this__nativeId);
/**
* See QLocale::c()
*/
public native static io.qt.core.QLocale c();
/**
* See QLocale::countriesForLanguage(QLocale::Language)
*/
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(int lang);
/**
* See QLocale::countryToString(QLocale::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(int country);
/**
* 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(int language);
/**
* See QLocale::matchingLocales(QLocale::Language,QLocale::Script,QLocale::Country)
*/
public static io.qt.core.QList matchingLocales(io.qt.core.QLocale.Language language, io.qt.core.QLocale.Script script, io.qt.core.QLocale.Country country){
return matchingLocales_native_QLocale_Language_QLocale_Script_QLocale_Country(language.value(), script.value(), country.value());
}
private native static io.qt.core.QList matchingLocales_native_QLocale_Language_QLocale_Script_QLocale_Country(int language, int script, int country);
/**
* 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(int 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();
/**
* 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);
}