diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-04 13:52:27 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2011-03-04 13:55:15 (GMT) |
commit | 2a21c69a038c6aeee23b249ac70572a92f27ec1a (patch) | |
tree | a6eea2f971b162b8b1756c9e8f7c4a5bee2068d9 /src/corelib/tools/qlocale.qdoc | |
parent | dc2280dbcd27d3ff9cbcb230943cc1036e8a2761 (diff) | |
download | Qt-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.qdoc | 27 |
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() */ /*! |