summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qlocale.qdoc
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-03-04 13:52:27 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2011-03-04 13:55:15 (GMT)
commit2a21c69a038c6aeee23b249ac70572a92f27ec1a (patch)
treea6eea2f971b162b8b1756c9e8f7c4a5bee2068d9 /src/corelib/tools/qlocale.qdoc
parentdc2280dbcd27d3ff9cbcb230943cc1036e8a2761 (diff)
downloadQt-2a21c69a038c6aeee23b249ac70572a92f27ec1a.zip
Qt-2a21c69a038c6aeee23b249ac70572a92f27ec1a.tar.gz
Qt-2a21c69a038c6aeee23b249ac70572a92f27ec1a.tar.bz2
Added convenience script enum values to QLocale.
Apparently SimplifiedHan and TraditionalHan are not widely used terms, hence adding convenience names SimplifiedChineseScript and TraditionalChineseScript. Also added the missing documentation for the Script enum. Reviewed-by: trustme
Diffstat (limited to 'src/corelib/tools/qlocale.qdoc')
-rw-r--r--src/corelib/tools/qlocale.qdoc27
1 files changed, 25 insertions, 2 deletions
diff --git a/src/corelib/tools/qlocale.qdoc b/src/corelib/tools/qlocale.qdoc
index 4f5e0e5..253edb3 100644
--- a/src/corelib/tools/qlocale.qdoc
+++ b/src/corelib/tools/qlocale.qdoc
@@ -118,6 +118,7 @@
This enumerated type is used to specify a language.
+ \value AnyLanguage
\value C The "C" locale is identical in behavior to English/UnitedStates.
\value Abkhazian
\value Afan
@@ -340,7 +341,7 @@
\value Shambala
\omitvalue LastLanguage
- \sa language()
+ \sa language(), languageToString()
*/
/*!
@@ -598,7 +599,29 @@
\value LatinAmericaAndTheCaribbean
\omitvalue LastCountry
- \sa country()
+ \sa country(), countryToString()
+*/
+
+/*!
+ \enum QLocale::Script
+
+ This enumerated type is used to specify a script.
+
+ \value AnyScript
+ \value ArabicScript
+ \value CyrillicScript
+ \value DeseretScript
+ \value GurmukhiScript
+ \value SimplifiedHanScript same as SimplifiedChineseScript
+ \value SimplifiedChineseScript same as SimplifiedHanScript
+ \value TraditionalHanScript same as TraditionalChineseScript
+ \value TraditionalChineseScript same as TraditionalHanScript
+ \value LatinScript
+ \value MongolianScript
+ \value TifinaghScript
+ \omitvalue LastScript
+
+ \sa script(), scriptToString(), languageToString()
*/
/*!