From 5f6436e474624997b284547e4ee117fb49d29e79 Mon Sep 17 00:00:00 2001 From: Anders Gunnarsson Date: Tue, 12 Nov 2013 14:58:44 +0100 Subject: Updated documentation for QML Locale.measurementSystem Added documentation for ImperialUSSystem and ImperialUKSystem. Change-Id: I1a628121dce4a7566bd8769843c487e28f3dd6fe Reviewed-by: Jerome Pasion --- src/qml/qml/qqmllocale.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/qml/qml/qqmllocale.cpp b/src/qml/qml/qqmllocale.cpp index 36e0da5b60..14b5471317 100644 --- a/src/qml/qml/qqmllocale.cpp +++ b/src/qml/qml/qqmllocale.cpp @@ -1118,9 +1118,12 @@ QV4::ReturnedValue QQmlLocale::method_localeCompare(QV4::CallContext *ctx) \list \li Locale.MetricSystem This value indicates metric units, such as meters, centimeters and millimeters. - \li Locale.ImperialSystem 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. + \li Locale.ImperialUSSystem This value indicates imperial units, such as + inches and miles as they are used in the United States. + \li Locale.ImperialUKSystem This value indicates imperial units, such as + inches and miles as they are used in the United Kingdom. + \li Locale.ImperialSystem Provided for compatibility. The same as + Locale.ImperialUSSystem. \endlist */ -- cgit v1.2.3