QtBase  v6.3.1
qlocale.h
Go to the documentation of this file.
1 /****************************************************************************
2 **
3 ** Copyright (C) 2021 The Qt Company Ltd.
4 ** Contact: https://www.qt.io/licensing/
5 **
6 ** This file is part of the QtCore module of the Qt Toolkit.
7 **
8 ** $QT_BEGIN_LICENSE:LGPL$
9 ** Commercial License Usage
10 ** Licensees holding valid commercial Qt licenses may use this file in
11 ** accordance with the commercial license agreement provided with the
12 ** Software or, alternatively, in accordance with the terms contained in
13 ** a written agreement between you and The Qt Company. For licensing terms
14 ** and conditions see https://www.qt.io/terms-conditions. For further
15 ** information use the contact form at https://www.qt.io/contact-us.
16 **
17 ** GNU Lesser General Public License Usage
18 ** Alternatively, this file may be used under the terms of the GNU Lesser
19 ** General Public License version 3 as published by the Free Software
20 ** Foundation and appearing in the file LICENSE.LGPL3 included in the
21 ** packaging of this file. Please review the following information to
22 ** ensure the GNU Lesser General Public License version 3 requirements
23 ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
24 **
25 ** GNU General Public License Usage
26 ** Alternatively, this file may be used under the terms of the GNU
27 ** General Public License version 2.0 or (at your option) the GNU General
28 ** Public license version 3 or any later version approved by the KDE Free
29 ** Qt Foundation. The licenses are as published by the Free Software
30 ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
31 ** included in the packaging of this file. Please review the following
32 ** information to ensure the GNU General Public License requirements will
33 ** be met: https://www.gnu.org/licenses/gpl-2.0.html and
34 ** https://www.gnu.org/licenses/gpl-3.0.html.
35 **
36 ** $QT_END_LICENSE$
37 **
38 ****************************************************************************/
39 
40 #ifndef QLOCALE_H
41 #define QLOCALE_H
42 
43 #include <QtCore/qvariant.h>
44 #include <QtCore/qstring.h>
45 #include <QtCore/qobjectdefs.h>
46 #include <QtCore/qshareddata.h>
47 
49 
50 class QCalendar;
51 class QDataStream;
52 class QDate;
53 class QDateTime;
54 class QLocale;
55 class QTime;
56 class QVariant;
57 class QTextStream;
58 class QTextStreamPrivate;
59 
60 class QLocalePrivate;
61 
62 Q_CORE_EXPORT size_t qHash(const QLocale &key, size_t seed = 0) noexcept;
63 
64 class Q_CORE_EXPORT QLocale
65 {
66  Q_GADGET
67  friend class QString;
68  friend class QByteArray;
69  friend class QIntValidator;
71  friend class QTextStream;
72  friend class QTextStreamPrivate;
73 
74 public:
75 // see qlocale_data_p.h for more info on generated data
76 // GENERATED PART STARTS HERE
77  enum Language : ushort {
78  AnyLanguage = 0,
79  C = 1,
80  Abkhazian = 2,
81  Afar = 3,
82  Afrikaans = 4,
83  Aghem = 5,
84  Akan = 6,
85  Akkadian = 7,
86  Akoose = 8,
87  Albanian = 9,
88  AmericanSignLanguage = 10,
89  Amharic = 11,
90  AncientEgyptian = 12,
91  AncientGreek = 13,
92  Arabic = 14,
93  Aragonese = 15,
94  Aramaic = 16,
95  Armenian = 17,
96  Assamese = 18,
97  Asturian = 19,
98  Asu = 20,
99  Atsam = 21,
100  Avaric = 22,
101  Avestan = 23,
102  Aymara = 24,
103  Azerbaijani = 25,
104  Bafia = 26,
105  Balinese = 27,
106  Bambara = 28,
107  Bamun = 29,
108  Bangla = 30,
109  Basaa = 31,
110  Bashkir = 32,
111  Basque = 33,
112  BatakToba = 34,
113  Belarusian = 35,
114  Bemba = 36,
115  Bena = 37,
116  Bhojpuri = 38,
117  Bislama = 39,
118  Blin = 40,
119  Bodo = 41,
120  Bosnian = 42,
121  Breton = 43,
122  Buginese = 44,
123  Bulgarian = 45,
124  Burmese = 46,
125  Cantonese = 47,
126  Catalan = 48,
127  Cebuano = 49,
128  CentralAtlasTamazight = 50,
129  CentralKurdish = 51,
130  Chakma = 52,
131  Chamorro = 53,
132  Chechen = 54,
133  Cherokee = 55,
134  Chickasaw = 56,
135  Chiga = 57,
136  Chinese = 58,
137  Church = 59,
138  Chuvash = 60,
139  Colognian = 61,
140  Coptic = 62,
141  Cornish = 63,
142  Corsican = 64,
143  Cree = 65,
144  Croatian = 66,
145  Czech = 67,
146  Danish = 68,
147  Divehi = 69,
148  Dogri = 70,
149  Duala = 71,
150  Dutch = 72,
151  Dzongkha = 73,
152  Embu = 74,
153  English = 75,
154  Erzya = 76,
155  Esperanto = 77,
156  Estonian = 78,
157  Ewe = 79,
158  Ewondo = 80,
159  Faroese = 81,
160  Fijian = 82,
161  Filipino = 83,
162  Finnish = 84,
163  French = 85,
164  Friulian = 86,
165  Fulah = 87,
166  Gaelic = 88,
167  Ga = 89,
168  Galician = 90,
169  Ganda = 91,
170  Geez = 92,
171  Georgian = 93,
172  German = 94,
173  Gothic = 95,
174  Greek = 96,
175  Guarani = 97,
176  Gujarati = 98,
177  Gusii = 99,
178  Haitian = 100,
179  Hausa = 101,
180  Hawaiian = 102,
181  Hebrew = 103,
182  Herero = 104,
183  Hindi = 105,
184  HiriMotu = 106,
185  Hungarian = 107,
186  Icelandic = 108,
187  Ido = 109,
188  Igbo = 110,
189  InariSami = 111,
190  Indonesian = 112,
191  Ingush = 113,
192  Interlingua = 114,
193  Interlingue = 115,
194  Inuktitut = 116,
195  Inupiaq = 117,
196  Irish = 118,
197  Italian = 119,
198  Japanese = 120,
199  Javanese = 121,
200  Jju = 122,
201  JolaFonyi = 123,
202  Kabuverdianu = 124,
203  Kabyle = 125,
204  Kako = 126,
205  Kalaallisut = 127,
206  Kalenjin = 128,
207  Kamba = 129,
208  Kannada = 130,
209  Kanuri = 131,
210  Kashmiri = 132,
211  Kazakh = 133,
212  Kenyang = 134,
213  Khmer = 135,
214  Kiche = 136,
215  Kikuyu = 137,
216  Kinyarwanda = 138,
217  Komi = 139,
218  Kongo = 140,
219  Konkani = 141,
220  Korean = 142,
221  Koro = 143,
222  KoyraboroSenni = 144,
223  KoyraChiini = 145,
224  Kpelle = 146,
225  Kuanyama = 147,
226  Kurdish = 148,
227  Kwasio = 149,
228  Kyrgyz = 150,
229  Lakota = 151,
230  Langi = 152,
231  Lao = 153,
232  Latin = 154,
233  Latvian = 155,
234  Lezghian = 156,
235  Limburgish = 157,
236  Lingala = 158,
237  LiteraryChinese = 159,
238  Lithuanian = 160,
239  Lojban = 161,
240  LowerSorbian = 162,
241  LowGerman = 163,
242  LubaKatanga = 164,
243  LuleSami = 165,
244  Luo = 166,
245  Luxembourgish = 167,
246  Luyia = 168,
247  Macedonian = 169,
248  Machame = 170,
249  Maithili = 171,
250  MakhuwaMeetto = 172,
251  Makonde = 173,
252  Malagasy = 174,
253  Malayalam = 175,
254  Malay = 176,
255  Maltese = 177,
256  Mandingo = 178,
257  Manipuri = 179,
258  Manx = 180,
259  Maori = 181,
260  Mapuche = 182,
261  Marathi = 183,
262  Marshallese = 184,
263  Masai = 185,
264  Mazanderani = 186,
265  Mende = 187,
266  Meru = 188,
267  Meta = 189,
268  Mohawk = 190,
269  Mongolian = 191,
270  Morisyen = 192,
271  Mundang = 193,
272  Muscogee = 194,
273  Nama = 195,
274  NauruLanguage = 196,
275  Navajo = 197,
276  Ndonga = 198,
277  Nepali = 199,
278  Newari = 200,
279  Ngiemboon = 201,
280  Ngomba = 202,
281  NigerianPidgin = 203,
282  Nko = 204,
283  NorthernLuri = 205,
284  NorthernSami = 206,
285  NorthernSotho = 207,
286  NorthNdebele = 208,
287  NorwegianBokmal = 209,
288  NorwegianNynorsk = 210,
289  Nuer = 211,
290  Nyanja = 212,
291  Nyankole = 213,
292  Occitan = 214,
293  Odia = 215,
294  Ojibwa = 216,
295  OldIrish = 217,
296  OldNorse = 218,
297  OldPersian = 219,
298  Oromo = 220,
299  Osage = 221,
300  Ossetic = 222,
301  Pahlavi = 223,
302  Palauan = 224,
303  Pali = 225,
304  Papiamento = 226,
305  Pashto = 227,
306  Persian = 228,
307  Phoenician = 229,
308  Polish = 230,
309  Portuguese = 231,
310  Prussian = 232,
311  Punjabi = 233,
312  Quechua = 234,
313  Romanian = 235,
314  Romansh = 236,
315  Rombo = 237,
316  Rundi = 238,
317  Russian = 239,
318  Rwa = 240,
319  Saho = 241,
320  Sakha = 242,
321  Samburu = 243,
322  Samoan = 244,
323  Sango = 245,
324  Sangu = 246,
325  Sanskrit = 247,
326  Santali = 248,
327  Sardinian = 249,
328  Saurashtra = 250,
329  Sena = 251,
330  Serbian = 252,
331  Shambala = 253,
332  Shona = 254,
333  SichuanYi = 255,
334  Sicilian = 256,
335  Sidamo = 257,
336  Silesian = 258,
337  Sindhi = 259,
338  Sinhala = 260,
339  SkoltSami = 261,
340  Slovak = 262,
341  Slovenian = 263,
342  Soga = 264,
343  Somali = 265,
344  SouthernKurdish = 266,
345  SouthernSami = 267,
346  SouthernSotho = 268,
347  SouthNdebele = 269,
348  Spanish = 270,
349  StandardMoroccanTamazight = 271,
350  Sundanese = 272,
351  Swahili = 273,
352  Swati = 274,
353  Swedish = 275,
354  SwissGerman = 276,
355  Syriac = 277,
356  Tachelhit = 278,
357  Tahitian = 279,
358  TaiDam = 280,
359  Taita = 281,
360  Tajik = 282,
361  Tamil = 283,
362  Taroko = 284,
363  Tasawaq = 285,
364  Tatar = 286,
365  Telugu = 287,
366  Teso = 288,
367  Thai = 289,
368  Tibetan = 290,
369  Tigre = 291,
370  Tigrinya = 292,
371  TokelauLanguage = 293,
372  TokPisin = 294,
373  Tongan = 295,
374  Tsonga = 296,
375  Tswana = 297,
376  Turkish = 298,
377  Turkmen = 299,
378  TuvaluLanguage = 300,
379  Tyap = 301,
380  Ugaritic = 302,
381  Ukrainian = 303,
382  UpperSorbian = 304,
383  Urdu = 305,
384  Uyghur = 306,
385  Uzbek = 307,
386  Vai = 308,
387  Venda = 309,
388  Vietnamese = 310,
389  Volapuk = 311,
390  Vunjo = 312,
391  Walloon = 313,
392  Walser = 314,
393  Warlpiri = 315,
394  Welsh = 316,
395  WesternBalochi = 317,
396  WesternFrisian = 318,
397  Wolaytta = 319,
398  Wolof = 320,
399  Xhosa = 321,
400  Yangben = 322,
401  Yiddish = 323,
402  Yoruba = 324,
403  Zarma = 325,
404  Zhuang = 326,
405  Zulu = 327,
406  Kaingang = 328,
407  Nheengatu = 329,
408 
409  Afan = Oromo,
410  Bengali = Bangla,
411  Bhutani = Dzongkha,
412  Byelorussian = Belarusian,
413  Cambodian = Khmer,
414  CentralMoroccoTamazight = CentralAtlasTamazight,
415  Chewa = Nyanja,
416  Frisian = WesternFrisian,
417  Greenlandic = Kalaallisut,
418  Inupiak = Inupiaq,
419  Kirghiz = Kyrgyz,
420  Kurundi = Rundi,
421  Kwanyama = Kuanyama,
422  Navaho = Navajo,
423  Oriya = Odia,
424  RhaetoRomance = Romansh,
425  Uighur = Uyghur,
426  Uigur = Uyghur,
427  Walamo = Wolaytta,
428 
429  LastLanguage = Nheengatu
430  };
431 
432  enum Script : ushort {
433  AnyScript = 0,
434  AdlamScript = 1,
435  AhomScript = 2,
436  AnatolianHieroglyphsScript = 3,
437  ArabicScript = 4,
438  ArmenianScript = 5,
439  AvestanScript = 6,
440  BalineseScript = 7,
441  BamumScript = 8,
442  BanglaScript = 9,
443  BassaVahScript = 10,
444  BatakScript = 11,
445  BhaiksukiScript = 12,
446  BopomofoScript = 13,
447  BrahmiScript = 14,
448  BrailleScript = 15,
449  BugineseScript = 16,
450  BuhidScript = 17,
451  CanadianAboriginalScript = 18,
452  CarianScript = 19,
453  CaucasianAlbanianScript = 20,
454  ChakmaScript = 21,
455  ChamScript = 22,
456  CherokeeScript = 23,
457  CopticScript = 24,
458  CuneiformScript = 25,
459  CypriotScript = 26,
460  CyrillicScript = 27,
461  DeseretScript = 28,
462  DevanagariScript = 29,
463  DuployanScript = 30,
464  EgyptianHieroglyphsScript = 31,
465  ElbasanScript = 32,
466  EthiopicScript = 33,
467  FraserScript = 34,
468  GeorgianScript = 35,
469  GlagoliticScript = 36,
470  GothicScript = 37,
471  GranthaScript = 38,
472  GreekScript = 39,
473  GujaratiScript = 40,
474  GurmukhiScript = 41,
475  HangulScript = 42,
476  HanScript = 43,
477  HanunooScript = 44,
478  HanWithBopomofoScript = 45,
479  HatranScript = 46,
480  HebrewScript = 47,
481  HiraganaScript = 48,
482  ImperialAramaicScript = 49,
483  InscriptionalPahlaviScript = 50,
484  InscriptionalParthianScript = 51,
485  JamoScript = 52,
486  JapaneseScript = 53,
487  JavaneseScript = 54,
488  KaithiScript = 55,
489  KannadaScript = 56,
490  KatakanaScript = 57,
491  KayahLiScript = 58,
492  KharoshthiScript = 59,
493  KhmerScript = 60,
494  KhojkiScript = 61,
495  KhudawadiScript = 62,
496  KoreanScript = 63,
497  LannaScript = 64,
498  LaoScript = 65,
499  LatinScript = 66,
500  LepchaScript = 67,
501  LimbuScript = 68,
502  LinearAScript = 69,
503  LinearBScript = 70,
504  LycianScript = 71,
505  LydianScript = 72,
506  MahajaniScript = 73,
507  MalayalamScript = 74,
508  MandaeanScript = 75,
509  ManichaeanScript = 76,
510  MarchenScript = 77,
511  MeiteiMayekScript = 78,
512  MendeScript = 79,
513  MeroiticCursiveScript = 80,
514  MeroiticScript = 81,
515  ModiScript = 82,
516  MongolianScript = 83,
517  MroScript = 84,
518  MultaniScript = 85,
519  MyanmarScript = 86,
520  NabataeanScript = 87,
521  NewaScript = 88,
522  NewTaiLueScript = 89,
523  NkoScript = 90,
524  OdiaScript = 91,
525  OghamScript = 92,
526  OlChikiScript = 93,
527  OldHungarianScript = 94,
528  OldItalicScript = 95,
529  OldNorthArabianScript = 96,
530  OldPermicScript = 97,
531  OldPersianScript = 98,
532  OldSouthArabianScript = 99,
533  OrkhonScript = 100,
534  OsageScript = 101,
535  OsmanyaScript = 102,
536  PahawhHmongScript = 103,
537  PalmyreneScript = 104,
538  PauCinHauScript = 105,
539  PhagsPaScript = 106,
540  PhoenicianScript = 107,
541  PollardPhoneticScript = 108,
542  PsalterPahlaviScript = 109,
543  RejangScript = 110,
544  RunicScript = 111,
545  SamaritanScript = 112,
546  SaurashtraScript = 113,
547  SharadaScript = 114,
548  ShavianScript = 115,
549  SiddhamScript = 116,
550  SignWritingScript = 117,
551  SimplifiedHanScript = 118,
552  SinhalaScript = 119,
553  SoraSompengScript = 120,
554  SundaneseScript = 121,
555  SylotiNagriScript = 122,
556  SyriacScript = 123,
557  TagalogScript = 124,
558  TagbanwaScript = 125,
559  TaiLeScript = 126,
560  TaiVietScript = 127,
561  TakriScript = 128,
562  TamilScript = 129,
563  TangutScript = 130,
564  TeluguScript = 131,
565  ThaanaScript = 132,
566  ThaiScript = 133,
567  TibetanScript = 134,
568  TifinaghScript = 135,
569  TirhutaScript = 136,
570  TraditionalHanScript = 137,
571  UgariticScript = 138,
572  VaiScript = 139,
573  VarangKshitiScript = 140,
574  YiScript = 141,
575 
576  BengaliScript = BanglaScript,
577  MendeKikakuiScript = MendeScript,
578  OriyaScript = OdiaScript,
579  SimplifiedChineseScript = SimplifiedHanScript,
580  TraditionalChineseScript = TraditionalHanScript,
581 
582  LastScript = YiScript
583  };
584 
585  // ### Qt 7: Rename to Territory
586  enum Country : ushort {
587  AnyTerritory = 0,
588  Afghanistan = 1,
589  AlandIslands = 2,
590  Albania = 3,
591  Algeria = 4,
592  AmericanSamoa = 5,
593  Andorra = 6,
594  Angola = 7,
595  Anguilla = 8,
596  Antarctica = 9,
597  AntiguaAndBarbuda = 10,
598  Argentina = 11,
599  Armenia = 12,
600  Aruba = 13,
601  AscensionIsland = 14,
602  Australia = 15,
603  Austria = 16,
604  Azerbaijan = 17,
605  Bahamas = 18,
606  Bahrain = 19,
607  Bangladesh = 20,
608  Barbados = 21,
609  Belarus = 22,
610  Belgium = 23,
611  Belize = 24,
612  Benin = 25,
613  Bermuda = 26,
614  Bhutan = 27,
615  Bolivia = 28,
616  BosniaAndHerzegovina = 29,
617  Botswana = 30,
618  BouvetIsland = 31,
619  Brazil = 32,
620  BritishIndianOceanTerritory = 33,
621  BritishVirginIslands = 34,
622  Brunei = 35,
623  Bulgaria = 36,
624  BurkinaFaso = 37,
625  Burundi = 38,
626  Cambodia = 39,
627  Cameroon = 40,
628  Canada = 41,
629  CanaryIslands = 42,
630  CapeVerde = 43,
631  CaribbeanNetherlands = 44,
632  CaymanIslands = 45,
633  CentralAfricanRepublic = 46,
634  CeutaAndMelilla = 47,
635  Chad = 48,
636  Chile = 49,
637  China = 50,
638  ChristmasIsland = 51,
639  ClippertonIsland = 52,
640  CocosIslands = 53,
641  Colombia = 54,
642  Comoros = 55,
643  CongoBrazzaville = 56,
644  CongoKinshasa = 57,
645  CookIslands = 58,
646  CostaRica = 59,
647  Croatia = 60,
648  Cuba = 61,
649  Curacao = 62,
650  Cyprus = 63,
651  Czechia = 64,
652  Denmark = 65,
653  DiegoGarcia = 66,
654  Djibouti = 67,
655  Dominica = 68,
656  DominicanRepublic = 69,
657  Ecuador = 70,
658  Egypt = 71,
659  ElSalvador = 72,
660  EquatorialGuinea = 73,
661  Eritrea = 74,
662  Estonia = 75,
663  Eswatini = 76,
664  Ethiopia = 77,
665  Europe = 78,
666  EuropeanUnion = 79,
667  FalklandIslands = 80,
668  FaroeIslands = 81,
669  Fiji = 82,
670  Finland = 83,
671  France = 84,
672  FrenchGuiana = 85,
673  FrenchPolynesia = 86,
674  FrenchSouthernTerritories = 87,
675  Gabon = 88,
676  Gambia = 89,
677  Georgia = 90,
678  Germany = 91,
679  Ghana = 92,
680  Gibraltar = 93,
681  Greece = 94,
682  Greenland = 95,
683  Grenada = 96,
684  Guadeloupe = 97,
685  Guam = 98,
686  Guatemala = 99,
687  Guernsey = 100,
688  GuineaBissau = 101,
689  Guinea = 102,
690  Guyana = 103,
691  Haiti = 104,
692  HeardAndMcDonaldIslands = 105,
693  Honduras = 106,
694  HongKong = 107,
695  Hungary = 108,
696  Iceland = 109,
697  India = 110,
698  Indonesia = 111,
699  Iran = 112,
700  Iraq = 113,
701  Ireland = 114,
702  IsleOfMan = 115,
703  Israel = 116,
704  Italy = 117,
705  IvoryCoast = 118,
706  Jamaica = 119,
707  Japan = 120,
708  Jersey = 121,
709  Jordan = 122,
710  Kazakhstan = 123,
711  Kenya = 124,
712  Kiribati = 125,
713  Kosovo = 126,
714  Kuwait = 127,
715  Kyrgyzstan = 128,
716  Laos = 129,
717  LatinAmerica = 130,
718  Latvia = 131,
719  Lebanon = 132,
720  Lesotho = 133,
721  Liberia = 134,
722  Libya = 135,
723  Liechtenstein = 136,
724  Lithuania = 137,
725  Luxembourg = 138,
726  Macao = 139,
727  Macedonia = 140,
728  Madagascar = 141,
729  Malawi = 142,
730  Malaysia = 143,
731  Maldives = 144,
732  Mali = 145,
733  Malta = 146,
734  MarshallIslands = 147,
735  Martinique = 148,
736  Mauritania = 149,
737  Mauritius = 150,
738  Mayotte = 151,
739  Mexico = 152,
740  Micronesia = 153,
741  Moldova = 154,
742  Monaco = 155,
743  Mongolia = 156,
744  Montenegro = 157,
745  Montserrat = 158,
746  Morocco = 159,
747  Mozambique = 160,
748  Myanmar = 161,
749  Namibia = 162,
750  NauruTerritory = 163,
751  Nepal = 164,
752  Netherlands = 165,
753  NewCaledonia = 166,
754  NewZealand = 167,
755  Nicaragua = 168,
756  Nigeria = 169,
757  Niger = 170,
758  Niue = 171,
759  NorfolkIsland = 172,
760  NorthernMarianaIslands = 173,
761  NorthKorea = 174,
762  Norway = 175,
763  Oman = 176,
764  OutlyingOceania = 177,
765  Pakistan = 178,
766  Palau = 179,
767  PalestinianTerritories = 180,
768  Panama = 181,
769  PapuaNewGuinea = 182,
770  Paraguay = 183,
771  Peru = 184,
772  Philippines = 185,
773  Pitcairn = 186,
774  Poland = 187,
775  Portugal = 188,
776  PuertoRico = 189,
777  Qatar = 190,
778  Reunion = 191,
779  Romania = 192,
780  Russia = 193,
781  Rwanda = 194,
782  SaintBarthelemy = 195,
783  SaintHelena = 196,
784  SaintKittsAndNevis = 197,
785  SaintLucia = 198,
786  SaintMartin = 199,
787  SaintPierreAndMiquelon = 200,
788  SaintVincentAndGrenadines = 201,
789  Samoa = 202,
790  SanMarino = 203,
791  SaoTomeAndPrincipe = 204,
792  SaudiArabia = 205,
793  Senegal = 206,
794  Serbia = 207,
795  Seychelles = 208,
796  SierraLeone = 209,
797  Singapore = 210,
798  SintMaarten = 211,
799  Slovakia = 212,
800  Slovenia = 213,
801  SolomonIslands = 214,
802  Somalia = 215,
803  SouthAfrica = 216,
804  SouthGeorgiaAndSouthSandwichIslands = 217,
805  SouthKorea = 218,
806  SouthSudan = 219,
807  Spain = 220,
808  SriLanka = 221,
809  Sudan = 222,
810  Suriname = 223,
811  SvalbardAndJanMayen = 224,
812  Sweden = 225,
813  Switzerland = 226,
814  Syria = 227,
815  Taiwan = 228,
816  Tajikistan = 229,
817  Tanzania = 230,
818  Thailand = 231,
819  TimorLeste = 232,
820  Togo = 233,
821  TokelauTerritory = 234,
822  Tonga = 235,
823  TrinidadAndTobago = 236,
824  TristanDaCunha = 237,
825  Tunisia = 238,
826  Turkey = 239,
827  Turkmenistan = 240,
828  TurksAndCaicosIslands = 241,
829  TuvaluTerritory = 242,
830  Uganda = 243,
831  Ukraine = 244,
832  UnitedArabEmirates = 245,
833  UnitedKingdom = 246,
834  UnitedStatesOutlyingIslands = 247,
835  UnitedStates = 248,
836  UnitedStatesVirginIslands = 249,
837  Uruguay = 250,
838  Uzbekistan = 251,
839  Vanuatu = 252,
840  VaticanCity = 253,
841  Venezuela = 254,
842  Vietnam = 255,
843  WallisAndFutuna = 256,
844  WesternSahara = 257,
845  World = 258,
846  Yemen = 259,
847  Zambia = 260,
848  Zimbabwe = 261,
849 
850  AnyCountry = AnyTerritory,
851  Bonaire = CaribbeanNetherlands,
852  BosniaAndHerzegowina = BosniaAndHerzegovina,
853  CuraSao = Curacao,
854  CzechRepublic = Czechia,
855  DemocraticRepublicOfCongo = CongoKinshasa,
856  DemocraticRepublicOfKorea = NorthKorea,
857  EastTimor = TimorLeste,
858  LatinAmericaAndTheCaribbean = LatinAmerica,
859  Macau = Macao,
860  NauruCountry = NauruTerritory,
861  PeoplesRepublicOfCongo = CongoBrazzaville,
862  RepublicOfKorea = SouthKorea,
863  RussianFederation = Russia,
864  SaintVincentAndTheGrenadines = SaintVincentAndGrenadines,
865  SouthGeorgiaAndTheSouthSandwichIslands = SouthGeorgiaAndSouthSandwichIslands,
866  SvalbardAndJanMayenIslands = SvalbardAndJanMayen,
867  Swaziland = Eswatini,
868  SyrianArabRepublic = Syria,
869  TokelauCountry = TokelauTerritory,
870  TuvaluCountry = TuvaluTerritory,
871  UnitedStatesMinorOutlyingIslands = UnitedStatesOutlyingIslands,
872  VaticanCityState = VaticanCity,
873  WallisAndFutunaIslands = WallisAndFutuna,
874 
875  LastTerritory = Zimbabwe,
876  LastCountry = LastTerritory
877  };
878 // GENERATED PART ENDS HERE
879 
880  using Territory = Country; // ### Qt 7: reverse
881 
883  Q_ENUM(Country)
884  Q_ENUM(Script)
885 
890  ImperialSystem = ImperialUSSystem // Qt 4 compatibility
891  };
892  Q_ENUM(MeasurementSystem)
893 
894  enum FormatType { LongFormat, ShortFormat, NarrowFormat };
896  DefaultNumberOptions = 0x0,
897  OmitGroupSeparator = 0x01,
898  RejectGroupSeparator = 0x02,
899  OmitLeadingZeroInExponent = 0x04,
900  RejectLeadingZeroInExponent = 0x08,
901  IncludeTrailingZeroesAfterDot = 0x10,
902  RejectTrailingZeroesAfterDot = 0x20
903  };
904  Q_DECLARE_FLAGS(NumberOptions, NumberOption)
905 
907  FloatingPointShortest = -128
908  };
909 
913  CurrencyDisplayName
914  };
915 
917  // Single-bit values, for internal use.
918  DataSizeBase1000 = 1, // use factors of 1000 instead of IEC's 1024;
919  DataSizeSIQuantifiers = 2, // use SI quantifiers instead of IEC ones.
920 
921  // Flags values for use in API:
922  DataSizeIecFormat = 0, // base 1024, KiB, MiB, GiB, ...
923  DataSizeTraditionalFormat = DataSizeSIQuantifiers, // base 1024, kB, MB, GB, ...
924  DataSizeSIFormat = DataSizeBase1000 | DataSizeSIQuantifiers // base 1000, kB, MB, GB, ...
925  };
926  Q_DECLARE_FLAGS(DataSizeFormats, DataSizeFormat)
927  Q_FLAG(DataSizeFormats)
928 
929  QLocale();
930 #if QT_STRINGVIEW_LEVEL < 2
931  explicit QLocale(const QString &name);
932 #endif
933  explicit QLocale(QStringView name);
934  QLocale(Language language, Territory territory);
935  QLocale(Language language, Script script = AnyScript, Territory territory = AnyTerritory);
936  QLocale(const QLocale &other);
938  QLocale &operator=(const QLocale &other);
939  ~QLocale();
940 
941  void swap(QLocale &other) noexcept { d.swap(other.d); }
942 
943  Language language() const;
944  Script script() const;
945  Territory territory() const;
946 #if QT_DEPRECATED_SINCE(6, 6)
947  QT_DEPRECATED_VERSION_X_6_6("Use territory() instead")
948  Country country() const;
949 #endif
950  QString name() const;
951 
952  QString bcp47Name() const;
953  QString nativeLanguageName() const;
954  QString nativeTerritoryName() const;
955 #if QT_DEPRECATED_SINCE(6, 6)
956  QT_DEPRECATED_VERSION_X_6_6("Use nativeTerritoryName() instead")
957  QString nativeCountryName() const;
958 #endif
959 
960 #if QT_STRINGVIEW_LEVEL < 2
961  short toShort(const QString &s, bool *ok = nullptr) const
962  { return toShort(qToStringViewIgnoringNull(s), ok); }
963  ushort toUShort(const QString &s, bool *ok = nullptr) const
964  { return toUShort(qToStringViewIgnoringNull(s), ok); }
965  int toInt(const QString &s, bool *ok = nullptr) const
966  { return toInt(qToStringViewIgnoringNull(s), ok); }
967  uint toUInt(const QString &s, bool *ok = nullptr) const
968  { return toUInt(qToStringViewIgnoringNull(s), ok); }
969  long toLong(const QString &s, bool *ok = nullptr) const
970  { return toLong(qToStringViewIgnoringNull(s), ok); }
971  ulong toULong(const QString &s, bool *ok = nullptr) const
972  { return toULong(qToStringViewIgnoringNull(s), ok); }
973  qlonglong toLongLong(const QString &s, bool *ok = nullptr) const
974  { return toLongLong(qToStringViewIgnoringNull(s), ok); }
975  qulonglong toULongLong(const QString &s, bool *ok = nullptr) const
976  { return toULongLong(qToStringViewIgnoringNull(s), ok); }
977  float toFloat(const QString &s, bool *ok = nullptr) const
978  { return toFloat(qToStringViewIgnoringNull(s), ok); }
979  double toDouble(const QString &s, bool *ok = nullptr) const
980  { return toDouble(qToStringViewIgnoringNull(s), ok); }
981 #endif
982 
983  short toShort(QStringView s, bool *ok = nullptr) const;
984  ushort toUShort(QStringView s, bool *ok = nullptr) const;
985  int toInt(QStringView s, bool *ok = nullptr) const;
986  uint toUInt(QStringView s, bool *ok = nullptr) const;
987  long toLong(QStringView s, bool *ok = nullptr) const;
988  ulong toULong(QStringView s, bool *ok = nullptr) const;
989  qlonglong toLongLong(QStringView s, bool *ok = nullptr) const;
990  qulonglong toULongLong(QStringView s, bool *ok = nullptr) const;
991  float toFloat(QStringView s, bool *ok = nullptr) const;
992  double toDouble(QStringView s, bool *ok = nullptr) const;
993 
994  QString toString(qlonglong i) const;
995  QString toString(qulonglong i) const;
996  QString toString(long i) const { return toString(qlonglong(i)); }
997  QString toString(ulong i) const { return toString(qulonglong(i)); }
998  QString toString(short i) const { return toString(qlonglong(i)); }
999  QString toString(ushort i) const { return toString(qulonglong(i)); }
1000  QString toString(int i) const { return toString(qlonglong(i)); }
1001  QString toString(uint i) const { return toString(qulonglong(i)); }
1002  QString toString(double f, char format = 'g', int precision = 6) const;
1003  QString toString(float f, char format = 'g', int precision = 6) const
1004  { return toString(double(f), format, precision); }
1005 
1006 #if QT_STRINGVIEW_LEVEL < 2
1007  // (Can't inline first two: passing by value doesn't work when only forward-declared.)
1008  QString toString(QDate date, const QString &format) const;
1009  QString toString(QTime time, const QString &format) const;
1011  { return toString(dateTime, qToStringViewIgnoringNull(format)); }
1012 #endif
1013  QString toString(QDate date, QStringView format) const;
1014  QString toString(QTime time, QStringView format) const;
1015  QString toString(const QDateTime &dateTime, QStringView format) const;
1016  QString toString(QDate date, FormatType format = LongFormat) const;
1017  QString toString(QTime time, FormatType format = LongFormat) const;
1018  QString toString(const QDateTime &dateTime, FormatType format = LongFormat) const;
1019  /* We can't pass a default for QCalendar (its declaration mentions
1020  * QLocale::FormatType, so it has to #include this header, which thus can't
1021  * #include its, so we can't instantiate QCalendar() as default). This
1022  * precludes any default for format, too.
1023  */
1024  QString toString(QDate date, QStringView format, QCalendar cal) const;
1025  QString toString(QDate date, FormatType format, QCalendar cal) const;
1026  QString toString(const QDateTime &dateTime, FormatType format, QCalendar cal) const;
1027  QString toString(const QDateTime &dateTime, QStringView format, QCalendar cal) const;
1028 
1029  QString dateFormat(FormatType format = LongFormat) const;
1030  QString timeFormat(FormatType format = LongFormat) const;
1031  QString dateTimeFormat(FormatType format = LongFormat) const;
1032 #if QT_CONFIG(datestring)
1033  QDate toDate(const QString &string, FormatType = LongFormat) const;
1034  QTime toTime(const QString &string, FormatType = LongFormat) const;
1035  QDateTime toDateTime(const QString &string, FormatType format = LongFormat) const;
1036  QDate toDate(const QString &string, const QString &format) const;
1037  QTime toTime(const QString &string, const QString &format) const;
1038  QDateTime toDateTime(const QString &string, const QString &format) const;
1039  // Calendar-aware API
1040  QDate toDate(const QString &string, FormatType format, QCalendar cal) const;
1041  QDateTime toDateTime(const QString &string, FormatType format, QCalendar cal) const;
1042  QDate toDate(const QString &string, const QString &format, QCalendar cal) const;
1043  QDateTime toDateTime(const QString &string, const QString &format, QCalendar cal) const;
1044 #endif
1045 
1046  QString decimalPoint() const;
1047  QString groupSeparator() const;
1048  QString percent() const;
1049  QString zeroDigit() const;
1050  QString negativeSign() const;
1051  QString positiveSign() const;
1052  QString exponential() const;
1053 
1054  QString monthName(int, FormatType format = LongFormat) const;
1055  QString standaloneMonthName(int, FormatType format = LongFormat) const;
1056  QString dayName(int, FormatType format = LongFormat) const;
1057  QString standaloneDayName(int, FormatType format = LongFormat) const;
1058 
1059  Qt::DayOfWeek firstDayOfWeek() const;
1060  QList<Qt::DayOfWeek> weekdays() const;
1061 
1062  QString amText() const;
1063  QString pmText() const;
1064 
1065  MeasurementSystem measurementSystem() const;
1066  QLocale collation() const;
1067  Qt::LayoutDirection textDirection() const;
1068 
1069  QString toUpper(const QString &str) const;
1070  QString toLower(const QString &str) const;
1071 
1072  QString currencySymbol(CurrencySymbolFormat = CurrencySymbol) const;
1073  QString toCurrencyString(qlonglong, const QString &symbol = QString()) const;
1074  QString toCurrencyString(qulonglong, const QString &symbol = QString()) const;
1075  QString toCurrencyString(short i, const QString &symbol = QString()) const
1076  { return toCurrencyString(qlonglong(i), symbol); }
1077  QString toCurrencyString(ushort i, const QString &symbol = QString()) const
1078  { return toCurrencyString(qulonglong(i), symbol); }
1079  QString toCurrencyString(int i, const QString &symbol = QString()) const
1080  { return toCurrencyString(qlonglong(i), symbol); }
1081  QString toCurrencyString(uint i, const QString &symbol = QString()) const
1082  { return toCurrencyString(qulonglong(i), symbol); }
1083  QString toCurrencyString(double, const QString &symbol = QString(), int precision = -1) const;
1084  QString toCurrencyString(float i, const QString &symbol = QString(), int precision = -1) const
1085  { return toCurrencyString(double(i), symbol, precision); }
1086 
1087  QString formattedDataSize(qint64 bytes, int precision = 2, DataSizeFormats format = DataSizeIecFormat) const;
1088 
1089  QStringList uiLanguages() const;
1090 
1092  ISO639Part1 = 1 << 0,
1093  ISO639Part2B = 1 << 1,
1094  ISO639Part2T = 1 << 2,
1095  ISO639Part3 = 1 << 3,
1096  LegacyLanguageCode = 1 << 15,
1097 
1098  ISO639Part2 = ISO639Part2B | ISO639Part2T,
1099  ISO639Alpha2 = ISO639Part1,
1100  ISO639Alpha3 = ISO639Part2 | ISO639Part3,
1101  ISO639 = ISO639Alpha2 | ISO639Alpha3,
1102 
1103  AnyLanguageCode = -1
1104  };
1105  Q_DECLARE_FLAGS(LanguageCodeTypes, LanguageCodeType)
1106 
1107 #if QT_CORE_REMOVED_SINCE(6, 3)
1108  static QString languageToCode(Language language);
1109  static Language codeToLanguage(QStringView languageCode) noexcept;
1110 #endif
1111  static QString languageToCode(Language language, LanguageCodeTypes codeTypes = AnyLanguageCode);
1112  static Language codeToLanguage(QStringView languageCode,
1113  LanguageCodeTypes codeTypes = AnyLanguageCode) noexcept;
1114  static QString territoryToCode(Territory territory);
1115  static Territory codeToTerritory(QStringView territoryCode) noexcept;
1116 #if QT_DEPRECATED_SINCE(6, 6)
1117  QT_DEPRECATED_VERSION_X_6_6("Use territoryToCode(Territory) instead")
1118  static QString countryToCode(Country country);
1119  QT_DEPRECATED_VERSION_X_6_6("Use codeToTerritory(QStringView) instead")
1120  static Country codeToCountry(QStringView countryCode) noexcept;
1121 #endif
1122  static QString scriptToCode(Script script);
1123  static Script codeToScript(QStringView scriptCode) noexcept;
1124 
1125  static QString languageToString(Language language);
1126  static QString territoryToString(Territory territory);
1127 #if QT_DEPRECATED_SINCE(6, 6)
1128  QT_DEPRECATED_VERSION_X_6_6("Use territoryToString(Territory) instead")
1129  static QString countryToString(Country country);
1130 #endif
1131  static QString scriptToString(Script script);
1132  static void setDefault(const QLocale &locale);
1133 
1134  static QLocale c() { return QLocale(C); }
1135  static QLocale system();
1136 
1138  QLocale::Territory territory);
1139 #if QT_DEPRECATED_SINCE(6, 6)
1140  QT_DEPRECATED_VERSION_X_6_6("Query territory() on each entry from matchingLocales() instead")
1141  static QList<Country> countriesForLanguage(Language lang);
1142 #endif
1143 
1144  void setNumberOptions(NumberOptions options);
1145  NumberOptions numberOptions() const;
1146 
1147  enum QuotationStyle { StandardQuotation, AlternateQuotation };
1148  QString quoteString(const QString &str, QuotationStyle style = StandardQuotation) const
1149  { return quoteString(QStringView(str), style); }
1150  QString quoteString(QStringView str, QuotationStyle style = StandardQuotation) const;
1151 
1152  QString createSeparatedList(const QStringList &strl) const;
1153 
1154 private:
1155  QLocale(QLocalePrivate &dd);
1156  bool equals(const QLocale &other) const;
1157  friend class QLocalePrivate;
1158  friend class QSystemLocale;
1159  friend class QCalendarBackend;
1160  friend class QGregorianCalendar;
1161  friend Q_CORE_EXPORT size_t qHash(const QLocale &key, size_t seed) noexcept;
1162 
1163  friend bool operator==(const QLocale &lhs, const QLocale &rhs) { return lhs.equals(rhs); }
1164  friend bool operator!=(const QLocale &lhs, const QLocale &rhs) { return !lhs.equals(rhs); }
1165 
1167 };
1169 Q_DECLARE_OPERATORS_FOR_FLAGS(QLocale::NumberOptions)
1170 Q_DECLARE_OPERATORS_FOR_FLAGS(QLocale::LanguageCodeTypes)
1171 
1172 #ifndef QT_NO_DATASTREAM
1173 Q_CORE_EXPORT QDataStream &operator<<(QDataStream &, const QLocale &);
1174 Q_CORE_EXPORT QDataStream &operator>>(QDataStream &, QLocale &);
1175 #endif
1176 
1177 #ifndef QT_NO_DEBUG_STREAM
1178 Q_CORE_EXPORT QDebug operator<<(QDebug, const QLocale &);
1179 #endif
1180 
1182 
1183 #endif // QLOCALE_H
small capitals from c petite p scientific i
[1]
Definition: afcover.h:80
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 no Old xF0 x90 xB0 x97 xF0 x90 x92 x86 xF0 x90 x92 xA0 Saurashtra
Definition: afscript.h:307
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA Lao
Definition: afscript.h:211
Arabic
Definition: afscript.h:40
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 no script
Definition: afscript.h:271
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 Greek
Definition: afscript.h:161
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC Georgian(Mkhedruli)"
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 Coptic
Definition: afscript.h:101
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA Chakma
Definition: afscript.h:77
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 no Old xF0 x90 xB0 x97 xF0 x90 x92 x86 xF0 x90 x92 xA0 xEA xA2 x9D xEA xA3 x90 xE0 xB6 xA7 Tamil
Definition: afscript.h:333
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A Bengali
Definition: afscript.h:65
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF Myanmar
Definition: afscript.h:259
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 no Old xF0 x90 xB0 x97 xF0 x90 x92 x86 xF0 x90 x92 xA0 xEA xA2 x9D xEA xA3 x90 xE0 xB6 xA7 xE0 xAF xA6 Telugu
Definition: afscript.h:346
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 no Old xF0 x90 xB0 x97 xF0 x90 x92 x86 xF0 x90 x92 xA0 xEA xA2 x9D xEA xA3 x90 Sinhala
Definition: afscript.h:319
xD9 x84 xD8 xAD xD9 x80 xF0 x90 xAC x9A xE0 xA7 xA6 xE0 xA7 xAA xF0 x91 x84 xA4 xF0 x91 x84 x89 xF0 x91 x84 x9B xF0 x90 x8A xAB xF0 x90 x8B x89 xE2 xB2 x9E xE2 xB2 x9F xD0 xBE xD0 x9E xF0 x90 x90 x84 xF0 x90 x90 xAC xE1 x83 x98 xE1 x83 x94 xE1 x83 x90 xE1 xB2 xBF xE2 xB0 x95 xE2 xB1 x85 xCE xBF xCE x9F xE0 xA8 xA0 xE0 xA8 xB0 xE0 xA9 xA6 Kayah xEA xA4 x8D xEA xA4 x80 Khmer xE1 xA7 xA1 xE1 xA7 xAA xE0 xBB x90 Latin Subscript xE2 x82 x92 xE2 x82 x80 xEA x93 xB3 xF0 x96 xB9 xA1 xF0 x96 xB9 x9B xF0 x96 xB9 xAF xE1 x80 x9D xE1 x80 x84 xE1 x80 x82 no Old xF0 x90 xB0 x97 xF0 x90 x92 x86 xF0 x90 x92 xA0 xEA xA2 x9D xEA xA3 x90 xE0 xB6 xA7 xE0 xAF xA6 xE0 xB1 xA6 xE0 xB1 xA7 Thai
Definition: afscript.h:358
xD9 x84 xD8 xAD xD9 x80 Avestan
Definition: afscript.h:52
Arabic default style
Definition: afstyles.h:94
The QByteArray class provides an array of bytes.
Definition: qbytearray.h:85
The QCalendar class describes calendar systems.
Definition: qcalendar.h:89
The QDataStream class provides serialization of binary data to a QIODevice.
Definition: qdatastream.h:66
operator>>(QDataStream &ds, qfloat16 &f)
Definition: qfloat16.cpp:344
operator<<(QDataStream &ds, qfloat16 f)
Definition: qfloat16.cpp:327
The QDate class provides date functions.
Definition: qdatetime.h:64
The QDateTime class provides date and time functions.
Definition: qdatetime.h:238
The QDebug class provides an output stream for debugging information.
Definition: qdebug.h:65
template< typename Enum > size_t qHash(QFlags< Enum > flags, size_t seed=0) noexcept
The QGregorianCalendar class implements the Gregorian calendar.
The QIntValidator class provides a validator that ensures a string contains a valid integer within a ...
Definition: qvalidator.h:92
Definition: qlist.h:108
QString quoteString(const QString &str, QuotationStyle style=StandardQuotation) const
Definition: qlocale.h:1148
QString toString(ulong i) const
Definition: qlocale.h:997
double toDouble(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:979
QString toCurrencyString(ushort i, const QString &symbol=QString()) const
Definition: qlocale.h:1077
float toFloat(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:977
uint toUInt(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:967
QString toString(uint i) const
Definition: qlocale.h:1001
long toLong(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:969
QuotationStyle
Definition: qlocale.h:1147
void swap(QLocale &other) noexcept
Definition: qlocale.h:941
FloatingPointPrecisionOption
Definition: qlocale.h:906
MeasurementSystem
Definition: qlocale.h:886
@ ImperialUSSystem
Definition: qlocale.h:888
@ MetricSystem
Definition: qlocale.h:887
@ ImperialUKSystem
Definition: qlocale.h:889
CurrencySymbolFormat
Definition: qlocale.h:910
@ CurrencySymbol
Definition: qlocale.h:912
@ CurrencyIsoCode
Definition: qlocale.h:911
FormatType
Definition: qlocale.h:894
LanguageCodeType
Definition: qlocale.h:1091
QString toString(long i) const
Definition: qlocale.h:996
QString toString(float f, char format='g', int precision=6) const
Definition: qlocale.h:1003
QString toString(int i) const
Definition: qlocale.h:1000
friend bool operator==(const QLocale &lhs, const QLocale &rhs)
Definition: qlocale.h:1163
DataSizeFormat
Definition: qlocale.h:916
friend bool operator!=(const QLocale &lhs, const QLocale &rhs)
Definition: qlocale.h:1164
int toInt(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:965
static QLocale c()
Definition: qlocale.h:1134
qulonglong toULongLong(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:975
ulong toULong(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:971
short toShort(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:961
qlonglong toLongLong(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:973
ushort toUShort(const QString &s, bool *ok=nullptr) const
Definition: qlocale.h:963
QString toCurrencyString(float i, const QString &symbol=QString(), int precision=-1) const
Definition: qlocale.h:1084
QString toString(const QDateTime &dateTime, const QString &format) const
Definition: qlocale.h:1010
NumberOption
Definition: qlocale.h:895
QString toString(ushort i) const
Definition: qlocale.h:999
QString toCurrencyString(uint i, const QString &symbol=QString()) const
Definition: qlocale.h:1081
Language
Definition: qlocale.h:77
QString toCurrencyString(int i, const QString &symbol=QString()) const
Definition: qlocale.h:1079
QString toCurrencyString(short i, const QString &symbol=QString()) const
Definition: qlocale.h:1075
QString toString(short i) const
Definition: qlocale.h:998
The QString class provides a Unicode character string.
Definition: qstring.h:388
The QStringList class provides a list of strings.
The QStringView class provides a unified view on UTF-16 strings with a read-only subset of the QStrin...
Definition: qstringview.h:122
The QTextStream class provides a convenient interface for reading and writing text.
Definition: qtextstream.h:62
The QTime class provides clock time functions.
Definition: qdatetime.h:166
The QVariant class acts like a union for the most common Qt data types.
Definition: qvariant.h:95
QString str
[2]
QDate date
[1]
auto it unsigned count const
Definition: hb-iter.hh:848
Language
Definition: language.h:38
std::string toLower(std::string const &s)
LayoutDirection
Definition: qnamespace.h:1462
DayOfWeek
Definition: qnamespace.h:1266
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< float > toFloat(QByteArrayView a) noexcept
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION ParsedNumber< double > toDouble(QByteArrayView a) noexcept
Language language()
Definition: language.cpp:38
#define QString()
Definition: parse-defines.h:51
#define Q_DECLARE_FLAGS(Flags, Enum)
Definition: qflags.h:210
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
Definition: qflags.h:227
unsigned long ulong
Definition: qglobal.h:335
quint64 qulonglong
Definition: qglobal.h:302
unsigned int uint
Definition: qglobal.h:334
#define QT_DEPRECATED_VERSION_X_6_6(text)
Definition: qglobal.h:492
long long qint64
Definition: qglobal.h:298
unsigned short ushort
Definition: qglobal.h:333
#define QT_MOVE_ASSIGNMENT_OPERATOR_IMPL_VIA_PURE_SWAP(Class)
Definition: qglobal.h:563
qint64 qlonglong
Definition: qglobal.h:301
GLuint64 key
GLfloat GLfloat f
GLuint name
GLint GLsizei GLsizei GLenum format
GLdouble s
[6]
Definition: qopenglext.h:235
GLenum GLint GLint * precision
Definition: qopenglext.h:1890
QStringView qToStringViewIgnoringNull(const QStringLike &s) noexcept
Definition: qstringview.h:480
#define Q_ENUM(x)
Definition: qtmetamacros.h:104
#define Q_FLAG(x)
Definition: qtmetamacros.h:105
#define Q_GADGET
Definition: qtmetamacros.h:193
#define Q_DECLARE_SHARED(TYPE)
Definition: qtypeinfo.h:197
QDateTime dateTime
[12]
QTime time
[5]
QSharedPointer< T > other(t)
[5]
#define rhs