331 return lc_language.
amText();
333 return lc_language.
pmText();
The QVariant class acts like a union for the most common Qt data types.
QChar positiveSign() const
Returns the positive sign character of this locale.
Language language() const
Returns the language of this locale.
QString monthName(int, FormatType format=LongFormat) const
Returns the localized name of month, in the format specified by type.
QString toString() const
Returns the variant as a QString if the variant has type() String , Bool , ByteArray ...
QDateTime toDateTime() const
Returns the variant as a QDateTime if the variant has type() DateTime , Date , or String ; otherwise ...
QChar zeroDigit() const
Returns the zero digit character of this locale.
QString toString(qlonglong i) const
Returns a localized string representation of i.
int toInt(bool *ok=0) const
Returns the variant as an int if the variant has type() Int , Bool , ByteArray , Char ...
QChar decimalPoint() const
Returns the decimal point character of this locale.
QChar groupSeparator() const
Returns the group separator character of this locale.
QString pmText() const
Returns the localized name of the "PM" suffix for times specified using the conventions of the 12-hou...
The QReadLocker class is a convenience class that simplifies locking and unlocking read-write locks f...
QChar negativeSign() const
Returns the negative sign character of this locale.
QString amText() const
Returns the localized name of the "AM" suffix for times specified using the conventions of the 12-hou...
QDate toDate() const
Returns the variant as a QDate if the variant has type() Date , DateTime , or String ; otherwise retu...
QVariant timeFormat(QLocale::FormatType)
QString standaloneMonthName(int, FormatType format=LongFormat) const
Returns the localized name of month that is used as a standalone text, in the format specified by typ...
QVariant dateTimeFormat(QLocale::FormatType)
QString dayName(int, FormatType format=LongFormat) const
Returns the localized name of the day (where 1 represents Monday, 2 represents Tuesday and so on)...
QTime toTime() const
Returns the variant as a QTime if the variant has type() Time , DateTime , or String ; otherwise retu...
Country country() const
Returns the country of this locale.
QString dateFormat(FormatType format=LongFormat) const
Returns the date format used for the current locale.