Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > 28b9e36e96ce34b2567ae5b47a27b2c5 > files > 839

python-qt4-doc-4.10.3-3.mga4.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html><head><title>QLocale Class Reference</title><style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm }
a:link { color: #004faf; text-decoration: none }
a:visited { color: #672967; text-decoration: none }
td.postheader { font-family: sans-serif }
tr.address { font-family: sans-serif }
body { background: #ffffff; color: black; }
</style></head><body><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr /><td align="left" valign="top" width="32"><img align="left" border="0" height="32" src="images/rb-logo.png" width="32" /></td><td width="1">&#160;&#160;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&#160;&#183; <a href="classes.html"><font color="#004faf">All Classes</font></a>&#160;&#183; <a href="modules.html"><font color="#004faf">Modules</font></a></td></table><h1 align="center">QLocale Class Reference<br /><sup><sup>[<a href="qtcore.html">QtCore</a> module]</sup></sup></h1><p>The QLocale class converts between numbers and their string
representations in various languages. <a href="#details">More...</a></p>

<h3>Types</h3><ul><li><div class="fn" />enum <b><a href="qlocale.html#Country-enum">Country</a></b> { AnyCountry, Afghanistan, Albania, Algeria, ..., LastCountry }</li><li><div class="fn" />enum <b><a href="qlocale.html#CurrencySymbolFormat-enum">CurrencySymbolFormat</a></b> { CurrencyIsoCode, CurrencySymbol, CurrencyDisplayName }</li><li><div class="fn" />enum <b><a href="qlocale.html#FormatType-enum">FormatType</a></b> { LongFormat, ShortFormat, NarrowFormat }</li><li><div class="fn" />enum <b><a href="qlocale.html#Language-enum">Language</a></b> { C, Abkhazian, Afan, Afar, ..., AnyLanguage }</li><li><div class="fn" />enum <b><a href="qlocale.html#MeasurementSystem-enum">MeasurementSystem</a></b> { MetricSystem, ImperialSystem }</li><li><div class="fn" />enum <b><a href="qlocale.html#NumberOption-enum">NumberOption</a></b> { OmitGroupSeparator, RejectGroupSeparator }</li><li><div class="fn" />class <b><a href="qlocale-numberoptions.html">NumberOptions</a></b></li><li><div class="fn" />enum <b><a href="qlocale.html#QuotationStyle-enum">QuotationStyle</a></b> { StandardQuotation, AlternateQuotation }</li><li><div class="fn" />enum <b><a href="qlocale.html#Script-enum">Script</a></b> { AnyScript, ArabicScript, CyrillicScript, DeseretScript, ..., TraditionalChineseScript }</li></ul><h3>Methods</h3><ul><li><div class="fn" /><b><a href="qlocale.html#QLocale">__init__</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qlocale.html#QLocale-2">__init__</a></b> (<i>self</i>, QString&#160;<i>name</i>)</li><li><div class="fn" /><b><a href="qlocale.html#QLocale-3">__init__</a></b> (<i>self</i>, Language&#160;<i>language</i>, Country&#160;<i>country</i>&#160;=&#160;QLocale.AnyCountry)</li><li><div class="fn" /><b><a href="qlocale.html#QLocale-4">__init__</a></b> (<i>self</i>, QLocale&#160;<i>other</i>)</li><li><div class="fn" /><b><a href="qlocale.html#QLocale-5">__init__</a></b> (<i>self</i>, Language&#160;<i>language</i>, Script&#160;<i>script</i>, Country&#160;<i>country</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#amText">amText</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#bcp47Name">bcp47Name</a></b> (<i>self</i>)</li><li><div class="fn" />Country <b><a href="qlocale.html#country">country</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#createSeparatedList">createSeparatedList</a></b> (<i>self</i>, QStringList&#160;<i>list</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#currencySymbol">currencySymbol</a></b> (<i>self</i>, CurrencySymbolFormat&#160;<i>format</i>&#160;=&#160;QLocale.CurrencySymbol)</li><li><div class="fn" />QString <b><a href="qlocale.html#dateFormat">dateFormat</a></b> (<i>self</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QString <b><a href="qlocale.html#dateTimeFormat">dateTimeFormat</a></b> (<i>self</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QString <b><a href="qlocale.html#dayName">dayName</a></b> (<i>self</i>, int, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QChar <b><a href="qlocale.html#decimalPoint">decimalPoint</a></b> (<i>self</i>)</li><li><div class="fn" />QChar <b><a href="qlocale.html#exponential">exponential</a></b> (<i>self</i>)</li><li><div class="fn" />Qt.DayOfWeek <b><a href="qlocale.html#firstDayOfWeek">firstDayOfWeek</a></b> (<i>self</i>)</li><li><div class="fn" />QChar <b><a href="qlocale.html#groupSeparator">groupSeparator</a></b> (<i>self</i>)</li><li><div class="fn" />Language <b><a href="qlocale.html#language">language</a></b> (<i>self</i>)</li><li><div class="fn" />MeasurementSystem <b><a href="qlocale.html#measurementSystem">measurementSystem</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#monthName">monthName</a></b> (<i>self</i>, int, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QString <b><a href="qlocale.html#name">name</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#nativeCountryName">nativeCountryName</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#nativeLanguageName">nativeLanguageName</a></b> (<i>self</i>)</li><li><div class="fn" />QChar <b><a href="qlocale.html#negativeSign">negativeSign</a></b> (<i>self</i>)</li><li><div class="fn" />NumberOptions <b><a href="qlocale.html#numberOptions">numberOptions</a></b> (<i>self</i>)</li><li><div class="fn" />QChar <b><a href="qlocale.html#percent">percent</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#pmText">pmText</a></b> (<i>self</i>)</li><li><div class="fn" />QChar <b><a href="qlocale.html#positiveSign">positiveSign</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#quoteString">quoteString</a></b> (<i>self</i>, QString&#160;<i>str</i>, QuotationStyle&#160;<i>style</i>&#160;=&#160;QLocale.StandardQuotation)</li><li><div class="fn" />Script <b><a href="qlocale.html#script">script</a></b> (<i>self</i>)</li><li><div class="fn" /><b><a href="qlocale.html#setNumberOptions">setNumberOptions</a></b> (<i>self</i>, NumberOptions&#160;<i>options</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#standaloneDayName">standaloneDayName</a></b> (<i>self</i>, int, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QString <b><a href="qlocale.html#standaloneMonthName">standaloneMonthName</a></b> (<i>self</i>, int, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />Qt.LayoutDirection <b><a href="qlocale.html#textDirection">textDirection</a></b> (<i>self</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#timeFormat">timeFormat</a></b> (<i>self</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QString <b><a href="qlocale.html#toCurrencyString">toCurrencyString</a></b> (<i>self</i>, int&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</li><li><div class="fn" />QString <b><a href="qlocale.html#toCurrencyString-2">toCurrencyString</a></b> (<i>self</i>, float&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</li><li><div class="fn" />QString <b><a href="qlocale.html#toCurrencyString-3">toCurrencyString</a></b> (<i>self</i>, int&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</li><li><div class="fn" />QString <b><a href="qlocale.html#toCurrencyString-4">toCurrencyString</a></b> (<i>self</i>, int&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</li><li><div class="fn" />QDate <b><a href="qlocale.html#toDate">toDate</a></b> (<i>self</i>, QString&#160;<i>string</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QDate <b><a href="qlocale.html#toDate-2">toDate</a></b> (<i>self</i>, QString&#160;<i>string</i>, QString&#160;<i>format</i>)</li><li><div class="fn" />QDateTime <b><a href="qlocale.html#toDateTime">toDateTime</a></b> (<i>self</i>, QString&#160;<i>string</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QDateTime <b><a href="qlocale.html#toDateTime-2">toDateTime</a></b> (<i>self</i>, QString&#160;<i>string</i>, QString&#160;<i>format</i>)</li><li><div class="fn" />(float, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toDouble">toDouble</a></b> (<i>self</i>, QString&#160;<i>s</i>)</li><li><div class="fn" />(float, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toFloat">toFloat</a></b> (<i>self</i>, QString&#160;<i>s</i>)</li><li><div class="fn" />(int, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toInt">toInt</a></b> (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</li><li><div class="fn" />(int, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toLongLong">toLongLong</a></b> (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</li><li><div class="fn" />QString <b><a href="qlocale.html#toLower">toLower</a></b> (<i>self</i>, QString&#160;<i>str</i>)</li><li><div class="fn" />(int, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toShort">toShort</a></b> (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString">toString</a></b> (<i>self</i>, int&#160;<i>i</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-2">toString</a></b> (<i>self</i>, float&#160;<i>i</i>, str&#160;<i>format</i>&#160;=&#160;'g', int&#160;<i>precision</i>&#160;=&#160;6)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-3">toString</a></b> (<i>self</i>, int&#160;<i>i</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-4">toString</a></b> (<i>self</i>, int&#160;<i>i</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-5">toString</a></b> (<i>self</i>, QDateTime&#160;<i>dateTime</i>, QString&#160;<i>format</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-6">toString</a></b> (<i>self</i>, QDateTime&#160;<i>dateTime</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-7">toString</a></b> (<i>self</i>, QDate&#160;<i>date</i>, QString&#160;<i>formatStr</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-8">toString</a></b> (<i>self</i>, QDate&#160;<i>date</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-9">toString</a></b> (<i>self</i>, QTime&#160;<i>time</i>, QString&#160;<i>formatStr</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#toString-10">toString</a></b> (<i>self</i>, QTime&#160;<i>time</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QTime <b><a href="qlocale.html#toTime">toTime</a></b> (<i>self</i>, QString&#160;<i>string</i>, FormatType&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</li><li><div class="fn" />QTime <b><a href="qlocale.html#toTime-2">toTime</a></b> (<i>self</i>, QString&#160;<i>string</i>, QString&#160;<i>format</i>)</li><li><div class="fn" />(int, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toUInt">toUInt</a></b> (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</li><li><div class="fn" />(int, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toULongLong">toULongLong</a></b> (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</li><li><div class="fn" />QString <b><a href="qlocale.html#toUpper">toUpper</a></b> (<i>self</i>, QString&#160;<i>str</i>)</li><li><div class="fn" />(int, bool&#160;<i>ok</i>) <b><a href="qlocale.html#toUShort">toUShort</a></b> (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</li><li><div class="fn" />QStringList <b><a href="qlocale.html#uiLanguages">uiLanguages</a></b> (<i>self</i>)</li><li><div class="fn" />list-of-Qt.DayOfWeek <b><a href="qlocale.html#weekdays">weekdays</a></b> (<i>self</i>)</li><li><div class="fn" />QChar <b><a href="qlocale.html#zeroDigit">zeroDigit</a></b> (<i>self</i>)</li></ul><h3>Static Methods</h3><ul><li><div class="fn" />QLocale <b><a href="qlocale.html#c">c</a></b> ()</li><li><div class="fn" />list-of-QLocale.Country <b><a href="qlocale.html#countriesForLanguage">countriesForLanguage</a></b> (Language&#160;<i>lang</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#countryToString">countryToString</a></b> (Country&#160;<i>country</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#languageToString">languageToString</a></b> (Language&#160;<i>language</i>)</li><li><div class="fn" />list-of-QLocale <b><a href="qlocale.html#matchingLocales">matchingLocales</a></b> (Language&#160;<i>language</i>, Script&#160;<i>script</i>, Country&#160;<i>country</i>)</li><li><div class="fn" />QString <b><a href="qlocale.html#scriptToString">scriptToString</a></b> (Script&#160;<i>script</i>)</li><li><div class="fn" /><b><a href="qlocale.html#setDefault">setDefault</a></b> (QLocale&#160;<i>locale</i>)</li><li><div class="fn" />QLocale <b><a href="qlocale.html#system">system</a></b> ()</li></ul><h3>Special Methods</h3><ul><li><div class="fn" />bool <b><a href="qlocale.html#__eq__">__eq__</a></b> (<i>self</i>, QLocale&#160;<i>other</i>)</li><li><div class="fn" />bool <b><a href="qlocale.html#__ne__">__ne__</a></b> (<i>self</i>, QLocale&#160;<i>other</i>)</li></ul><a name="details" /><hr /><h2>Detailed Description</h2><p>The QLocale class converts between numbers and their string
representations in various languages.</p>
<p>QLocale is initialized with a language/country pair in its
constructor and offers number-to-string and string-to-number
conversion functions similar to those in <a href="qstring.html">QString</a>.</p>
<p>Example:</p>
<pre class="cpp">
 <span class="type">QLocale</span> egyptian(<span class="type">QLocale</span><span class="operator">.</span>Arabic<span class="operator">,</span> <span class="type">QLocale</span><span class="operator">.</span>Egypt);
 <span class="type"><a href="qstring.html">QString</a></span> s1 <span class="operator">=</span> egyptian<span class="operator">.</span><a href="qlocale.html#toString">toString</a>(<span class="number">1.571429E</span><span class="operator">+</span><span class="number">07</span><span class="operator">,</span> <span class="char">'e'</span>);
 <span class="type"><a href="qstring.html">QString</a></span> s2 <span class="operator">=</span> egyptian<span class="operator">.</span><a href="qlocale.html#toString">toString</a>(<span class="number">10</span>);

 <span class="type">double</span> d <span class="operator">=</span> egyptian<span class="operator">.</span><a href="qlocale.html#toDouble">toDouble</a>(s1);
 <span class="type">int</span> i <span class="operator">=</span> egyptian<span class="operator">.</span><a href="qlocale.html#toInt">toInt</a>(s2);
</pre>
<p>QLocale supports the concept of a default locale, which is
determined from the system's locale settings at application
startup. The default locale can be changed by calling the static
member <a href="qlocale.html#setDefault">setDefault</a>(). Setting
the default locale has the following effects:</p>
<ul>
<li>If a QLocale object is constructed with the default
constructor, it will use the default locale's settings.</li>
<li><a href="qstring.html#toInt">QString.toInt</a>(), <a href="qstring.html#toDouble">QString.toDouble</a>(), etc., interpret
the string according to the default locale. If this fails, it falls
back on the "C" locale.</li>
<li><a href="qstring.html#arg">QString.arg</a>() uses the default
locale to format a number when its position specifier in the format
string contains an 'L', e.g. "%L1".</li>
</ul>
<p>The following example illustrates how to use QLocale
directly:</p>
<pre class="cpp">
 <span class="type">QLocale</span><span class="operator">.</span><a href="qlocale.html#setDefault">setDefault</a>(<span class="type">QLocale</span>(<span class="type">QLocale</span><span class="operator">.</span>Hebrew<span class="operator">,</span> <span class="type">QLocale</span><span class="operator">.</span>Israel));
 <span class="type">QLocale</span> hebrew; <span class="comment">// Constructs a default QLocale</span>
 <span class="type"><a href="qstring.html">QString</a></span> s1 <span class="operator">=</span> hebrew<span class="operator">.</span><a href="qlocale.html#toString">toString</a>(<span class="number">15714.3</span><span class="operator">,</span> <span class="char">'e'</span>);

 <span class="type">bool</span> ok;
 <span class="type">double</span> d;

 <span class="type">QLocale</span><span class="operator">.</span><a href="qlocale.html#setDefault">setDefault</a>(<span class="type">QLocale</span><span class="operator">.</span>C);
 d <span class="operator">=</span> <span class="type"><a href="qstring.html">QString</a></span>(<span class="string">"1234,56"</span>)<span class="operator">.</span><a href="qlocale.html#toDouble">toDouble</a>(<span class="operator">&amp;</span>ok);   <span class="comment">// ok == false</span>
 d <span class="operator">=</span> <span class="type"><a href="qstring.html">QString</a></span>(<span class="string">"1234.56"</span>)<span class="operator">.</span><a href="qlocale.html#toDouble">toDouble</a>(<span class="operator">&amp;</span>ok);   <span class="comment">// ok == true, d == 1234.56</span>

 <span class="type">QLocale</span><span class="operator">.</span><a href="qlocale.html#setDefault">setDefault</a>(<span class="type">QLocale</span><span class="operator">.</span>German);
 d <span class="operator">=</span> <span class="type"><a href="qstring.html">QString</a></span>(<span class="string">"1234,56"</span>)<span class="operator">.</span><a href="qlocale.html#toDouble">toDouble</a>(<span class="operator">&amp;</span>ok);   <span class="comment">// ok == true, d == 1234.56</span>
 d <span class="operator">=</span> <span class="type"><a href="qstring.html">QString</a></span>(<span class="string">"1234.56"</span>)<span class="operator">.</span><a href="qlocale.html#toDouble">toDouble</a>(<span class="operator">&amp;</span>ok);   <span class="comment">// ok == true, d == 1234.56</span>

 <span class="type">QLocale</span><span class="operator">.</span><a href="qlocale.html#setDefault">setDefault</a>(<span class="type">QLocale</span>(<span class="type">QLocale</span><span class="operator">.</span>English<span class="operator">,</span> <span class="type">QLocale</span><span class="operator">.</span>UnitedStates));
 str <span class="operator">=</span> <span class="type"><a href="qstring.html">QString</a></span>(<span class="string">"%1 %L2 %L3"</span>)
       <span class="operator">.</span>arg(<span class="number">12345</span>)<span class="operator">.</span>arg(<span class="number">12345</span>)<span class="operator">.</span>arg(<span class="number">12345</span><span class="operator">,</span> <span class="number">0</span><span class="operator">,</span> <span class="number">16</span>);
 <span class="comment">// str == "12345 12,345 3039"</span>
</pre>
<p>When a language/country pair is specified in the constructor,
one of three things can happen:</p>
<ul>
<li>If the language/country pair is found in the database, it is
used.</li>
<li>If the language is found but the country is not, or if the
country is <tt>AnyCountry</tt>, the language is used with the most
appropriate available country (for example, Germany for
German),</li>
<li>If neither the language nor the country are found, QLocale
defaults to the default locale (see <a href="qlocale.html#setDefault">setDefault</a>()).</li>
</ul>
<p>Use <a href="qlocale.html#language">language</a>() and <a href="qlocale.html#country">country</a>() to determine the actual
language and country values used.</p>
<p>An alternative method for constructing a QLocale object is by
specifying the locale name.</p>
<pre class="cpp">
 <span class="type">QLocale</span> korean(<span class="string">"ko"</span>);
 <span class="type">QLocale</span> swiss(<span class="string">"de_CH"</span>);
</pre>
<p>This constructor converts the locale name to a language/country
pair; it does not use the system locale database.</p>
<p><b>Note:</b> For the current keyboard input locale take a look
at <a href="qapplication.html#keyboardInputLocale">QApplication.keyboardInputLocale</a>().</p>
<p>QLocale's data is based on Common Locale Data Repository
v2.0.</p>
<p>The double-to-string and string-to-double conversion functions
are covered by the following licenses:</p>
<div class="LegaleseLeft">
<p>Copyright (c) 1991 by AT&amp;T.</p>
<p>Permission to use, copy, modify, and distribute this software
for any purpose without fee is hereby granted, provided that this
entire notice is included in all copies of any software which is or
includes a copy or modification of this software and in all copies
of the supporting documentation for such software.</p>
<p>THIS SOFTWARE IS BEING PROVIDED "AS IS", WITHOUT ANY EXPRESS OR
IMPLIED WARRANTY. IN PARTICULAR, NEITHER THE AUTHOR NOR AT&amp;T
MAKES ANY REPRESENTATION OR WARRANTY OF ANY KIND CONCERNING THE
MERCHANTABILITY OF THIS SOFTWARE OR ITS FITNESS FOR ANY PARTICULAR
PURPOSE.</p>
<p>This product includes software developed by the University of
California, Berkeley and its contributors.</p>
</div>
<hr /><h2>Type Documentation</h2><h3 class="fn"><a name="Country-enum" />QLocale.Country</h3><p>This enumerated type is used to specify a country.</p>
<table class="valuelist">
<tr>
<th class="tblConst">Constant</th>
<th class="tblVal">Value</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.AnyCountry</tt></td>
<td class="topAlign"><tt>0</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Afghanistan</tt></td>
<td class="topAlign"><tt>1</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Albania</tt></td>
<td class="topAlign"><tt>2</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Algeria</tt></td>
<td class="topAlign"><tt>3</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.AmericanSamoa</tt></td>
<td class="topAlign"><tt>4</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Andorra</tt></td>
<td class="topAlign"><tt>5</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Angola</tt></td>
<td class="topAlign"><tt>6</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Anguilla</tt></td>
<td class="topAlign"><tt>7</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Antarctica</tt></td>
<td class="topAlign"><tt>8</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.AntiguaAndBarbuda</tt></td>
<td class="topAlign"><tt>9</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Argentina</tt></td>
<td class="topAlign"><tt>10</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Armenia</tt></td>
<td class="topAlign"><tt>11</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Aruba</tt></td>
<td class="topAlign"><tt>12</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Australia</tt></td>
<td class="topAlign"><tt>13</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Austria</tt></td>
<td class="topAlign"><tt>14</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Azerbaijan</tt></td>
<td class="topAlign"><tt>15</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bahamas</tt></td>
<td class="topAlign"><tt>16</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bahrain</tt></td>
<td class="topAlign"><tt>17</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bangladesh</tt></td>
<td class="topAlign"><tt>18</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Barbados</tt></td>
<td class="topAlign"><tt>19</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Belarus</tt></td>
<td class="topAlign"><tt>20</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Belgium</tt></td>
<td class="topAlign"><tt>21</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Belize</tt></td>
<td class="topAlign"><tt>22</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Benin</tt></td>
<td class="topAlign"><tt>23</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bermuda</tt></td>
<td class="topAlign"><tt>24</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bhutan</tt></td>
<td class="topAlign"><tt>25</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bolivia</tt></td>
<td class="topAlign"><tt>26</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.BosniaAndHerzegowina</tt></td>
<td class="topAlign"><tt>27</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Botswana</tt></td>
<td class="topAlign"><tt>28</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.BouvetIsland</tt></td>
<td class="topAlign"><tt>29</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Brazil</tt></td>
<td class="topAlign"><tt>30</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.BritishIndianOceanTerritory</tt></td>
<td class="topAlign"><tt>31</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.BruneiDarussalam</tt></td>
<td class="topAlign"><tt>32</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bulgaria</tt></td>
<td class="topAlign"><tt>33</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.BurkinaFaso</tt></td>
<td class="topAlign"><tt>34</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Burundi</tt></td>
<td class="topAlign"><tt>35</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cambodia</tt></td>
<td class="topAlign"><tt>36</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cameroon</tt></td>
<td class="topAlign"><tt>37</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Canada</tt></td>
<td class="topAlign"><tt>38</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CapeVerde</tt></td>
<td class="topAlign"><tt>39</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CaymanIslands</tt></td>
<td class="topAlign"><tt>40</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CentralAfricanRepublic</tt></td>
<td class="topAlign"><tt>41</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Chad</tt></td>
<td class="topAlign"><tt>42</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Chile</tt></td>
<td class="topAlign"><tt>43</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.China</tt></td>
<td class="topAlign"><tt>44</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.ChristmasIsland</tt></td>
<td class="topAlign"><tt>45</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CocosIslands</tt></td>
<td class="topAlign"><tt>46</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Colombia</tt></td>
<td class="topAlign"><tt>47</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Comoros</tt></td>
<td class="topAlign"><tt>48</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.DemocraticRepublicOfCongo</tt></td>
<td class="topAlign"><tt>49</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.PeoplesRepublicOfCongo</tt></td>
<td class="topAlign"><tt>50</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CookIslands</tt></td>
<td class="topAlign"><tt>51</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CostaRica</tt></td>
<td class="topAlign"><tt>52</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.IvoryCoast</tt></td>
<td class="topAlign"><tt>53</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Croatia</tt></td>
<td class="topAlign"><tt>54</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cuba</tt></td>
<td class="topAlign"><tt>55</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cyprus</tt></td>
<td class="topAlign"><tt>56</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CzechRepublic</tt></td>
<td class="topAlign"><tt>57</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Denmark</tt></td>
<td class="topAlign"><tt>58</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Djibouti</tt></td>
<td class="topAlign"><tt>59</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Dominica</tt></td>
<td class="topAlign"><tt>60</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.DominicanRepublic</tt></td>
<td class="topAlign"><tt>61</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.EastTimor</tt></td>
<td class="topAlign"><tt>62</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ecuador</tt></td>
<td class="topAlign"><tt>63</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Egypt</tt></td>
<td class="topAlign"><tt>64</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.ElSalvador</tt></td>
<td class="topAlign"><tt>65</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.EquatorialGuinea</tt></td>
<td class="topAlign"><tt>66</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Eritrea</tt></td>
<td class="topAlign"><tt>67</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Estonia</tt></td>
<td class="topAlign"><tt>68</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ethiopia</tt></td>
<td class="topAlign"><tt>69</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.FalklandIslands</tt></td>
<td class="topAlign"><tt>70</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.FaroeIslands</tt></td>
<td class="topAlign"><tt>71</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.FijiCountry</tt></td>
<td class="topAlign"><tt>72</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Finland</tt></td>
<td class="topAlign"><tt>73</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.France</tt></td>
<td class="topAlign"><tt>74</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.MetropolitanFrance</tt></td>
<td class="topAlign"><tt>75</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.FrenchGuiana</tt></td>
<td class="topAlign"><tt>76</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.FrenchPolynesia</tt></td>
<td class="topAlign"><tt>77</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.FrenchSouthernTerritories</tt></td>
<td class="topAlign"><tt>78</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Gabon</tt></td>
<td class="topAlign"><tt>79</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Gambia</tt></td>
<td class="topAlign"><tt>80</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Georgia</tt></td>
<td class="topAlign"><tt>81</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Germany</tt></td>
<td class="topAlign"><tt>82</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ghana</tt></td>
<td class="topAlign"><tt>83</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Gibraltar</tt></td>
<td class="topAlign"><tt>84</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Greece</tt></td>
<td class="topAlign"><tt>85</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Greenland</tt></td>
<td class="topAlign"><tt>86</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Grenada</tt></td>
<td class="topAlign"><tt>87</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Guadeloupe</tt></td>
<td class="topAlign"><tt>88</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Guam</tt></td>
<td class="topAlign"><tt>89</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Guatemala</tt></td>
<td class="topAlign"><tt>90</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Guinea</tt></td>
<td class="topAlign"><tt>91</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.GuineaBissau</tt></td>
<td class="topAlign"><tt>92</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Guyana</tt></td>
<td class="topAlign"><tt>93</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Haiti</tt></td>
<td class="topAlign"><tt>94</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.HeardAndMcDonaldIslands</tt></td>
<td class="topAlign"><tt>95</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Honduras</tt></td>
<td class="topAlign"><tt>96</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.HongKong</tt></td>
<td class="topAlign"><tt>97</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Hungary</tt></td>
<td class="topAlign"><tt>98</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Iceland</tt></td>
<td class="topAlign"><tt>99</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.India</tt></td>
<td class="topAlign"><tt>100</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Indonesia</tt></td>
<td class="topAlign"><tt>101</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Iran</tt></td>
<td class="topAlign"><tt>102</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Iraq</tt></td>
<td class="topAlign"><tt>103</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ireland</tt></td>
<td class="topAlign"><tt>104</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Israel</tt></td>
<td class="topAlign"><tt>105</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Italy</tt></td>
<td class="topAlign"><tt>106</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Jamaica</tt></td>
<td class="topAlign"><tt>107</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Japan</tt></td>
<td class="topAlign"><tt>108</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Jordan</tt></td>
<td class="topAlign"><tt>109</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kazakhstan</tt></td>
<td class="topAlign"><tt>110</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kenya</tt></td>
<td class="topAlign"><tt>111</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kiribati</tt></td>
<td class="topAlign"><tt>112</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.DemocraticRepublicOfKorea</tt></td>
<td class="topAlign"><tt>113</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.RepublicOfKorea</tt></td>
<td class="topAlign"><tt>114</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kuwait</tt></td>
<td class="topAlign"><tt>115</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kyrgyzstan</tt></td>
<td class="topAlign"><tt>116</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Lao</tt></td>
<td class="topAlign"><tt>117</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Latvia</tt></td>
<td class="topAlign"><tt>118</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Lebanon</tt></td>
<td class="topAlign"><tt>119</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Lesotho</tt></td>
<td class="topAlign"><tt>120</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Liberia</tt></td>
<td class="topAlign"><tt>121</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.LibyanArabJamahiriya</tt></td>
<td class="topAlign"><tt>122</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Liechtenstein</tt></td>
<td class="topAlign"><tt>123</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Lithuania</tt></td>
<td class="topAlign"><tt>124</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Luxembourg</tt></td>
<td class="topAlign"><tt>125</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Macau</tt></td>
<td class="topAlign"><tt>126</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Macedonia</tt></td>
<td class="topAlign"><tt>127</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Madagascar</tt></td>
<td class="topAlign"><tt>128</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Malawi</tt></td>
<td class="topAlign"><tt>129</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Malaysia</tt></td>
<td class="topAlign"><tt>130</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Maldives</tt></td>
<td class="topAlign"><tt>131</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mali</tt></td>
<td class="topAlign"><tt>132</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Malta</tt></td>
<td class="topAlign"><tt>133</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.MarshallIslands</tt></td>
<td class="topAlign"><tt>134</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Martinique</tt></td>
<td class="topAlign"><tt>135</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mauritania</tt></td>
<td class="topAlign"><tt>136</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mauritius</tt></td>
<td class="topAlign"><tt>137</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mayotte</tt></td>
<td class="topAlign"><tt>138</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mexico</tt></td>
<td class="topAlign"><tt>139</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Micronesia</tt></td>
<td class="topAlign"><tt>140</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Moldova</tt></td>
<td class="topAlign"><tt>141</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Monaco</tt></td>
<td class="topAlign"><tt>142</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mongolia</tt></td>
<td class="topAlign"><tt>143</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Montserrat</tt></td>
<td class="topAlign"><tt>144</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Morocco</tt></td>
<td class="topAlign"><tt>145</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mozambique</tt></td>
<td class="topAlign"><tt>146</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Myanmar</tt></td>
<td class="topAlign"><tt>147</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Namibia</tt></td>
<td class="topAlign"><tt>148</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NauruCountry</tt></td>
<td class="topAlign"><tt>149</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Nepal</tt></td>
<td class="topAlign"><tt>150</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Netherlands</tt></td>
<td class="topAlign"><tt>151</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NetherlandsAntilles</tt></td>
<td class="topAlign"><tt>152</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NewCaledonia</tt></td>
<td class="topAlign"><tt>153</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NewZealand</tt></td>
<td class="topAlign"><tt>154</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Nicaragua</tt></td>
<td class="topAlign"><tt>155</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Niger</tt></td>
<td class="topAlign"><tt>156</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Nigeria</tt></td>
<td class="topAlign"><tt>157</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Niue</tt></td>
<td class="topAlign"><tt>158</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NorfolkIsland</tt></td>
<td class="topAlign"><tt>159</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NorthernMarianaIslands</tt></td>
<td class="topAlign"><tt>160</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Norway</tt></td>
<td class="topAlign"><tt>161</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Oman</tt></td>
<td class="topAlign"><tt>162</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Pakistan</tt></td>
<td class="topAlign"><tt>163</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Palau</tt></td>
<td class="topAlign"><tt>164</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.PalestinianTerritory</tt></td>
<td class="topAlign"><tt>165</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Panama</tt></td>
<td class="topAlign"><tt>166</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.PapuaNewGuinea</tt></td>
<td class="topAlign"><tt>167</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Paraguay</tt></td>
<td class="topAlign"><tt>168</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Peru</tt></td>
<td class="topAlign"><tt>169</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Philippines</tt></td>
<td class="topAlign"><tt>170</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Pitcairn</tt></td>
<td class="topAlign"><tt>171</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Poland</tt></td>
<td class="topAlign"><tt>172</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Portugal</tt></td>
<td class="topAlign"><tt>173</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.PuertoRico</tt></td>
<td class="topAlign"><tt>174</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Qatar</tt></td>
<td class="topAlign"><tt>175</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Reunion</tt></td>
<td class="topAlign"><tt>176</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Romania</tt></td>
<td class="topAlign"><tt>177</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.RussianFederation</tt></td>
<td class="topAlign"><tt>178</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Rwanda</tt></td>
<td class="topAlign"><tt>179</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SaintKittsAndNevis</tt></td>
<td class="topAlign"><tt>180</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.StLucia</tt></td>
<td class="topAlign"><tt>181</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.StVincentAndTheGrenadines</tt></td>
<td class="topAlign"><tt>182</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Samoa</tt></td>
<td class="topAlign"><tt>183</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SanMarino</tt></td>
<td class="topAlign"><tt>184</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SaoTomeAndPrincipe</tt></td>
<td class="topAlign"><tt>185</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SaudiArabia</tt></td>
<td class="topAlign"><tt>186</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Senegal</tt></td>
<td class="topAlign"><tt>187</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SerbiaAndMontenegro</tt></td>
<td class="topAlign"><tt>241</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Seychelles</tt></td>
<td class="topAlign"><tt>188</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SierraLeone</tt></td>
<td class="topAlign"><tt>189</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Singapore</tt></td>
<td class="topAlign"><tt>190</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Slovakia</tt></td>
<td class="topAlign"><tt>191</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Slovenia</tt></td>
<td class="topAlign"><tt>192</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SolomonIslands</tt></td>
<td class="topAlign"><tt>193</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Somalia</tt></td>
<td class="topAlign"><tt>194</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SouthAfrica</tt></td>
<td class="topAlign"><tt>195</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.SouthGeorgiaAndTheSouthSandwichIslands</tt></td>
<td class="topAlign"><tt>196</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Spain</tt></td>
<td class="topAlign"><tt>197</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SriLanka</tt></td>
<td class="topAlign"><tt>198</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.StHelena</tt></td>
<td class="topAlign"><tt>199</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.StPierreAndMiquelon</tt></td>
<td class="topAlign"><tt>200</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sudan</tt></td>
<td class="topAlign"><tt>201</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Suriname</tt></td>
<td class="topAlign"><tt>202</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.SvalbardAndJanMayenIslands</tt></td>
<td class="topAlign"><tt>203</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Swaziland</tt></td>
<td class="topAlign"><tt>204</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sweden</tt></td>
<td class="topAlign"><tt>205</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Switzerland</tt></td>
<td class="topAlign"><tt>206</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SyrianArabRepublic</tt></td>
<td class="topAlign"><tt>207</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Taiwan</tt></td>
<td class="topAlign"><tt>208</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tajikistan</tt></td>
<td class="topAlign"><tt>209</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tanzania</tt></td>
<td class="topAlign"><tt>210</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Thailand</tt></td>
<td class="topAlign"><tt>211</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Togo</tt></td>
<td class="topAlign"><tt>212</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tokelau</tt></td>
<td class="topAlign"><tt>213</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.TongaCountry</tt></td>
<td class="topAlign"><tt>214</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.TrinidadAndTobago</tt></td>
<td class="topAlign"><tt>215</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tunisia</tt></td>
<td class="topAlign"><tt>216</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Turkey</tt></td>
<td class="topAlign"><tt>217</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Turkmenistan</tt></td>
<td class="topAlign"><tt>218</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.TurksAndCaicosIslands</tt></td>
<td class="topAlign"><tt>219</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tuvalu</tt></td>
<td class="topAlign"><tt>220</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Uganda</tt></td>
<td class="topAlign"><tt>221</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ukraine</tt></td>
<td class="topAlign"><tt>222</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.UnitedArabEmirates</tt></td>
<td class="topAlign"><tt>223</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.UnitedKingdom</tt></td>
<td class="topAlign"><tt>224</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.UnitedStates</tt></td>
<td class="topAlign"><tt>225</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.UnitedStatesMinorOutlyingIslands</tt></td>
<td class="topAlign"><tt>226</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Uruguay</tt></td>
<td class="topAlign"><tt>227</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Uzbekistan</tt></td>
<td class="topAlign"><tt>228</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Vanuatu</tt></td>
<td class="topAlign"><tt>229</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.VaticanCityState</tt></td>
<td class="topAlign"><tt>230</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Venezuela</tt></td>
<td class="topAlign"><tt>231</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.VietNam</tt></td>
<td class="topAlign"><tt>232</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.BritishVirginIslands</tt></td>
<td class="topAlign"><tt>233</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.USVirginIslands</tt></td>
<td class="topAlign"><tt>234</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.WallisAndFutunaIslands</tt></td>
<td class="topAlign"><tt>235</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.WesternSahara</tt></td>
<td class="topAlign"><tt>236</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Yemen</tt></td>
<td class="topAlign"><tt>237</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Yugoslavia</tt></td>
<td class="topAlign"><tt>238</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Zambia</tt></td>
<td class="topAlign"><tt>239</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Zimbabwe</tt></td>
<td class="topAlign"><tt>240</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Montenegro</tt></td>
<td class="topAlign"><tt>242</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Serbia</tt></td>
<td class="topAlign"><tt>243</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SaintBarthelemy</tt></td>
<td class="topAlign"><tt>244</tt></td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SaintMartin</tt></td>
<td class="topAlign"><tt>245</tt></td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.LatinAmericaAndTheCaribbean</tt></td>
<td class="topAlign"><tt>246</tt></td>
</tr>
</table>
<p><b>See also</b> <a href="qlocale.html#country">country</a>() and
<a href="qlocale.html#countryToString">countryToString</a>().</p>


<h3 class="fn"><a name="CurrencySymbolFormat-enum" />QLocale.CurrencySymbolFormat</h3><p>Specifies the format of the currency symbol.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CurrencyIsoCode</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">a ISO-4217 code of the currency.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CurrencySymbol</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">a currency symbol.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CurrencyDisplayName</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">a user readable name of the currency.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.8.</p>


<h3 class="fn"><a name="FormatType-enum" />QLocale.FormatType</h3><p>This enum describes the types of format that can be used when
converting <a href="qdate.html">QDate</a> and <a href="qtime.html">QTime</a> objects to strings.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.LongFormat</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">The long version of day and month names; for
example, returning "January" as a month name.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.ShortFormat</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The short version of day and month names; for
example, returning "Jan" as a month name.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NarrowFormat</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">A special version of day and month names for
use when space is limited; for example, returning "J" as a month
name. Note that the narrow format might contain the same text for
different months and days or it can even be an empty string if the
locale doesn't support narrow names, so you should avoid using it
for date formatting. Also, for the system locale this format is the
same as ShortFormat.</td>
</tr>
</table>


<h3 class="fn"><a name="Language-enum" />QLocale.Language</h3><p>This enumerated type is used to specify a language.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.AnyLanguage</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.C</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">The "C" locale is identical in behavior to
English/<a href="qlocale.html#Country-enum">UnitedStates</a>.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Abkhazian</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Afan</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Afar</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Afrikaans</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Albanian</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Amharic</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Arabic</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Armenian</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Assamese</tt></td>
<td class="topAlign"><tt>10</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Aymara</tt></td>
<td class="topAlign"><tt>11</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Azerbaijani</tt></td>
<td class="topAlign"><tt>12</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bashkir</tt></td>
<td class="topAlign"><tt>13</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Basque</tt></td>
<td class="topAlign"><tt>14</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bengali</tt></td>
<td class="topAlign"><tt>15</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bhutani</tt></td>
<td class="topAlign"><tt>16</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bihari</tt></td>
<td class="topAlign"><tt>17</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bislama</tt></td>
<td class="topAlign"><tt>18</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bosnian</tt></td>
<td class="topAlign"><tt>142</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Breton</tt></td>
<td class="topAlign"><tt>19</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bulgarian</tt></td>
<td class="topAlign"><tt>20</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Burmese</tt></td>
<td class="topAlign"><tt>21</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Byelorussian</tt></td>
<td class="topAlign"><tt>22</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cambodian</tt></td>
<td class="topAlign"><tt>23</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Catalan</tt></td>
<td class="topAlign"><tt>24</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Chinese</tt></td>
<td class="topAlign"><tt>25</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cornish</tt></td>
<td class="topAlign"><tt>145</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Corsican</tt></td>
<td class="topAlign"><tt>26</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Croatian</tt></td>
<td class="topAlign"><tt>27</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Czech</tt></td>
<td class="topAlign"><tt>28</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Danish</tt></td>
<td class="topAlign"><tt>29</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Divehi</tt></td>
<td class="topAlign"><tt>143</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Dutch</tt></td>
<td class="topAlign"><tt>30</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.English</tt></td>
<td class="topAlign"><tt>31</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Esperanto</tt></td>
<td class="topAlign"><tt>32</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Estonian</tt></td>
<td class="topAlign"><tt>33</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Faroese</tt></td>
<td class="topAlign"><tt>34</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.FijiLanguage</tt></td>
<td class="topAlign"><tt>35</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Finnish</tt></td>
<td class="topAlign"><tt>36</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.French</tt></td>
<td class="topAlign"><tt>37</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Frisian</tt></td>
<td class="topAlign"><tt>38</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Gaelic</tt></td>
<td class="topAlign"><tt>39</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Galician</tt></td>
<td class="topAlign"><tt>40</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Georgian</tt></td>
<td class="topAlign"><tt>41</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.German</tt></td>
<td class="topAlign"><tt>42</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Greek</tt></td>
<td class="topAlign"><tt>43</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Greenlandic</tt></td>
<td class="topAlign"><tt>44</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Guarani</tt></td>
<td class="topAlign"><tt>45</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Gujarati</tt></td>
<td class="topAlign"><tt>46</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Hausa</tt></td>
<td class="topAlign"><tt>47</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Hebrew</tt></td>
<td class="topAlign"><tt>48</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Hindi</tt></td>
<td class="topAlign"><tt>49</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Hungarian</tt></td>
<td class="topAlign"><tt>50</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Icelandic</tt></td>
<td class="topAlign"><tt>51</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Indonesian</tt></td>
<td class="topAlign"><tt>52</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Interlingua</tt></td>
<td class="topAlign"><tt>53</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Interlingue</tt></td>
<td class="topAlign"><tt>54</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Inuktitut</tt></td>
<td class="topAlign"><tt>55</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Inupiak</tt></td>
<td class="topAlign"><tt>56</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Irish</tt></td>
<td class="topAlign"><tt>57</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Italian</tt></td>
<td class="topAlign"><tt>58</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Japanese</tt></td>
<td class="topAlign"><tt>59</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Javanese</tt></td>
<td class="topAlign"><tt>60</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kannada</tt></td>
<td class="topAlign"><tt>61</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kashmiri</tt></td>
<td class="topAlign"><tt>62</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kazakh</tt></td>
<td class="topAlign"><tt>63</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kinyarwanda</tt></td>
<td class="topAlign"><tt>64</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kirghiz</tt></td>
<td class="topAlign"><tt>65</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Korean</tt></td>
<td class="topAlign"><tt>66</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kurdish</tt></td>
<td class="topAlign"><tt>67</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kurundi</tt></td>
<td class="topAlign"><tt>Rundi</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Laothian</tt></td>
<td class="topAlign"><tt>69</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Latin</tt></td>
<td class="topAlign"><tt>70</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Latvian</tt></td>
<td class="topAlign"><tt>71</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Lingala</tt></td>
<td class="topAlign"><tt>72</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Lithuanian</tt></td>
<td class="topAlign"><tt>73</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Macedonian</tt></td>
<td class="topAlign"><tt>74</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Malagasy</tt></td>
<td class="topAlign"><tt>75</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Malay</tt></td>
<td class="topAlign"><tt>76</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Malayalam</tt></td>
<td class="topAlign"><tt>77</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Maltese</tt></td>
<td class="topAlign"><tt>78</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Manx</tt></td>
<td class="topAlign"><tt>144</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Maori</tt></td>
<td class="topAlign"><tt>79</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Marathi</tt></td>
<td class="topAlign"><tt>80</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Moldavian</tt></td>
<td class="topAlign"><tt>81</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Mongolian</tt></td>
<td class="topAlign"><tt>82</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NauruLanguage</tt></td>
<td class="topAlign"><tt>83</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Nepali</tt></td>
<td class="topAlign"><tt>84</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Norwegian</tt></td>
<td class="topAlign"><tt>85</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NorwegianBokmal</tt></td>
<td class="topAlign"><tt>Norwegian</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Nynorsk</tt></td>
<td class="topAlign"><tt>141</tt></td>
<td class="topAlign">Obsolete, please use NorwegianNynorsk</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NorwegianNynorsk</tt></td>
<td class="topAlign"><tt>Nynorsk</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Occitan</tt></td>
<td class="topAlign"><tt>86</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Oriya</tt></td>
<td class="topAlign"><tt>87</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Pashto</tt></td>
<td class="topAlign"><tt>88</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Persian</tt></td>
<td class="topAlign"><tt>89</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Polish</tt></td>
<td class="topAlign"><tt>90</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Portuguese</tt></td>
<td class="topAlign"><tt>91</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Punjabi</tt></td>
<td class="topAlign"><tt>92</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Quechua</tt></td>
<td class="topAlign"><tt>93</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.RhaetoRomance</tt></td>
<td class="topAlign"><tt>94</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Romanian</tt></td>
<td class="topAlign"><tt>95</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Russian</tt></td>
<td class="topAlign"><tt>96</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Samoan</tt></td>
<td class="topAlign"><tt>97</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sangho</tt></td>
<td class="topAlign"><tt>98</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sanskrit</tt></td>
<td class="topAlign"><tt>99</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Serbian</tt></td>
<td class="topAlign"><tt>100</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SerboCroatian</tt></td>
<td class="topAlign"><tt>101</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sesotho</tt></td>
<td class="topAlign"><tt>102</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Setswana</tt></td>
<td class="topAlign"><tt>103</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Shona</tt></td>
<td class="topAlign"><tt>104</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sindhi</tt></td>
<td class="topAlign"><tt>105</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Singhalese</tt></td>
<td class="topAlign"><tt>106</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Siswati</tt></td>
<td class="topAlign"><tt>107</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Slovak</tt></td>
<td class="topAlign"><tt>108</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Slovenian</tt></td>
<td class="topAlign"><tt>109</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Somali</tt></td>
<td class="topAlign"><tt>110</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Spanish</tt></td>
<td class="topAlign"><tt>111</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sundanese</tt></td>
<td class="topAlign"><tt>112</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Swahili</tt></td>
<td class="topAlign"><tt>113</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Swedish</tt></td>
<td class="topAlign"><tt>114</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tagalog</tt></td>
<td class="topAlign"><tt>115</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tajik</tt></td>
<td class="topAlign"><tt>116</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tamil</tt></td>
<td class="topAlign"><tt>117</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tatar</tt></td>
<td class="topAlign"><tt>118</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Telugu</tt></td>
<td class="topAlign"><tt>119</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Thai</tt></td>
<td class="topAlign"><tt>120</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tibetan</tt></td>
<td class="topAlign"><tt>121</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tigrinya</tt></td>
<td class="topAlign"><tt>122</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.TongaLanguage</tt></td>
<td class="topAlign"><tt>123</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tsonga</tt></td>
<td class="topAlign"><tt>124</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Turkish</tt></td>
<td class="topAlign"><tt>125</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Turkmen</tt></td>
<td class="topAlign"><tt>126</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Twi</tt></td>
<td class="topAlign"><tt>127</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Uigur</tt></td>
<td class="topAlign"><tt>128</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ukrainian</tt></td>
<td class="topAlign"><tt>129</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Urdu</tt></td>
<td class="topAlign"><tt>130</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Uzbek</tt></td>
<td class="topAlign"><tt>131</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Vietnamese</tt></td>
<td class="topAlign"><tt>132</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Volapuk</tt></td>
<td class="topAlign"><tt>133</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Welsh</tt></td>
<td class="topAlign"><tt>134</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Wolof</tt></td>
<td class="topAlign"><tt>135</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Xhosa</tt></td>
<td class="topAlign"><tt>136</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Yiddish</tt></td>
<td class="topAlign"><tt>137</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Yoruba</tt></td>
<td class="topAlign"><tt>138</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Zhuang</tt></td>
<td class="topAlign"><tt>139</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Zulu</tt></td>
<td class="topAlign"><tt>140</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bosnian</tt></td>
<td class="topAlign"><tt>142</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Divehi</tt></td>
<td class="topAlign"><tt>143</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Manx</tt></td>
<td class="topAlign"><tt>144</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cornish</tt></td>
<td class="topAlign"><tt>145</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Akan</tt></td>
<td class="topAlign"><tt>146</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Konkani</tt></td>
<td class="topAlign"><tt>147</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ga</tt></td>
<td class="topAlign"><tt>148</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Igbo</tt></td>
<td class="topAlign"><tt>149</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kamba</tt></td>
<td class="topAlign"><tt>150</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Syriac</tt></td>
<td class="topAlign"><tt>151</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Blin</tt></td>
<td class="topAlign"><tt>152</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Geez</tt></td>
<td class="topAlign"><tt>153</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Koro</tt></td>
<td class="topAlign"><tt>154</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sidamo</tt></td>
<td class="topAlign"><tt>155</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Atsam</tt></td>
<td class="topAlign"><tt>156</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tigre</tt></td>
<td class="topAlign"><tt>157</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Jju</tt></td>
<td class="topAlign"><tt>158</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Friulian</tt></td>
<td class="topAlign"><tt>159</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Venda</tt></td>
<td class="topAlign"><tt>160</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ewe</tt></td>
<td class="topAlign"><tt>161</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Walamo</tt></td>
<td class="topAlign"><tt>162</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Hawaiian</tt></td>
<td class="topAlign"><tt>163</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tyap</tt></td>
<td class="topAlign"><tt>164</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Chewa</tt></td>
<td class="topAlign"><tt>165</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Filipino</tt></td>
<td class="topAlign"><tt>166</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SwissGerman</tt></td>
<td class="topAlign"><tt>167</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SichuanYi</tt></td>
<td class="topAlign"><tt>168</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kpelle</tt></td>
<td class="topAlign"><tt>169</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.LowGerman</tt></td>
<td class="topAlign"><tt>170</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SouthNdebele</tt></td>
<td class="topAlign"><tt>171</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NorthernSotho</tt></td>
<td class="topAlign"><tt>172</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NorthernSami</tt></td>
<td class="topAlign"><tt>173</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Taroko</tt></td>
<td class="topAlign"><tt>174</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Gusii</tt></td>
<td class="topAlign"><tt>175</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Taita</tt></td>
<td class="topAlign"><tt>176</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Fulah</tt></td>
<td class="topAlign"><tt>177</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kikuyu</tt></td>
<td class="topAlign"><tt>178</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Samburu</tt></td>
<td class="topAlign"><tt>179</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Sena</tt></td>
<td class="topAlign"><tt>180</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.NorthNdebele</tt></td>
<td class="topAlign"><tt>181</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Rombo</tt></td>
<td class="topAlign"><tt>182</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Tachelhit</tt></td>
<td class="topAlign"><tt>183</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kabyle</tt></td>
<td class="topAlign"><tt>184</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Nyankole</tt></td>
<td class="topAlign"><tt>185</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bena</tt></td>
<td class="topAlign"><tt>186</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Vunjo</tt></td>
<td class="topAlign"><tt>187</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bambara</tt></td>
<td class="topAlign"><tt>188</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Embu</tt></td>
<td class="topAlign"><tt>189</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Cherokee</tt></td>
<td class="topAlign"><tt>190</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Morisyen</tt></td>
<td class="topAlign"><tt>191</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Makonde</tt></td>
<td class="topAlign"><tt>192</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Langi</tt></td>
<td class="topAlign"><tt>193</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Ganda</tt></td>
<td class="topAlign"><tt>194</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Bemba</tt></td>
<td class="topAlign"><tt>195</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kabuverdianu</tt></td>
<td class="topAlign"><tt>196</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Meru</tt></td>
<td class="topAlign"><tt>197</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Kalenjin</tt></td>
<td class="topAlign"><tt>198</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Nama</tt></td>
<td class="topAlign"><tt>199</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Machame</tt></td>
<td class="topAlign"><tt>200</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Colognian</tt></td>
<td class="topAlign"><tt>201</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Masai</tt></td>
<td class="topAlign"><tt>202</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Soga</tt></td>
<td class="topAlign"><tt>203</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Luyia</tt></td>
<td class="topAlign"><tt>204</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Asu</tt></td>
<td class="topAlign"><tt>205</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Teso</tt></td>
<td class="topAlign"><tt>206</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Saho</tt></td>
<td class="topAlign"><tt>207</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.KoyraChiini</tt></td>
<td class="topAlign"><tt>208</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Rwa</tt></td>
<td class="topAlign"><tt>209</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Luo</tt></td>
<td class="topAlign"><tt>210</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Chiga</tt></td>
<td class="topAlign"><tt>211</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CentralMoroccoTamazight</tt></td>
<td class="topAlign"><tt>212</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.KoyraboroSenni</tt></td>
<td class="topAlign"><tt>213</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.Shambala</tt></td>
<td class="topAlign"><tt>214</tt></td>
<td class="topAlign">&#160;</td>
</tr>
</table>
<p><b>See also</b> <a href="qlocale.html#language">language</a>()
and <a href="qlocale.html#languageToString">languageToString</a>().</p>


<h3 class="fn"><a name="MeasurementSystem-enum" />QLocale.MeasurementSystem</h3><p>This enum defines which units are used for measurement.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.MetricSystem</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">This value indicates metric units, such as
meters, centimeters and millimeters.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.ImperialSystem</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">This value indicates imperial units, such as
inches and miles. There are several distinct imperial systems in
the world; this value stands for the official United States
imperial units.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.4.</p>


<h3 class="fn"><a name="NumberOption-enum" />QLocale.NumberOption</h3><p>This enum defines a set of options for number-to-string and
string-to-number conversions. They can be retrieved with <a href="qlocale.html#numberOptions">numberOptions</a>() and set with
<a href="qlocale.html#setNumberOptions">setNumberOptions</a>().</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.OmitGroupSeparator</tt></td>
<td class="topAlign"><tt>0x01</tt></td>
<td class="topAlign">If this option is set, the number-to-string
functions will not insert group separators in their return values.
The default is to insert group separators.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.RejectGroupSeparator</tt></td>
<td class="topAlign"><tt>0x02</tt></td>
<td class="topAlign">If this option is set, the string-to-number
functions will fail if they encounter group separators in their
input. The default is to accept numbers containing correctly placed
group separators.</td>
</tr>
</table>
<p>The NumberOptions type is a typedef for <a href="qflags.html">QFlags</a>&lt;NumberOption&gt;. It stores an OR
combination of NumberOption values.</p>
<p><b>See also</b> <a href="qlocale.html#setNumberOptions">setNumberOptions</a>() and <a href="qlocale.html#numberOptions">numberOptions</a>().</p>


<h3 class="fn"><a name="QuotationStyle-enum" />QLocale.QuotationStyle</h3><p>This enum defines a set of possible styles for locale specific
quotation.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.StandardQuotation</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">If this option is set, the standard quotation
marks will be used to quote strings.</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.AlternateQuotation</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">If this option is set, the alternate quotation
marks will be used to quote strings.</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#quoteString">quoteString</a>().</p>


<h3 class="fn"><a name="Script-enum" />QLocale.Script</h3><p>This enumerated type is used to specify a script.</p>
<table class="valuelist">
<tr class="odd" valign="top">
<th class="tblConst">Constant</th>
<th class="tblval">Value</th>
<th class="tbldscr">Description</th>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.AnyScript</tt></td>
<td class="topAlign"><tt>0</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.ArabicScript</tt></td>
<td class="topAlign"><tt>1</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.CyrillicScript</tt></td>
<td class="topAlign"><tt>2</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.DeseretScript</tt></td>
<td class="topAlign"><tt>3</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.GurmukhiScript</tt></td>
<td class="topAlign"><tt>4</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SimplifiedHanScript</tt></td>
<td class="topAlign"><tt>5</tt></td>
<td class="topAlign">same as SimplifiedChineseScript</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.SimplifiedChineseScript</tt></td>
<td class="topAlign"><tt>SimplifiedHanScript</tt></td>
<td class="topAlign">same as SimplifiedHanScript</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.TraditionalHanScript</tt></td>
<td class="topAlign"><tt>6</tt></td>
<td class="topAlign">same as TraditionalChineseScript</td>
</tr>
<tr>
<td class="topAlign">
<tt>QLocale.TraditionalChineseScript</tt></td>
<td class="topAlign"><tt>TraditionalHanScript</tt></td>
<td class="topAlign">same as TraditionalHanScript</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.LatinScript</tt></td>
<td class="topAlign"><tt>7</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.MongolianScript</tt></td>
<td class="topAlign"><tt>8</tt></td>
<td class="topAlign">&#160;</td>
</tr>
<tr>
<td class="topAlign"><tt>QLocale.TifinaghScript</tt></td>
<td class="topAlign"><tt>9</tt></td>
<td class="topAlign">&#160;</td>
</tr>
</table>
<p>This enum was introduced or modified in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#script">script</a>(),
<a href="qlocale.html#scriptToString">scriptToString</a>(), and
<a href="qlocale.html#languageToString">languageToString</a>().</p>
<hr /><h2>Method Documentation</h2><h3 class="fn"><a name="QLocale" />QLocale.__init__ (<i>self</i>)</h3><p>Constructs a <a href="qlocale.html">QLocale</a> object
initialized with the default locale. If no default locale was set
using setDefaultLocale(), this locale will be the same as the one
returned by <a href="qlocale.html#system">system</a>().</p>
<p><b>See also</b> <a href="qlocale.html#setDefault">setDefault</a>().</p>


<h3 class="fn"><a name="QLocale-2" />QLocale.__init__ (<i>self</i>, QString&#160;<i>name</i>)</h3><p>Constructs a <a href="qlocale.html">QLocale</a> object with the
specified <i>name</i>, which has the format
"language[_script][_country][.codeset][@modifier]" or "C",
where:</p>
<ul>
<li>language is a lowercase, two-letter, ISO 639 language
code,</li>
<li>script is a titlecase, four-letter, ISO 15924 script code,</li>
<li>country is an uppercase, two- or three-letter, ISO 3166 country
code (also "419" as defined by United Nations),</li>
<li>and codeset and modifier are ignored.</li>
</ul>
<p>The separator can be either underscore or a minus sign.</p>
<p>If the string violates the locale format, or language is not a
valid ISO 369 code, the "C" locale is used instead. If country is
not present, or is not a valid ISO 3166 code, the most appropriate
country is chosen for the specified language.</p>
<p>The language, script and country codes are converted to their
respective <tt>Language</tt>, <tt>Script</tt> and <tt>Country</tt>
enums. After this conversion is performed the constructor behaves
exactly like <a href="qlocale.html">QLocale</a>(Country, Script,
Language).</p>
<p>This constructor is much slower than <a href="qlocale.html">QLocale</a>(Country, Script, Language).</p>
<p><b>See also</b> <a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="QLocale-3" />QLocale.__init__ (<i>self</i>, <a href="qlocale.html#Language-enum">Language</a>&#160;<i>language</i>, <a href="qlocale.html#Country-enum">Country</a>&#160;<i>country</i>&#160;=&#160;QLocale.AnyCountry)</h3><p>Constructs a <a href="qlocale.html">QLocale</a> object with the
specified <i>language</i> and <i>country</i>.</p>
<ul>
<li>If the language/country pair is found in the database, it is
used.</li>
<li>If the language is found but the country is not, or if the
country is <tt>AnyCountry</tt>, the language is used with the most
appropriate available country (for example, Germany for
German),</li>
<li>If neither the language nor the country are found, <a href="qlocale.html">QLocale</a> defaults to the default locale (see
<a href="qlocale.html#setDefault">setDefault</a>()).</li>
</ul>
<p>The language and country that are actually used can be queried
using <a href="qlocale.html#language">language</a>() and <a href="qlocale.html#country">country</a>().</p>
<p><b>See also</b> <a href="qlocale.html#setDefault">setDefault</a>(), <a href="qlocale.html#language">language</a>(), and <a href="qlocale.html#country">country</a>().</p>


<h3 class="fn"><a name="QLocale-4" />QLocale.__init__ (<i>self</i>, <a href="qlocale.html">QLocale</a>&#160;<i>other</i>)</h3><p>Constructs a <a href="qlocale.html">QLocale</a> object with the
specified <i>language</i>, <i>script</i> and <i>country</i>.</p>
<ul>
<li>If the language/script/country is found in the database, it is
used.</li>
<li>If both <i>script</i> is <a href="qlocale.html#Script-enum">AnyScript</a> and <i>country</i> is
<a href="qlocale.html#Country-enum">AnyCountry</a>, the language is
used with the most appropriate available script and country (for
example, Germany for German),</li>
<li>If either <i>script</i> is <a href="qlocale.html#Script-enum">AnyScript</a> or <i>country</i> is
<a href="qlocale.html#Country-enum">AnyCountry</a>, the language is
used with the first locale that matches the given <i>script</i> and
<i>country</i>.</li>
<li>If neither the language nor the country are found, <a href="qlocale.html">QLocale</a> defaults to the default locale (see
<a href="qlocale.html#setDefault">setDefault</a>()).</li>
</ul>
<p>The language, script and country that are actually used can be
queried using <a href="qlocale.html#language">language</a>(),
<a href="qlocale.html#script">script</a>() and <a href="qlocale.html#country">country</a>().</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#setDefault">setDefault</a>(), <a href="qlocale.html#language">language</a>(), <a href="qlocale.html#script">script</a>(), and <a href="qlocale.html#country">country</a>().</p>


<h3 class="fn"><a name="QLocale-5" />QLocale.__init__ (<i>self</i>, <a href="qlocale.html#Language-enum">Language</a>&#160;<i>language</i>, <a href="qlocale.html#Script-enum">Script</a>&#160;<i>script</i>, <a href="qlocale.html#Country-enum">Country</a>&#160;<i>country</i>)</h3><p>Constructs a <a href="qlocale.html">QLocale</a> object as a copy
of <i>other</i>.</p>


<h3 class="fn"><a name="amText" />QString QLocale.amText (<i>self</i>)</h3><p>Returns the localized name of the "AM" suffix for times
specified using the conventions of the 12-hour clock.</p>
<p>This function was introduced in Qt 4.5.</p>
<p><b>See also</b> <a href="qlocale.html#pmText">pmText</a>().</p>


<h3 class="fn"><a name="bcp47Name" />QString QLocale.bcp47Name (<i>self</i>)</h3><p>Returns the dash-separated language, script and country (and
possibly other BCP47 fields) of this locale as a string.</p>
<p>Unlike the <a href="qlocale.html#uiLanguages">uiLanguages</a>()
the returned value of the bcp47Name() represents the locale name of
the <a href="qlocale.html">QLocale</a> data but not the language
the user-interface should be in.</p>
<p>This function tries to conform the locale name to BCP47.</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#language">language</a>(),
<a href="qlocale.html#country">country</a>(), <a href="qlocale.html#script">script</a>(), and <a href="qlocale.html#uiLanguages">uiLanguages</a>().</p>


<h3 class="fn"><a name="c" /><a href="qlocale.html">QLocale</a> QLocale.c ()</h3><p>Returns a <a href="qlocale.html">QLocale</a> object initialized
to the "C" locale.</p>
<p><b>See also</b> <a href="qlocale.html#system">system</a>().</p>


<h3 class="fn"><a name="countriesForLanguage" />list-of-QLocale.Country QLocale.countriesForLanguage (<a href="qlocale.html#Language-enum">Language</a>&#160;<i>lang</i>)</h3><h3 class="fn"><a name="country" /><a href="qlocale.html#Country-enum">Country</a> QLocale.country (<i>self</i>)</h3><p>Returns the country of this locale.</p>
<p><b>See also</b> <a href="qlocale.html#language">language</a>(),
<a href="qlocale.html#script">script</a>(), <a href="qlocale.html#countryToString">countryToString</a>(), and <a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="countryToString" />QString QLocale.countryToString (<a href="qlocale.html#Country-enum">Country</a>&#160;<i>country</i>)</h3><p>Returns a <a href="qstring.html">QString</a> containing the name
of <i>country</i>.</p>
<p><b>See also</b> <a href="qlocale.html#languageToString">languageToString</a>(), <a href="qlocale.html#scriptToString">scriptToString</a>(), <a href="qlocale.html#country">country</a>(), and <a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="createSeparatedList" />QString QLocale.createSeparatedList (<i>self</i>, QStringList&#160;<i>list</i>)</h3><p>Returns a string that represents a join of a given <i>list</i>
of strings with a separator defined by the locale.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="currencySymbol" />QString QLocale.currencySymbol (<i>self</i>, <a href="qlocale.html#CurrencySymbolFormat-enum">CurrencySymbolFormat</a>&#160;<i>format</i>&#160;=&#160;QLocale.CurrencySymbol)</h3><p>Returns a currency symbol according to the <i>format</i>.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="dateFormat" />QString QLocale.dateFormat (<i>self</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns the date format used for the current locale.</p>
<p>If <i>format</i> is <a href="qlocale.html#FormatType-enum">LongFormat</a> the format will be a
long version. Otherwise it uses a shorter version.</p>
<p>This function was introduced in Qt 4.1.</p>
<p><b>See also</b> <a href="qdate.html#toString">QDate.toString</a>() and <a href="qdate.html#fromString">QDate.fromString</a>().</p>


<h3 class="fn"><a name="dateTimeFormat" />QString QLocale.dateTimeFormat (<i>self</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns the date time format used for the current locale.</p>
<p>If <i>format</i> is <a href="qlocale.html#FormatType-enum">ShortFormat</a> the format will be a
short version. Otherwise it uses a longer version.</p>
<p>This function was introduced in Qt 4.4.</p>
<p><b>See also</b> <a href="qdatetime.html#toString">QDateTime.toString</a>() and <a href="qdatetime.html#fromString">QDateTime.fromString</a>().</p>


<h3 class="fn"><a name="dayName" />QString QLocale.dayName (<i>self</i>, int, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns the localized name of the <i>day</i> (where 1 represents
Monday, 2 represents Tuesday and so on), in the format specified by
<i>type</i>.</p>
<p>This function was introduced in Qt 4.2.</p>
<p><b>See also</b> <a href="qlocale.html#monthName">monthName</a>()
and <a href="qlocale.html#standaloneDayName">standaloneDayName</a>().</p>


<h3 class="fn"><a name="decimalPoint" />QChar QLocale.decimalPoint (<i>self</i>)</h3><p>Returns the decimal point character of this locale.</p>
<p>This function was introduced in Qt 4.1.</p>


<h3 class="fn"><a name="exponential" />QChar QLocale.exponential (<i>self</i>)</h3><p>Returns the exponential character of this locale.</p>
<p>This function was introduced in Qt 4.1.</p>


<h3 class="fn"><a name="firstDayOfWeek" /><a href="qt.html#DayOfWeek-enum">Qt.DayOfWeek</a> QLocale.firstDayOfWeek (<i>self</i>)</h3><p>Returns the first day of the week according to the current
locale.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="groupSeparator" />QChar QLocale.groupSeparator (<i>self</i>)</h3><p>Returns the group separator character of this locale.</p>
<p>This function was introduced in Qt 4.1.</p>


<h3 class="fn"><a name="language" /><a href="qlocale.html#Language-enum">Language</a> QLocale.language (<i>self</i>)</h3><p>Returns the language of this locale.</p>
<p><b>See also</b> <a href="qlocale.html#script">script</a>(),
<a href="qlocale.html#country">country</a>(), <a href="qlocale.html#languageToString">languageToString</a>(), and
<a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="languageToString" />QString QLocale.languageToString (<a href="qlocale.html#Language-enum">Language</a>&#160;<i>language</i>)</h3><p>Returns a <a href="qstring.html">QString</a> containing the name
of <i>language</i>.</p>
<p><b>See also</b> <a href="qlocale.html#countryToString">countryToString</a>(), <a href="qlocale.html#scriptToString">scriptToString</a>(), and <a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="matchingLocales" />list-of-QLocale QLocale.matchingLocales (<a href="qlocale.html#Language-enum">Language</a>&#160;<i>language</i>, <a href="qlocale.html#Script-enum">Script</a>&#160;<i>script</i>, <a href="qlocale.html#Country-enum">Country</a>&#160;<i>country</i>)</h3><p>Returns a list of valid locale objects that match the given
<i>language</i>, <i>script</i> and <i>country</i>.</p>
<p>Getting a list of all locales: <a href="qlist.html">QList</a>&lt;<a href="qlocale.html">QLocale</a>&gt;
allLocales = QLocale.matchingLocales(<a href="qlocale.html#Language-enum">QLocale.AnyLanguage</a>, <a href="qlocale.html#Script-enum">QLocale.AnyScript</a>, <a href="qlocale.html#Country-enum">QLocale.AnyCountry</a>);</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="measurementSystem" /><a href="qlocale.html#MeasurementSystem-enum">MeasurementSystem</a> QLocale.measurementSystem (<i>self</i>)</h3><p>Returns the measurement system for the locale.</p>
<p>This function was introduced in Qt 4.4.</p>


<h3 class="fn"><a name="monthName" />QString QLocale.monthName (<i>self</i>, int, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns the localized name of <i>month</i>, in the format
specified by <i>type</i>.</p>
<p>This function was introduced in Qt 4.2.</p>
<p><b>See also</b> <a href="qlocale.html#dayName">dayName</a>() and
<a href="qlocale.html#standaloneMonthName">standaloneMonthName</a>().</p>


<h3 class="fn"><a name="name" />QString QLocale.name (<i>self</i>)</h3><p>Returns the language and country of this locale as a string of
the form "language_country", where language is a lowercase,
two-letter ISO 639 language code, and country is an uppercase, two-
or three-letter ISO 3166 country code.</p>
<p>Note that even if <a href="qlocale.html">QLocale</a> object was
constructed with an explicit script, name() will not contain it for
compatibility reasons. Use <a href="qlocale.html#bcp47Name">bcp47Name</a>() instead if you need a full
locale name.</p>
<p><b>See also</b> <a href="qlocale.html#QLocale">QLocale</a>(),
<a href="qlocale.html#language">language</a>(), <a href="qlocale.html#script">script</a>(), <a href="qlocale.html#country">country</a>(), and <a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="nativeCountryName" />QString QLocale.nativeCountryName (<i>self</i>)</h3><p>Returns a native name of the country for the locale. For example
"Espa&#195;&#177;a" for Spanish/Spain locale.</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#nativeLanguageName">nativeLanguageName</a>() and
<a href="qlocale.html#countryToString">countryToString</a>().</p>


<h3 class="fn"><a name="nativeLanguageName" />QString QLocale.nativeLanguageName (<i>self</i>)</h3><p>Returns a native name of the language for the locale. For
example "Schwiizert&#195;&#188;&#195;&#188;tsch" for
Swiss-German locale.</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#nativeCountryName">nativeCountryName</a>() and
<a href="qlocale.html#languageToString">languageToString</a>().</p>


<h3 class="fn"><a name="negativeSign" />QChar QLocale.negativeSign (<i>self</i>)</h3><p>Returns the negative sign character of this locale.</p>
<p>This function was introduced in Qt 4.1.</p>


<h3 class="fn"><a name="numberOptions" /><a href="qlocale-numberoptions.html">NumberOptions</a> QLocale.numberOptions (<i>self</i>)</h3><p>Returns the options related to number conversions for this
<a href="qlocale.html">QLocale</a> instance.</p>
<p>By default, no options are set for the standard locales.</p>
<p>This function was introduced in Qt 4.2.</p>
<p><b>See also</b> <a href="qlocale.html#setNumberOptions">setNumberOptions</a>().</p>


<h3 class="fn"><a name="percent" />QChar QLocale.percent (<i>self</i>)</h3><p>Returns the percent character of this locale.</p>
<p>This function was introduced in Qt 4.1.</p>


<h3 class="fn"><a name="pmText" />QString QLocale.pmText (<i>self</i>)</h3><p>Returns the localized name of the "PM" suffix for times
specified using the conventions of the 12-hour clock.</p>
<p>This function was introduced in Qt 4.5.</p>
<p><b>See also</b> <a href="qlocale.html#amText">amText</a>().</p>


<h3 class="fn"><a name="positiveSign" />QChar QLocale.positiveSign (<i>self</i>)</h3><p>Returns the positive sign character of this locale.</p>
<p>This function was introduced in Qt 4.5.</p>


<h3 class="fn"><a name="quoteString" />QString QLocale.quoteString (<i>self</i>, QString&#160;<i>str</i>, <a href="qlocale.html#QuotationStyle-enum">QuotationStyle</a>&#160;<i>style</i>&#160;=&#160;QLocale.StandardQuotation)</h3><p>Returns <i>str</i> quoted according to the current locale using
the given quotation <i>style</i>.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="script" /><a href="qlocale.html#Script-enum">Script</a> QLocale.script (<i>self</i>)</h3><p>Returns the script of this locale.</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#language">language</a>(),
<a href="qlocale.html#country">country</a>(), <a href="qlocale.html#languageToString">languageToString</a>(), <a href="qlocale.html#scriptToString">scriptToString</a>(), and <a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="scriptToString" />QString QLocale.scriptToString (<a href="qlocale.html#Script-enum">Script</a>&#160;<i>script</i>)</h3><p>Returns a <a href="qstring.html">QString</a> containing the name
of <i>script</i>.</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#languageToString">languageToString</a>(), <a href="qlocale.html#countryToString">countryToString</a>(), <a href="qlocale.html#script">script</a>(), and <a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="setDefault" />QLocale.setDefault (<a href="qlocale.html">QLocale</a>&#160;<i>locale</i>)</h3><p>Sets the global default locale to <i>locale</i>. These values
are used when a <a href="qlocale.html">QLocale</a> object is
constructed with no arguments. If this function is not called, the
system's locale is used.</p>
<p><b>Warning:</b> In a multithreaded application, the default
locale should be set at application startup, before any non-GUI
threads are created.</p>
<p><b>Warning:</b> This function is not <a href="threads-reentrancy.html#reentrant">reentrant</a>.</p>
<p><b>See also</b> <a href="qlocale.html#system">system</a>() and
<a href="qlocale.html#c">c</a>().</p>


<h3 class="fn"><a name="setNumberOptions" />QLocale.setNumberOptions (<i>self</i>, <a href="qlocale-numberoptions.html">NumberOptions</a>&#160;<i>options</i>)</h3><p>Sets the <i>options</i> related to number conversions for this
<a href="qlocale.html">QLocale</a> instance.</p>
<p>This function was introduced in Qt 4.2.</p>
<p><b>See also</b> <a href="qlocale.html#numberOptions">numberOptions</a>().</p>


<h3 class="fn"><a name="standaloneDayName" />QString QLocale.standaloneDayName (<i>self</i>, int, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns the localized name of the <i>day</i> (where 1 represents
Monday, 2 represents Tuesday and so on) that is used as a
standalone text, in the format specified by <i>type</i>.</p>
<p>If the locale information does not specify the standalone day
name then return value is the same as in <a href="qlocale.html#dayName">dayName</a>().</p>
<p>This function was introduced in Qt 4.5.</p>
<p><b>See also</b> <a href="qlocale.html#dayName">dayName</a>() and
<a href="qlocale.html#standaloneMonthName">standaloneMonthName</a>().</p>


<h3 class="fn"><a name="standaloneMonthName" />QString QLocale.standaloneMonthName (<i>self</i>, int, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns the localized name of <i>month</i> that is used as a
standalone text, in the format specified by <i>type</i>.</p>
<p>If the locale information doesn't specify the standalone month
name then return value is the same as in <a href="qlocale.html#monthName">monthName</a>().</p>
<p>This function was introduced in Qt 4.5.</p>
<p><b>See also</b> <a href="qlocale.html#monthName">monthName</a>()
and <a href="qlocale.html#standaloneDayName">standaloneDayName</a>().</p>


<h3 class="fn"><a name="system" /><a href="qlocale.html">QLocale</a> QLocale.system ()</h3><p>Returns a <a href="qlocale.html">QLocale</a> object initialized
to the system locale.</p>
<p>On Windows and Mac, this locale will use the decimal/grouping
characters and date/time formats specified in the system
configuration panel.</p>
<p><b>See also</b> <a href="qlocale.html#c">c</a>().</p>


<h3 class="fn"><a name="textDirection" /><a href="qt.html#LayoutDirection-enum">Qt.LayoutDirection</a> QLocale.textDirection (<i>self</i>)</h3><p>Returns the text direction of the language.</p>
<p>This function was introduced in Qt 4.7.</p>


<h3 class="fn"><a name="timeFormat" />QString QLocale.timeFormat (<i>self</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns the time format used for the current locale.</p>
<p>If <i>format</i> is <a href="qlocale.html#FormatType-enum">LongFormat</a> the format will be a
long version. Otherwise it uses a shorter version.</p>
<p>This function was introduced in Qt 4.1.</p>
<p><b>See also</b> <a href="qtime.html#toString">QTime.toString</a>() and <a href="qtime.html#fromString">QTime.fromString</a>().</p>


<h3 class="fn"><a name="toCurrencyString" />QString QLocale.toCurrencyString (<i>self</i>, int&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</h3><p>Returns a localized string representation of <i>value</i> as a
currency. If the <i>symbol</i> is provided it is used instead of
the default currency symbol.</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qlocale.html#currencySymbol">currencySymbol</a>().</p>


<h3 class="fn"><a name="toCurrencyString-2" />QString QLocale.toCurrencyString (<i>self</i>, float&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</h3><p>This is an overloaded function.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="toCurrencyString-3" />QString QLocale.toCurrencyString (<i>self</i>, int&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</h3><p>This is an overloaded function.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="toCurrencyString-4" />QString QLocale.toCurrencyString (<i>self</i>, int&#160;<i>value</i>, QString&#160;<i>symbol</i>&#160;=&#160;QString())</h3><p>This is an overloaded function.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="toDate" /><a href="qdate.html">QDate</a> QLocale.toDate (<i>self</i>, QString&#160;<i>string</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Parses the date string given in <i>string</i> and returns the
date. The format of the date string is chosen according to the
<i>format</i> parameter (see <a href="qlocale.html#dateFormat">dateFormat</a>()).</p>
<p>If the date could not be parsed, returns an invalid date.</p>
<p>This function was introduced in Qt 4.4.</p>
<p><b>See also</b> <a href="qlocale.html#dateFormat">dateFormat</a>(), <a href="qlocale.html#toTime">toTime</a>(), <a href="qlocale.html#toDateTime">toDateTime</a>(), and <a href="qdate.html#fromString">QDate.fromString</a>().</p>


<h3 class="fn"><a name="toDate-2" /><a href="qdate.html">QDate</a> QLocale.toDate (<i>self</i>, QString&#160;<i>string</i>, QString&#160;<i>format</i>)</h3><p>Parses the date string given in <i>string</i> and returns the
date. See <a href="qdate.html#fromString">QDate.fromString</a>()
for information on the expressions that can be used with this
function.</p>
<p>This function searches month names and the names of the days of
the week in the current locale.</p>
<p>If the date could not be parsed, returns an invalid date.</p>
<p>This function was introduced in Qt 4.4.</p>
<p><b>See also</b> <a href="qlocale.html#dateFormat">dateFormat</a>(), <a href="qlocale.html#toTime">toTime</a>(), <a href="qlocale.html#toDateTime">toDateTime</a>(), and <a href="qdate.html#fromString">QDate.fromString</a>().</p>


<h3 class="fn"><a name="toDateTime" /><a href="qdatetime.html">QDateTime</a> QLocale.toDateTime (<i>self</i>, QString&#160;<i>string</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Parses the date/time string given in <i>string</i> and returns
the time. The format of the date/time string is chosen according to
the <i>format</i> parameter (see <a href="qlocale.html#dateTimeFormat">dateTimeFormat</a>()).</p>
<p>If the string could not be parsed, returns an invalid <a href="qdatetime.html">QDateTime</a>.</p>
<p>This function was introduced in Qt 4.4.</p>
<p><b>See also</b> <a href="qlocale.html#dateTimeFormat">dateTimeFormat</a>(), <a href="qlocale.html#toTime">toTime</a>(), <a href="qlocale.html#toDate">toDate</a>(), and <a href="qdatetime.html#fromString">QDateTime.fromString</a>().</p>


<h3 class="fn"><a name="toDateTime-2" /><a href="qdatetime.html">QDateTime</a> QLocale.toDateTime (<i>self</i>, QString&#160;<i>string</i>, QString&#160;<i>format</i>)</h3><p>Parses the date/time string given in <i>string</i> and returns
the time. See <a href="qdatetime.html#fromString">QDateTime.fromString</a>() for
information on the expressions that can be used with this
function.</p>
<p><b>Note:</b> The month and day names used must be given in the
user's local language.</p>
<p>If the string could not be parsed, returns an invalid <a href="qdatetime.html">QDateTime</a>.</p>
<p>This function was introduced in Qt 4.4.</p>
<p><b>See also</b> <a href="qlocale.html#dateTimeFormat">dateTimeFormat</a>(), <a href="qlocale.html#toTime">toTime</a>(), <a href="qlocale.html#toDate">toDate</a>(), and <a href="qdatetime.html#fromString">QDateTime.fromString</a>().</p>


<h3 class="fn"><a name="toDouble" />(float, bool&#160;<i>ok</i>) QLocale.toDouble (<i>self</i>, QString&#160;<i>s</i>)</h3><p>Returns the double represented by the localized string <i>s</i>,
or 0.0 if the conversion failed.</p>
<p>If <i>ok</i> is not 0, reports failure by setting *ok to false
and success by setting *ok to true.</p>
<p>Unlike <a href="qstring.html#toDouble">QString.toDouble</a>(),
this function does not fall back to the "C" locale if the string
cannot be interpreted in this locale.</p>
<pre class="cpp">
 <span class="type">bool</span> ok;
 <span class="type">double</span> d;

 <span class="type"><a href="qlocale.html">QLocale</a></span> <a href="qlocale.html#c">c</a>(<span class="type"><a href="qlocale.html">QLocale</a></span><span class="operator">.</span>C);
 d <span class="operator">=</span> c<span class="operator">.</span>toDouble( <span class="string">"1234.56"</span><span class="operator">,</span> <span class="operator">&amp;</span>ok );  <span class="comment">// ok == true, d == 1234.56</span>
 d <span class="operator">=</span> c<span class="operator">.</span>toDouble( <span class="string">"1,234.56"</span><span class="operator">,</span> <span class="operator">&amp;</span>ok ); <span class="comment">// ok == true, d == 1234.56</span>
 d <span class="operator">=</span> c<span class="operator">.</span>toDouble( <span class="string">"1234,56"</span><span class="operator">,</span> <span class="operator">&amp;</span>ok );  <span class="comment">// ok == false</span>

 <span class="type"><a href="qlocale.html">QLocale</a></span> german(<span class="type"><a href="qlocale.html">QLocale</a></span><span class="operator">.</span>German);
 d <span class="operator">=</span> german<span class="operator">.</span>toDouble( <span class="string">"1234,56"</span><span class="operator">,</span> <span class="operator">&amp;</span>ok );  <span class="comment">// ok == true, d == 1234.56</span>
 d <span class="operator">=</span> german<span class="operator">.</span>toDouble( <span class="string">"1.234,56"</span><span class="operator">,</span> <span class="operator">&amp;</span>ok ); <span class="comment">// ok == true, d == 1234.56</span>
 d <span class="operator">=</span> german<span class="operator">.</span>toDouble( <span class="string">"1234.56"</span><span class="operator">,</span> <span class="operator">&amp;</span>ok );  <span class="comment">// ok == false</span>

 d <span class="operator">=</span> german<span class="operator">.</span>toDouble( <span class="string">"1.234"</span><span class="operator">,</span> <span class="operator">&amp;</span>ok );    <span class="comment">// ok == true, d == 1234.0</span>
</pre>
<p>Notice that the last conversion returns 1234.0, because '.' is
the thousands group separator in the German locale.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toFloat">toFloat</a>(),
<a href="qlocale.html#toInt">toInt</a>(), and <a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="toFloat" />(float, bool&#160;<i>ok</i>) QLocale.toFloat (<i>self</i>, QString&#160;<i>s</i>)</h3><p>Returns the float represented by the localized string <i>s</i>,
or 0.0 if the conversion failed.</p>
<p>If <i>ok</i> is not 0, reports failure by setting *ok to false
and success by setting *ok to true.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toDouble">toDouble</a>(),
<a href="qlocale.html#toInt">toInt</a>(), and <a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="toInt" />(int, bool&#160;<i>ok</i>) QLocale.toInt (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</h3><p>Returns the int represented by the localized string <i>s</i>,
using base <i>base</i>. If <i>base</i> is 0 the base is determined
automatically using the following rules: If the string begins with
"0x", it is assumed to be hexadecimal; if it begins with "0", it is
assumed to be octal; otherwise it is assumed to be decimal.</p>
<p>If the conversion fails the function returns 0.</p>
<p>If <i>ok</i> is not 0, failure is reported by setting *ok to
false, and success by setting *ok to true.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toUInt">toUInt</a>() and
<a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="toLongLong" />(int, bool&#160;<i>ok</i>) QLocale.toLongLong (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</h3><p>Returns the long long int represented by the localized string
<i>s</i>, using base <i>base</i>. If <i>base</i> is 0 the base is
determined automatically using the following rules: If the string
begins with "0x", it is assumed to be hexadecimal; if it begins
with "0", it is assumed to be octal; otherwise it is assumed to be
decimal.</p>
<p>If the conversion fails the function returns 0.</p>
<p>If <i>ok</i> is not 0, failure is reported by setting *ok to
false, and success by setting *ok to true.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toInt">toInt</a>(),
<a href="qlocale.html#toULongLong">toULongLong</a>(), <a href="qlocale.html#toDouble">toDouble</a>(), and <a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="toLower" />QString QLocale.toLower (<i>self</i>, QString&#160;<i>str</i>)</h3><p>Returns a lowercase copy of <i>str</i>.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="toShort" />(int, bool&#160;<i>ok</i>) QLocale.toShort (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</h3><p>Returns the short int represented by the localized string
<i>s</i>, using base <i>base</i>. If <i>base</i> is 0 the base is
determined automatically using the following rules: If the string
begins with "0x", it is assumed to be hexadecimal; if it begins
with "0", it is assumed to be octal; otherwise it is assumed to be
decimal.</p>
<p>If the conversion fails the function returns 0.</p>
<p>If <i>ok</i> is not 0, failure is reported by setting *ok to
false, and success by setting *ok to true.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toUShort">toUShort</a>()
and <a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="toString" />QString QLocale.toString (<i>self</i>, int&#160;<i>i</i>)</h3><p>Returns a localized string representation of <i>i</i>.</p>
<p><b>See also</b> <a href="qlocale.html#toLongLong">toLongLong</a>().</p>


<h3 class="fn"><a name="toString-2" />QString QLocale.toString (<i>self</i>, float&#160;<i>i</i>, str&#160;<i>format</i>&#160;=&#160;'g', int&#160;<i>precision</i>&#160;=&#160;6)</h3><p>Returns a localized string representation of the given
<i>date</i> in the specified <i>format</i>. If <i>format</i> is an
empty string, an empty string is returned.</p>


<h3 class="fn"><a name="toString-3" />QString QLocale.toString (<i>self</i>, int&#160;<i>i</i>)</h3><p>Returns a localized string representation of the given
<i>date</i> according to the specified <i>format</i>.</p>


<h3 class="fn"><a name="toString-4" />QString QLocale.toString (<i>self</i>, int&#160;<i>i</i>)</h3><p>Returns a localized string representation of the given
<i>time</i> according to the specified <i>format</i>. If
<i>format</i> is an empty string, an empty string is returned.</p>


<h3 class="fn"><a name="toString-5" />QString QLocale.toString (<i>self</i>, <a href="qdatetime.html">QDateTime</a>&#160;<i>dateTime</i>, QString&#160;<i>format</i>)</h3><p>Returns a localized string representation of the given
<i>time</i> in the specified <i>format</i>.</p>


<h3 class="fn"><a name="toString-6" />QString QLocale.toString (<i>self</i>, <a href="qdatetime.html">QDateTime</a>&#160;<i>dateTime</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Returns a localized string representation of the given
<i>dateTime</i> according to the specified <i>format</i>.</p>
<p>This function was introduced in Qt 4.4.</p>


<h3 class="fn"><a name="toString-7" />QString QLocale.toString (<i>self</i>, <a href="qdate.html">QDate</a>&#160;<i>date</i>, QString&#160;<i>formatStr</i>)</h3><p>Returns a localized string representation of the given
<i>dateTime</i> according to the specified <i>format</i>. If
<i>format</i> is an empty string, an empty string is returned.</p>
<p>This function was introduced in Qt 4.4.</p>


<h3 class="fn"><a name="toString-8" />QString QLocale.toString (<i>self</i>, <a href="qdate.html">QDate</a>&#160;<i>date</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>This is an overloaded function.</p>
<p><b>See also</b> <a href="qlocale.html#toULongLong">toULongLong</a>().</p>


<h3 class="fn"><a name="toString-9" />QString QLocale.toString (<i>self</i>, <a href="qtime.html">QTime</a>&#160;<i>time</i>, QString&#160;<i>formatStr</i>)</h3><p>This is an overloaded function.</p>
<p><i>f</i> and <i>prec</i> have the same meaning as in
QString.number(double, char, int).</p>
<p><b>See also</b> <a href="qlocale.html#toDouble">toDouble</a>().</p>


<h3 class="fn"><a name="toString-10" />QString QLocale.toString (<i>self</i>, <a href="qtime.html">QTime</a>&#160;<i>time</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>This is an overloaded function.</p>
<p><b>See also</b> <a href="qlocale.html#toShort">toShort</a>().</p>


<h3 class="fn"><a name="toTime" /><a href="qtime.html">QTime</a> QLocale.toTime (<i>self</i>, QString&#160;<i>string</i>, <a href="qlocale.html#FormatType-enum">FormatType</a>&#160;<i>format</i>&#160;=&#160;QLocale.LongFormat)</h3><p>Parses the time string given in <i>string</i> and returns the
time. The format of the time string is chosen according to the
<i>format</i> parameter (see <a href="qlocale.html#timeFormat">timeFormat</a>()).</p>
<p>If the time could not be parsed, returns an invalid time.</p>
<p>This function was introduced in Qt 4.4.</p>
<p><b>See also</b> <a href="qlocale.html#timeFormat">timeFormat</a>(), <a href="qlocale.html#toDate">toDate</a>(), <a href="qlocale.html#toDateTime">toDateTime</a>(), and <a href="qtime.html#fromString">QTime.fromString</a>().</p>


<h3 class="fn"><a name="toTime-2" /><a href="qtime.html">QTime</a> QLocale.toTime (<i>self</i>, QString&#160;<i>string</i>, QString&#160;<i>format</i>)</h3><p>Parses the time string given in <i>string</i> and returns the
time. See <a href="qtime.html#fromString">QTime.fromString</a>()
for information on what is a valid format string.</p>
<p>If the time could not be parsed, returns an invalid time.</p>
<p>This function was introduced in Qt 4.4.</p>
<p><b>See also</b> <a href="qlocale.html#timeFormat">timeFormat</a>(), <a href="qlocale.html#toDate">toDate</a>(), <a href="qlocale.html#toDateTime">toDateTime</a>(), and <a href="qtime.html#fromString">QTime.fromString</a>().</p>


<h3 class="fn"><a name="toUInt" />(int, bool&#160;<i>ok</i>) QLocale.toUInt (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</h3><p>Returns the unsigned int represented by the localized string
<i>s</i>, using base <i>base</i>. If <i>base</i> is 0 the base is
determined automatically using the following rules: If the string
begins with "0x", it is assumed to be hexadecimal; if it begins
with "0", it is assumed to be octal; otherwise it is assumed to be
decimal.</p>
<p>If the conversion fails the function returns 0.</p>
<p>If <i>ok</i> is not 0, failure is reported by setting *ok to
false, and success by setting *ok to true.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toInt">toInt</a>() and
<a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="toULongLong" />(int, bool&#160;<i>ok</i>) QLocale.toULongLong (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</h3><p>Returns the unsigned long long int represented by the localized
string <i>s</i>, using base <i>base</i>. If <i>base</i> is 0 the
base is determined automatically using the following rules: If the
string begins with "0x", it is assumed to be hexadecimal; if it
begins with "0", it is assumed to be octal; otherwise it is assumed
to be decimal.</p>
<p>If the conversion fails the function returns 0.</p>
<p>If <i>ok</i> is not 0, failure is reported by setting *ok to
false, and success by setting *ok to true.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toLongLong">toLongLong</a>(), <a href="qlocale.html#toInt">toInt</a>(), <a href="qlocale.html#toDouble">toDouble</a>(), and <a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="toUpper" />QString QLocale.toUpper (<i>self</i>, QString&#160;<i>str</i>)</h3><p>Returns an uppercase copy of <i>str</i>.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="toUShort" />(int, bool&#160;<i>ok</i>) QLocale.toUShort (<i>self</i>, QString&#160;<i>s</i>, int&#160;<i>base</i>&#160;=&#160;0)</h3><p>Returns the unsigned short int represented by the localized
string <i>s</i>, using base <i>base</i>. If <i>base</i> is 0 the
base is determined automatically using the following rules: If the
string begins with "0x", it is assumed to be hexadecimal; if it
begins with "0", it is assumed to be octal; otherwise it is assumed
to be decimal.</p>
<p>If the conversion fails the function returns 0.</p>
<p>If <i>ok</i> is not 0, failure is reported by setting *ok to
false, and success by setting *ok to true.</p>
<p>This function ignores leading and trailing whitespace.</p>
<p><b>See also</b> <a href="qlocale.html#toShort">toShort</a>() and
<a href="qlocale.html#toString">toString</a>().</p>


<h3 class="fn"><a name="uiLanguages" />QStringList QLocale.uiLanguages (<i>self</i>)</h3><p>Returns an ordered list of locale names for translation purposes
in preference order.</p>
<p>The return value represents locale names that the user expects
to see the UI translation in.</p>
<p>Most like you do not need to use this function directly, but
just pass the <a href="qlocale.html">QLocale</a> object to the
<a href="qtranslator.html#load">QTranslator.load</a>()
function.</p>
<p>The first item in the list is the most preferred one.</p>
<p>This function was introduced in Qt 4.8.</p>
<p><b>See also</b> <a href="qtranslator.html">QTranslator</a> and
<a href="qlocale.html#bcp47Name">bcp47Name</a>().</p>


<h3 class="fn"><a name="weekdays" />list-of-Qt.DayOfWeek QLocale.weekdays (<i>self</i>)</h3><p>Returns a list of days that are considered weekdays according to
the current locale.</p>
<p>This function was introduced in Qt 4.8.</p>


<h3 class="fn"><a name="zeroDigit" />QChar QLocale.zeroDigit (<i>self</i>)</h3><p>Returns the zero digit character of this locale.</p>
<p>This function was introduced in Qt 4.1.</p>


<h3 class="fn"><a name="__eq__" />bool QLocale.__eq__ (<i>self</i>, <a href="qlocale.html">QLocale</a>&#160;<i>other</i>)</h3><h3 class="fn"><a name="__ne__" />bool QLocale.__ne__ (<i>self</i>, <a href="qlocale.html">QLocale</a>&#160;<i>other</i>)</h3><address><hr /><div align="center"><table border="0" cellspacing="0" width="100%"><tr class="address"><td align="left" width="25%">PyQt&#160;4.10.3 for X11</td><td align="center" width="50%">Copyright &#169; <a href="http://www.riverbankcomputing.com">Riverbank&#160;Computing&#160;Ltd</a> and <a href="http://www.qtsoftware.com">Nokia</a> 2012</td><td align="right" width="25%">Qt&#160;4.8.5</td></tr></table></div></address></body></html>