1/****************************************************************************
2**
3** Copyright (C) 2015 The Qt Company Ltd.
4** Contact: http://www.qt.io/licensing/
5**
6** This file is part of the documentation of the Qt Toolkit.
7**
8** $QT_BEGIN_LICENSE:FDL$
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 http://www.qt.io/terms-conditions. For further
15** information use the contact form at http://www.qt.io/contact-us.
16**
17** GNU Free Documentation License Usage
18** Alternatively, this file may be used under the terms of the GNU Free
19** Documentation License version 1.3 as published by the Free Software
20** Foundation and appearing in the file included in the packaging of
21** this file.  Please review the following information to ensure
22** the GNU Free Documentation License version 1.3 requirements
23** will be met: http://www.gnu.org/copyleft/fdl.html.
24** $QT_END_LICENSE$
25**
26****************************************************************************/
27
28/*!
29    \class QLocale
30    \brief The QLocale class converts between numbers and their
31    string representations in various languages.
32
33    \reentrant
34    \ingroup i18n
35    \ingroup string-processing
36    \ingroup shared
37
38
39    QLocale is initialized with a language/country pair in its
40    constructor and offers number-to-string and string-to-number
41    conversion functions similar to those in QString.
42
43    Example:
44
45    \snippet doc/src/snippets/code/src_corelib_tools_qlocale.cpp 0
46
47    QLocale supports the concept of a default locale, which is
48    determined from the system's locale settings at application
49    startup. The default locale can be changed by calling the
50    static member setDefault(). Setting the default locale has the
51    following effects:
52
53    \list
54    \i If a QLocale object is constructed with the default constructor,
55       it will use the default locale's settings.
56    \i QString::toInt(), QString::toDouble(), etc., interpret the
57       string according to the default locale. If this fails, it
58       falls back on the "C" locale.
59    \i QString::arg() uses the default locale to format a number when
60       its position specifier in the format string contains an 'L',
61       e.g. "%L1".
62    \endlist
63
64    The following example illustrates how to use QLocale directly:
65
66    \snippet doc/src/snippets/code/src_corelib_tools_qlocale.cpp 1
67
68    When a language/country pair is specified in the constructor, one
69    of three things can happen:
70
71    \list
72    \i If the language/country pair is found in the database, it is used.
73    \i If the language is found but the country is not, or if the country
74       is \c AnyCountry, the language is used with the most
75       appropriate available country (for example, Germany for German),
76    \i If neither the language nor the country are found, QLocale
77       defaults to the default locale (see setDefault()).
78    \endlist
79
80    Use language() and country() to determine the actual language and
81    country values used.
82
83    An alternative method for constructing a QLocale object is by
84    specifying the locale name.
85
86    \snippet doc/src/snippets/code/src_corelib_tools_qlocale.cpp 2
87
88    This constructor converts the locale name to a language/country
89    pair; it does not use the system locale database.
90
91    \note For the current keyboard input locale take a look at
92    QApplication::keyboardInputLocale().
93
94    QLocale's data is based on Common Locale Data Repository v2.0.
95
96    The double-to-string and string-to-double conversion functions are
97    covered by the following licenses:
98
99    \legalese
100    Copyright (c) 1991 by AT&T.
101
102    Permission to use, copy, modify, and distribute this software for any
103    purpose without fee is hereby granted, provided that this entire notice
104    is included in all copies of any software which is or includes a copy
105    or modification of this software and in all copies of the supporting
106    documentation for such software.
107
108    THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR IMPLIED
109    WARRANTY.  IN PARTICULAR, NEITHER THE AUTHOR NOR AT&T MAKES ANY
110    REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE MERCHANTABILITY
111    OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR PURPOSE.
112
113    This product includes software developed by the University of
114    California, Berkeley and its contributors.
115
116    \sa QString::arg(), QString::toInt(), QString::toDouble(),
117    QApplication::keyboardInputLocale()
118*/
119
120/*!
121    \enum QLocale::Language
122
123    This enumerated type is used to specify a language.
124
125    \value AnyLanguage
126    \value C The "C" locale is identical in behavior to English/UnitedStates.
127    \value Abkhazian
128    \value Afan
129    \value Afar
130    \value Afrikaans
131    \value Albanian
132    \value Amharic
133    \value Arabic
134    \value Armenian
135    \value Assamese
136    \value Aymara
137    \value Azerbaijani
138    \value Bashkir
139    \value Basque
140    \value Bengali
141    \value Bhutani
142    \value Bihari
143    \value Bislama
144    \value Bosnian
145    \value Breton
146    \value Bulgarian
147    \value Burmese
148    \value Byelorussian
149    \value Cambodian
150    \value Catalan
151    \value Chinese
152    \value Cornish
153    \value Corsican
154    \value Croatian
155    \value Czech
156    \value Danish
157    \value Divehi
158    \value Dutch
159    \value English
160    \value Esperanto
161    \value Estonian
162    \value Faroese
163    \value FijiLanguage
164    \value Finnish
165    \value French
166    \value Frisian
167    \value Gaelic
168    \value Galician
169    \value Georgian
170    \value German
171    \value Greek
172    \value Greenlandic
173    \value Guarani
174    \value Gujarati
175    \value Hausa
176    \value Hebrew
177    \value Hindi
178    \value Hungarian
179    \value Icelandic
180    \value Indonesian
181    \value Interlingua
182    \value Interlingue
183    \value Inuktitut
184    \value Inupiak
185    \value Irish
186    \value Italian
187    \value Japanese
188    \value Javanese
189    \value Kannada
190    \value Kashmiri
191    \value Kazakh
192    \value Kinyarwanda
193    \value Kirghiz
194    \value Korean
195    \value Kurdish
196    \value Kurundi
197    \value Laothian
198    \value Latin
199    \value Latvian
200    \value Lingala
201    \value Lithuanian
202    \value Macedonian
203    \value Malagasy
204    \value Malay
205    \value Malayalam
206    \value Maltese
207    \value Manx
208    \value Maori
209    \value Marathi
210    \value Moldavian
211    \value Mongolian
212    \value NauruLanguage
213    \value Nepali
214    \value Norwegian
215    \value NorwegianBokmal
216    \value Nynorsk Obsolete, please use NorwegianNynorsk
217    \value NorwegianNynorsk
218    \value Occitan
219    \value Oriya
220    \value Pashto
221    \value Persian
222    \value Polish
223    \value Portuguese
224    \value Punjabi
225    \value Quechua
226    \value RhaetoRomance
227    \value Romanian
228    \value Russian
229    \value Samoan
230    \value Sangho
231    \value Sanskrit
232    \value Serbian
233    \value SerboCroatian
234    \value Sesotho
235    \value Setswana
236    \value Shona
237    \value Sindhi
238    \value Singhalese
239    \value Siswati
240    \value Slovak
241    \value Slovenian
242    \value Somali
243    \value Spanish
244    \value Sundanese
245    \value Swahili
246    \value Swedish
247    \value Tagalog
248    \value Tajik
249    \value Tamil
250    \value Tatar
251    \value Telugu
252    \value Thai
253    \value Tibetan
254    \value Tigrinya
255    \value TongaLanguage
256    \value Tsonga
257    \value Turkish
258    \value Turkmen
259    \value Twi
260    \value Uigur
261    \value Ukrainian
262    \value Urdu
263    \value Uzbek
264    \value Vietnamese
265    \value Volapuk
266    \value Welsh
267    \value Wolof
268    \value Xhosa
269    \value Yiddish
270    \value Yoruba
271    \value Zhuang
272    \value Zulu
273    \value Bosnian
274    \value Divehi
275    \value Manx
276    \value Cornish
277    \value Akan
278    \value Konkani
279    \value Ga
280    \value Igbo
281    \value Kamba
282    \value Syriac
283    \value Blin
284    \value Geez
285    \value Koro
286    \value Sidamo
287    \value Atsam
288    \value Tigre
289    \value Jju
290    \value Friulian
291    \value Venda
292    \value Ewe
293    \value Walamo
294    \value Hawaiian
295    \value Tyap
296    \value Chewa
297    \value Filipino
298    \value SwissGerman
299    \value SichuanYi
300    \value Kpelle
301    \value LowGerman
302    \value SouthNdebele
303    \value NorthernSotho
304    \value NorthernSami
305    \value Taroko
306    \value Gusii
307    \value Taita
308    \value Fulah
309    \value Kikuyu
310    \value Samburu
311    \value Sena
312    \value NorthNdebele
313    \value Rombo
314    \value Tachelhit
315    \value Kabyle
316    \value Nyankole
317    \value Bena
318    \value Vunjo
319    \value Bambara
320    \value Embu
321    \value Cherokee
322    \value Morisyen
323    \value Makonde
324    \value Langi
325    \value Ganda
326    \value Bemba
327    \value Kabuverdianu
328    \value Meru
329    \value Kalenjin
330    \value Nama
331    \value Machame
332    \value Colognian
333    \value Masai
334    \value Soga
335    \value Luyia
336    \value Asu
337    \value Teso
338    \value Saho
339    \value KoyraChiini
340    \value Rwa
341    \value Luo
342    \value Chiga
343    \value CentralMoroccoTamazight
344    \value KoyraboroSenni
345    \value Shambala
346    \omitvalue LastLanguage
347
348    \sa language(), languageToString()
349*/
350
351/*!
352    \enum QLocale::Country
353
354    This enumerated type is used to specify a country.
355
356    \value AnyCountry
357    \value Afghanistan
358    \value Albania
359    \value Algeria
360    \value AmericanSamoa
361    \value Andorra
362    \value Angola
363    \value Anguilla
364    \value Antarctica
365    \value AntiguaAndBarbuda
366    \value Argentina
367    \value Armenia
368    \value Aruba
369    \value Australia
370    \value Austria
371    \value Azerbaijan
372    \value Bahamas
373    \value Bahrain
374    \value Bangladesh
375    \value Barbados
376    \value Belarus
377    \value Belgium
378    \value Belize
379    \value Benin
380    \value Bermuda
381    \value Bhutan
382    \value Bolivia
383    \value BosniaAndHerzegowina
384    \value Botswana
385    \value BouvetIsland
386    \value Brazil
387    \value BritishIndianOceanTerritory
388    \value BruneiDarussalam
389    \value Bulgaria
390    \value BurkinaFaso
391    \value Burundi
392    \value Cambodia
393    \value Cameroon
394    \value Canada
395    \value CapeVerde
396    \value CaymanIslands
397    \value CentralAfricanRepublic
398    \value Chad
399    \value Chile
400    \value China
401    \value ChristmasIsland
402    \value CocosIslands
403    \value Colombia
404    \value Comoros
405    \value DemocraticRepublicOfCongo
406    \value PeoplesRepublicOfCongo
407    \value CookIslands
408    \value CostaRica
409    \value IvoryCoast
410    \value Croatia
411    \value Cuba
412    \value Cyprus
413    \value CzechRepublic
414    \value Denmark
415    \value Djibouti
416    \value Dominica
417    \value DominicanRepublic
418    \value EastTimor
419    \value Ecuador
420    \value Egypt
421    \value ElSalvador
422    \value EquatorialGuinea
423    \value Eritrea
424    \value Estonia
425    \value Ethiopia
426    \value FalklandIslands
427    \value FaroeIslands
428    \value FijiCountry
429    \value Finland
430    \value France
431    \value MetropolitanFrance
432    \value FrenchGuiana
433    \value FrenchPolynesia
434    \value FrenchSouthernTerritories
435    \value Gabon
436    \value Gambia
437    \value Georgia
438    \value Germany
439    \value Ghana
440    \value Gibraltar
441    \value Greece
442    \value Greenland
443    \value Grenada
444    \value Guadeloupe
445    \value Guam
446    \value Guatemala
447    \value Guinea
448    \value GuineaBissau
449    \value Guyana
450    \value Haiti
451    \value HeardAndMcDonaldIslands
452    \value Honduras
453    \value HongKong
454    \value Hungary
455    \value Iceland
456    \value India
457    \value Indonesia
458    \value Iran
459    \value Iraq
460    \value Ireland
461    \value Israel
462    \value Italy
463    \value Jamaica
464    \value Japan
465    \value Jordan
466    \value Kazakhstan
467    \value Kenya
468    \value Kiribati
469    \value DemocraticRepublicOfKorea
470    \value RepublicOfKorea
471    \value Kuwait
472    \value Kyrgyzstan
473    \value Lao
474    \value Latvia
475    \value Lebanon
476    \value Lesotho
477    \value Liberia
478    \value LibyanArabJamahiriya
479    \value Liechtenstein
480    \value Lithuania
481    \value Luxembourg
482    \value Macau
483    \value Macedonia
484    \value Madagascar
485    \value Malawi
486    \value Malaysia
487    \value Maldives
488    \value Mali
489    \value Malta
490    \value MarshallIslands
491    \value Martinique
492    \value Mauritania
493    \value Mauritius
494    \value Mayotte
495    \value Mexico
496    \value Micronesia
497    \value Moldova
498    \value Monaco
499    \value Mongolia
500    \value Montserrat
501    \value Morocco
502    \value Mozambique
503    \value Myanmar
504    \value Namibia
505    \value NauruCountry
506    \value Nepal
507    \value Netherlands
508    \value NetherlandsAntilles
509    \value NewCaledonia
510    \value NewZealand
511    \value Nicaragua
512    \value Niger
513    \value Nigeria
514    \value Niue
515    \value NorfolkIsland
516    \value NorthernMarianaIslands
517    \value Norway
518    \value Oman
519    \value Pakistan
520    \value Palau
521    \value PalestinianTerritory
522    \value Panama
523    \value PapuaNewGuinea
524    \value Paraguay
525    \value Peru
526    \value Philippines
527    \value Pitcairn
528    \value Poland
529    \value Portugal
530    \value PuertoRico
531    \value Qatar
532    \value Reunion
533    \value Romania
534    \value RussianFederation
535    \value Rwanda
536    \value SaintKittsAndNevis
537    \value StLucia
538    \value StVincentAndTheGrenadines
539    \value Samoa
540    \value SanMarino
541    \value SaoTomeAndPrincipe
542    \value SaudiArabia
543    \value Senegal
544    \value SerbiaAndMontenegro
545    \value Seychelles
546    \value SierraLeone
547    \value Singapore
548    \value Slovakia
549    \value Slovenia
550    \value SolomonIslands
551    \value Somalia
552    \value SouthAfrica
553    \value SouthGeorgiaAndTheSouthSandwichIslands
554    \value Spain
555    \value SriLanka
556    \value StHelena
557    \value StPierreAndMiquelon
558    \value Sudan
559    \value Suriname
560    \value SvalbardAndJanMayenIslands
561    \value Swaziland
562    \value Sweden
563    \value Switzerland
564    \value SyrianArabRepublic
565    \value Taiwan
566    \value Tajikistan
567    \value Tanzania
568    \value Thailand
569    \value Togo
570    \value Tokelau
571    \value TongaCountry
572    \value TrinidadAndTobago
573    \value Tunisia
574    \value Turkey
575    \value Turkmenistan
576    \value TurksAndCaicosIslands
577    \value Tuvalu
578    \value Uganda
579    \value Ukraine
580    \value UnitedArabEmirates
581    \value UnitedKingdom
582    \value UnitedStates
583    \value UnitedStatesMinorOutlyingIslands
584    \value Uruguay
585    \value Uzbekistan
586    \value Vanuatu
587    \value VaticanCityState
588    \value Venezuela
589    \value VietNam
590    \value BritishVirginIslands
591    \value USVirginIslands
592    \value WallisAndFutunaIslands
593    \value WesternSahara
594    \value Yemen
595    \value Yugoslavia
596    \value Zambia
597    \value Zimbabwe
598    \value Montenegro
599    \value Serbia
600    \value SaintBarthelemy
601    \value SaintMartin
602    \value LatinAmericaAndTheCaribbean
603    \omitvalue LastCountry
604
605    \sa country(), countryToString()
606*/
607
608/*!
609    \enum QLocale::Script
610    \since 4.8
611
612    This enumerated type is used to specify a script.
613
614    \value AnyScript
615    \value ArabicScript
616    \value CyrillicScript
617    \value DeseretScript
618    \value GurmukhiScript
619    \value SimplifiedHanScript same as SimplifiedChineseScript
620    \value SimplifiedChineseScript same as SimplifiedHanScript
621    \value TraditionalHanScript same as TraditionalChineseScript
622    \value TraditionalChineseScript same as TraditionalHanScript
623    \value LatinScript
624    \value MongolianScript
625    \value TifinaghScript
626    \omitvalue LastScript
627
628    \sa script(), scriptToString(), languageToString()
629*/
630
631/*!
632    \enum QLocale::FormatType
633
634    This enum describes the types of format that can be used when
635    converting QDate and QTime objects to strings.
636
637    \value LongFormat The long version of day and month names; for
638    example, returning "January" as a month name.
639
640    \value ShortFormat The short version of day and month names; for
641    example, returning "Jan" as a month name.
642
643    \value NarrowFormat A special version of day and month names for
644    use when space is limited; for example, returning "J" as a month
645    name. Note that the narrow format might contain the same text for
646    different months and days or it can even be an empty string if the
647    locale doesn't support narrow names, so you should avoid using it
648    for date formatting. Also, for the system locale this format is
649    the same as ShortFormat.
650*/
651
652/*!
653    \enum QLocale::NumberOption
654
655    This enum defines a set of options for number-to-string and string-to-number
656    conversions. They can be retrieved with numberOptions() and set with
657    setNumberOptions().
658
659    \value OmitGroupSeparator If this option is set, the number-to-string functions
660            will not insert group separators in their return values. The default
661            is to insert group separators.
662    \value RejectGroupSeparator If this option is set, the string-to-number functions
663            will fail if they encounter group separators in their input. The default
664            is to accept numbers containing correctly placed group separators.
665
666    \sa setNumberOptions() numberOptions()
667*/
668
669/*!
670    \enum QLocale::MeasurementSystem
671
672    This enum defines which units are used for measurement.
673
674    \value MetricSystem This value indicates metric units, such as meters,
675            centimeters and millimeters.
676    \value ImperialSystem This value indicates imperial units, such as inches and
677            miles. There are several distinct imperial systems in the world; this
678            value stands for the official United States imperial units.
679
680    \since 4.4
681*/
682
683
684/*!
685    \fn bool QLocale::operator==(const QLocale &other) const
686
687    Returns true if the QLocale object is the same as the \a other
688    locale specified; otherwise returns false.
689*/
690
691/*!
692    \fn bool QLocale::operator!=(const QLocale &other) const
693
694    Returns true if the QLocale object is not the same as the \a other
695    locale specified; otherwise returns false.
696*/
697
698/*!
699    \enum QLocale::QuotationStyle
700
701    This enum defines a set of possible styles for locale specific quotation.
702
703    \value StandardQuotation If this option is set, the standard quotation marks
704            will be used to quote strings.
705    \value AlternateQuotation If this option is set, the alternate quotation marks
706            will be used to quote strings.
707
708    \since 4.8
709
710    \sa quoteString()
711*/
712
713/*!
714    \class QSystemLocale
715    \brief The QSystemLocale class can be used to finetune the system locale
716    of the user.
717    \since 4.2
718
719    \ingroup i18n
720
721    \warning This class is only useful in very rare cases. Usually QLocale offers
722    all the functionality required for application development.
723
724    QSystemLocale allows to override the values provided by the system
725    locale (QLocale::system()).
726
727    \sa QLocale
728*/
729
730/*!
731  \enum QSystemLocale::QueryType
732
733  Specifies the type of information queried by query(). For each value
734  the type of information to return from the query() method is listed.
735
736  \value LanguageId a uint specifying the language.
737  \value ScriptId a uint specifying the script.
738  \value CountryId a uint specifying the country.
739  \value DecimalPoint a QString specifying the decimal point.
740  \value GroupSeparator a QString specifying the group separator.
741  \value ZeroDigit a QString specifying the zero digit.
742  \value NegativeSign a QString specifying the minus sign.
743  \value PositiveSign a QString specifying the plus sign.
744  \value DateFormatLong a QString specifying the long date format
745  \value DateFormatShort a QString specifying the short date format
746  \value TimeFormatLong a QString specifying the long time format
747  \value TimeFormatShort a QString specifying the short time format
748  \value DayNameLong a QString specifying the name of a weekday. the in variant contains an integer between 1 and 7 (Monday - Sunday)
749  \value DayNameShort a QString specifying the short name of a weekday. the in variant contains an integer between 1 and 7 (Monday - Sunday)
750  \value MonthNameLong a QString specifying the name of a month. the in variant contains an integer between 1 and 12
751  \value MonthNameShort a QString specifying the short name of a month. the in variant contains an integer between 1 and 12
752  \value DateToStringLong converts the QDate stored in the in variant to a QString using the long date format
753  \value DateToStringShort converts the QDate stored in the in variant to a QString using the short date format
754  \value TimeToStringLong converts the QTime stored in the in variant to a QString using the long time format
755  \value TimeToStringShort converts the QTime stored in the in variant to a QString using the short time format
756  \value DateTimeFormatLong a QString specifying the long date time format
757  \value DateTimeFormatShort a QString specifying the short date time format
758  \value DateTimeToStringLong converts the QDateTime in the in variant to a QString using the long datetime format
759  \value DateTimeToStringShort converts the QDateTime in the in variant to a QString using the short datetime format
760  \value MeasurementSystem a QLocale::MeasurementSystem enum specifying the measurement system
761  \value AMText a string that represents the system AM designator associated with a 12-hour clock.
762  \value PMText a string that represents the system PM designator associated with a 12-hour clock.
763  \value FirstDayOfWeek a Qt::DayOfWeek enum specifiying the first day of the week
764  \value CurrencySymbol a string that represents a currency in a format QLocale::CurrencyFormat.
765  \value CurrencyToString a localized string representation of a number with a currency symbol. Converts a QSystemLocale::CurrencyToStringArgument stored in the in variant to a QString.
766  \value UILanguages a list of strings representing locale names that could be used for UI translation.
767  \value StringToStandardQuotation a QString containing a quoted version of the string ref stored in the in variant using standard quotes.
768  \value StringToAlternateQuotation a QString containing a quoted version of the string ref stored in the in variant using alternate quotes.
769  \value Weekdays a QList<Qt::DayOfWeek> specifying the regular weekdays
770  \value LocaleChanged this type is queried whenever the system locale is changed.
771  \value ListToSeparatedString a string that represents a join of a given QStringList with a locale-defined separator.
772  \value NativeLanguageName a string that represents the name of the native language.
773  \value NativeCountryName a string that represents the name of the native country.
774*/
775
776/*!
777    \fn QLocale QSystemLocale::fallbackLocale() const
778
779    \since 4.6
780    Returns the fallback locale obtained from the system.
781*/
782
783/*!
784    \fn QVariant QSystemLocale::query(QueryType type, QVariant in = QVariant()) const
785
786    Generic query method for locale data. Provides indirection.
787    Denotes the \a type of the query
788    with \a in as input data depending on the query.
789
790    \sa QSystemLocale::QueryType
791*/
792
793/*!
794    \class QSystemLocale::CurrencyToStringArgument
795
796    A helper class that provides arguments for the QSystemLocale::query()
797    function with query type QSystemLocale::CurrencyToString.
798
799    \sa QSystemLocale::QueryType
800    \since 4.8
801*/
802
803/*!
804    \fn QSystemLocale::CurrencyToStringArgument::CurrencyToStringArgument()
805    \internal
806*/
807/*!
808    \fn QSystemLocale::CurrencyToStringArgument::CurrencyToStringArgument(const QVariant &v, const QString &s)
809    \internal
810*/
811/*!
812    \variable QSystemLocale::CurrencyToStringArgument::value
813
814    An input value that should be converted to its string representation.
815    Contains one of QVariant::LongLong, QVariant::ULongLong or QVariant::Double
816    types.
817*/
818/*!
819    \variable QSystemLocale::CurrencyToStringArgument::symbol
820
821    An optional argument containing a currency symbol to be used in the
822    currency string.
823*/
824
825
826/*!
827\fn QString QLocale::toString(short i) const
828
829\overload
830
831\sa toShort()
832*/
833
834/*!
835\fn QString QLocale::toString(ushort i) const
836
837\overload
838
839\sa toUShort()
840*/
841
842/*!
843\fn QString QLocale::toString(int i) const
844
845\overload
846
847\sa toInt()
848*/
849
850/*!
851\fn QString QLocale::toString(uint i) const
852
853\overload
854
855\sa toUInt()
856*/
857
858/*
859\fn QString QLocale::toString(long i) const
860
861\overload
862
863\sa  toLong()
864*/
865
866/*
867\fn QString QLocale::toString(ulong i) const
868
869\overload
870
871\sa toULong()
872*/
873
874/*!
875\fn QString QLocale::toString(float i, char f = 'g', int prec = 6) const
876
877\overload
878
879\a f and \a prec have the same meaning as in QString::number(double, char, int).
880
881\sa toDouble()
882*/
883
884/*!
885    \fn QString QLocale::toCurrencyString(short value, const QString &symbol) const
886    \since 4.8
887    \overload
888*/
889
890/*!
891    \fn QString QLocale::toCurrencyString(ushort value, const QString &symbol) const
892    \since 4.8
893    \overload
894*/
895
896/*!
897    \fn QString QLocale::toCurrencyString(int value, const QString &symbol) const
898    \since 4.8
899    \overload
900*/
901
902/*!
903    \fn QString QLocale::toCurrencyString(uint value, const QString &symbol) const
904    \since 4.8
905    \overload
906*/
907/*!
908    \fn QString QLocale::toCurrencyString(float value, const QString &symbol) const
909    \since 4.8
910    \overload
911*/
912