QLocale Class Reference
Constructor
- void QLocale()
- void QLocale(Language language, Country country)
- void QLocale(Language language, Script script, Country country)
- void QLocale(QLocale other)
- void QLocale(String name)
Constructor Properties
- prototype: The QLocale prototype object
- QLocale c()
- List countriesForLanguage(Language lang)
- String countryToString(Country country)
- String languageToString(Language language)
- List matchingLocales(Language language, Script script, Country country)
- String scriptToString(Script script)
- void setDefault(QLocale locale)
- QLocale system()
- StandardQuotation
- AlternateQuotation
- QuotationStyle( value )
- OmitGroupSeparator = 0x01
- RejectGroupSeparator = 0x02
- NumberOption( value )
- NumberOptions( value1, value2, ... )
- 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
- 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
- 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
- Buhid = 270
- Carian = 271
- Chakma = 272
- ClassicalMandaic = 273
- Coptic = 274
- Dogri = 275
- EasternCham = 276
- EasternKayah = 277
- Etruscan = 278
- Gothic = 279
- Hanunoo = 280
- Ingush = 281
- LargeFloweryMiao = 282
- Lepcha = 283
- Limbu = 284
- Lisu = 285
- Lu = 286
- Lycian = 287
- Lydian = 288
- Mandingo = 289
- Manipuri = 290
- Meroitic = 291
- NorthernThai = 292
- OldIrish = 293
- OldNorse = 294
- OldPersian = 295
- OldTurkish = 296
- Pahlavi = 297
- Parthian = 298
- Phoenician = 299
- PrakritLanguage = 300
- Rejang = 301
- Sabaean = 302
- Samaritan = 303
- Santali = 304
- Saurashtra = 305
- Sora = 306
- Sylheti = 307
- Tagbanwa = 308
- TaiDam = 309
- TaiNua = 310
- Ugaritic = 311
- Akoose = 312
- Lakota = 313
- StandardMoroccanTamazight = 314
- Language( value )
- 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
- Script( value )
- 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
- Tokelau = 213
- Tonga = 214
- TrinidadAndTobago = 215
- Tunisia = 216
- Turkey = 217
- Turkmenistan = 218
- TurksAndCaicosIslands = 219
- Tuvalu = 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
- LatinAmericaAndTheCaribbean = 246
- AscensionIsland = 247
- AlandIslands = 248
- DiegoGarcia = 249
- CeutaAndMelilla = 250
- IsleOfMan = 251
- Jersey = 252
- TristanDaCunha = 253
- SouthSudan = 254
- Bonaire = 255
- SintMaarten = 256
- Kosovo = 257
- Country( value )
- MetricSystem
- ImperialUSSystem
- ImperialUKSystem
- MeasurementSystem( value )
- LongFormat
- ShortFormat
- NarrowFormat
- FormatType( value )
- CurrencyIsoCode
- CurrencySymbol
- CurrencyDisplayName
- CurrencySymbolFormat( value )
Prototype Object Properties
- String amText()
- String bcp47Name()
- Country country()
- String createSeparatedList(List strl)
- String currencySymbol(CurrencySymbolFormat arg__1)
- String dateFormat(FormatType format)
- String dateTimeFormat(FormatType format)
- String dayName(int arg__1, FormatType format)
- char decimalPoint()
- char exponential()
- DayOfWeek firstDayOfWeek()
- char groupSeparator()
- Language language()
- MeasurementSystem measurementSystem()
- String monthName(int arg__1, FormatType format)
- String name()
- String nativeCountryName()
- String nativeLanguageName()
- char negativeSign()
- NumberOptions numberOptions()
- bool operator_equal(QLocale other)
- char percent()
- String pmText()
- char positiveSign()
- String quoteString(String str, QuotationStyle style)
- Script script()
- void setNumberOptions(NumberOptions options)
- String standaloneDayName(int arg__1, FormatType format)
- String standaloneMonthName(int arg__1, FormatType format)
- LayoutDirection textDirection()
- String timeFormat(FormatType format)
- String toCurrencyString(double arg__1, String symbol)
- QDate toDate(String string, FormatType arg__2)
- QDateTime toDateTime(String string, FormatType format)
- double toDouble(String s)
- float toFloat(String s)
- int toInt(String s, bool ok)
- qlonglong toLongLong(String s, bool ok)
- String toLower(String str)
- short toShort(String s, bool ok)
- String toString(QDate date, FormatType format)
- QTime toTime(String string, FormatType arg__2)
- uint toUInt(String s, bool ok)
- qulonglong toULongLong(String s, bool ok)
- ushort toUShort(String s, bool ok)
- String toUpper(String str)
- List uiLanguages()
- List weekdays()
- char zeroDigit()
Instance Properties
QLocale objects have no special properties beyond those inherited from the QLocale prototype object.