QLocale

Undocumented in source but is binding to C++. You might be able to learn more by searching the web for its name.
extern (C++) extern (C++)
@Q_MOVABLE_TYPE
@QMetaType.Type.QLocale
struct QLocale {}

Constructors

this
this()
Undocumented in source.
this
this(const(QString) name)
Undocumented in source.
this
this(Language language, Country country)
Undocumented in source.
this
this(Language language, Script script, Country country)
Undocumented in source.
this
this(const(QLocale) other)
Undocumented in source.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Aliases

DataSizeFormats
alias DataSizeFormats = QFlags!(DataSizeFormat)
Undocumented in source.
NumberOptions
alias NumberOptions = QFlags!(NumberOption)
Undocumented in source.

Enums

Country
enum Country
Undocumented in source.
CurrencySymbolFormat
enum CurrencySymbolFormat
Undocumented in source.
DataSizeFormat
enum DataSizeFormat
Undocumented in source.
FloatingPointPrecisionOption
enum FloatingPointPrecisionOption
Undocumented in source.
FormatType
enum FormatType
Undocumented in source.
Language
enum Language
Undocumented in source.
MeasurementSystem
enum MeasurementSystem
Undocumented in source.
NumberOption
enum NumberOption
Undocumented in source.
QuotationStyle
enum QuotationStyle
Undocumented in source.
Script
enum Script
Undocumented in source.

Functions

amText
QString amText()
Undocumented in source.
bcp47Name
QString bcp47Name()
Undocumented in source.
collation
QLocale collation()
Undocumented in source.
country
Country country()
Undocumented in source.
createSeparatedList
QString createSeparatedList(const(QStringList) strl)
Undocumented in source.
currencySymbol
QString currencySymbol(CurrencySymbolFormat )
Undocumented in source.
dateFormat
QString dateFormat(FormatType format)
Undocumented in source.
dateTimeFormat
QString dateTimeFormat(FormatType format)
Undocumented in source.
dayName
QString dayName(int , FormatType format)
Undocumented in source.
decimalPoint
QChar decimalPoint()
Undocumented in source.
exponential
QChar exponential()
Undocumented in source.
firstDayOfWeek
qt.core.namespace.DayOfWeek firstDayOfWeek()
Undocumented in source.
formattedDataSize
QString formattedDataSize(qint64 bytes, int precision, DataSizeFormats format)
Undocumented in source.
formattedDataSize
QString formattedDataSize(qint64 bytes, int precision, DataSizeFormats format)
Undocumented in source.
groupSeparator
QChar groupSeparator()
Undocumented in source.
language
Language language()
Undocumented in source.
measurementSystem
MeasurementSystem measurementSystem()
Undocumented in source.
monthName
QString monthName(int , FormatType format)
Undocumented in source.
name
QString name()
Undocumented in source.
nativeCountryName
QString nativeCountryName()
Undocumented in source.
nativeLanguageName
QString nativeLanguageName()
Undocumented in source.
negativeSign
QChar negativeSign()
Undocumented in source.
numberOptions
NumberOptions numberOptions()
Undocumented in source.
percent
QChar percent()
Undocumented in source.
pmText
QString pmText()
Undocumented in source.
positiveSign
QChar positiveSign()
Undocumented in source.
quoteString
QString quoteString(const(QString) str, QuotationStyle style)
Undocumented in source.
quoteString
QString quoteString(const(QStringRef) str, QuotationStyle style)
Undocumented in source.
rawConstructor
typeof(this) rawConstructor()
Undocumented in source.
script
Script script()
Undocumented in source.
setNumberOptions
void setNumberOptions(NumberOptions options)
Undocumented in source.
standaloneDayName
QString standaloneDayName(int , FormatType format)
Undocumented in source.
standaloneMonthName
QString standaloneMonthName(int , FormatType format)
Undocumented in source.
textDirection
qt.core.namespace.LayoutDirection textDirection()
Undocumented in source.
timeFormat
QString timeFormat(FormatType format)
Undocumented in source.
toCurrencyString
QString toCurrencyString(qlonglong , const(QString) symbol)
Undocumented in source.
toCurrencyString
QString toCurrencyString(qulonglong , const(QString) symbol)
Undocumented in source.
toCurrencyString
QString toCurrencyString(short i, const(QString) symbol)
Undocumented in source. Be warned that the author may not have intended to support it.
toCurrencyString
QString toCurrencyString(ushort i, const(QString) symbol)
Undocumented in source. Be warned that the author may not have intended to support it.
toCurrencyString
QString toCurrencyString(int i, const(QString) symbol)
Undocumented in source. Be warned that the author may not have intended to support it.
toCurrencyString
QString toCurrencyString(uint i, const(QString) symbol)
Undocumented in source. Be warned that the author may not have intended to support it.
toCurrencyString
QString toCurrencyString(double , const(QString) symbol)
Undocumented in source.
toCurrencyString
QString toCurrencyString(double , const(QString) symbol, int precision)
Undocumented in source.
toCurrencyString
QString toCurrencyString(float i, const(QString) symbol)
Undocumented in source. Be warned that the author may not have intended to support it.
toCurrencyString
QString toCurrencyString(float i, const(QString) symbol, int precision)
Undocumented in source. Be warned that the author may not have intended to support it.
toDate
QDate toDate(const(QString) string, FormatType )
Undocumented in source.
toDate
QDate toDate(const(QString) string, const(QString) format)
Undocumented in source.
toDate
QDate toDate(const(QString) string, FormatType format, QCalendar cal)
Undocumented in source.
toDate
QDate toDate(const(QString) string, const(QString) format, QCalendar cal)
Undocumented in source.
toDateTime
QDateTime toDateTime(const(QString) string, FormatType format)
Undocumented in source.
toDateTime
QDateTime toDateTime(const(QString) string, const(QString) format)
Undocumented in source.
toDateTime
QDateTime toDateTime(const(QString) string, FormatType format, QCalendar cal)
Undocumented in source.
toDateTime
QDateTime toDateTime(const(QString) string, const(QString) format, QCalendar cal)
Undocumented in source.
toDouble
double toDouble(const(QString) s, bool* ok)
Undocumented in source.
toDouble
double toDouble(const(QStringRef) s, bool* ok)
Undocumented in source.
toDouble
double toDouble(QStringView s, bool* ok)
Undocumented in source.
toFloat
float toFloat(const(QString) s, bool* ok)
Undocumented in source.
toFloat
float toFloat(const(QStringRef) s, bool* ok)
Undocumented in source.
toFloat
float toFloat(QStringView s, bool* ok)
Undocumented in source.
toInt
int toInt(const(QString) s, bool* ok)
Undocumented in source.
toInt
int toInt(const(QStringRef) s, bool* ok)
Undocumented in source.
toInt
int toInt(QStringView s, bool* ok)
Undocumented in source.
toLong
cpp_long toLong(const(QString) s, bool* ok)
Undocumented in source.
toLong
cpp_long toLong(const(QStringRef) s, bool* ok)
Undocumented in source.
toLong
cpp_long toLong(QStringView s, bool* ok)
Undocumented in source.
toLongLong
qlonglong toLongLong(const(QString) s, bool* ok)
Undocumented in source.
toLongLong
qlonglong toLongLong(const(QStringRef) s, bool* ok)
Undocumented in source.
toLongLong
qlonglong toLongLong(QStringView s, bool* ok)
Undocumented in source.
toLower
QString toLower(const(QString) str)
Undocumented in source.
toShort
short toShort(const(QString) s, bool* ok)
Undocumented in source.
toShort
short toShort(const(QStringRef) s, bool* ok)
Undocumented in source.
toShort
short toShort(QStringView s, bool* ok)
Undocumented in source.
toString
QString toString(qlonglong i)
Undocumented in source.
toString
QString toString(qulonglong i)
Undocumented in source.
toString
QString toString(cpp_long i)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString(cpp_ulong i)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString(short i)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString(ushort i)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString(int i)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString(uint i)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString(double i, char f, int prec)
Undocumented in source.
toString
QString toString(float i, char f, int prec)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
QString toString(const(QDate) date, const(QString) formatStr)
Undocumented in source.
toString
QString toString(const(QTime) time, const(QString) formatStr)
Undocumented in source.
toString
QString toString(const(QDateTime) dateTime, const(QString) format)
Undocumented in source.
toString
QString toString(const(QDate) date, QStringView formatStr)
Undocumented in source.
toString
QString toString(const(QTime) time, QStringView formatStr)
Undocumented in source.
toString
QString toString(const(QDateTime) dateTime, QStringView format)
Undocumented in source.
toString
QString toString(const(QDate) date, FormatType format)
Undocumented in source.
toString
QString toString(const(QTime) time, FormatType format)
Undocumented in source.
toString
QString toString(const(QDateTime) dateTime, FormatType format)
Undocumented in source.
toString
QString toString(const(QDate) date, QStringView formatStr, QCalendar cal)
Undocumented in source.
toString
QString toString(const(QDate) date, FormatType format, QCalendar cal)
Undocumented in source.
toString
QString toString(const(QDateTime) dateTime, FormatType format, QCalendar cal)
Undocumented in source.
toString
QString toString(const(QDateTime) dateTime, QStringView formatStr, QCalendar cal)
Undocumented in source.
toTime
QTime toTime(const(QString) string, FormatType )
Undocumented in source.
toTime
QTime toTime(const(QString) string, const(QString) format)
Undocumented in source.
toTime
QTime toTime(const(QString) string, FormatType format, QCalendar cal)
Undocumented in source.
toTime
QTime toTime(const(QString) string, const(QString) format, QCalendar cal)
Undocumented in source.
toUInt
uint toUInt(const(QString) s, bool* ok)
Undocumented in source.
toUInt
uint toUInt(const(QStringRef) s, bool* ok)
Undocumented in source.
toUInt
uint toUInt(QStringView s, bool* ok)
Undocumented in source.
toULong
cpp_ulong toULong(const(QString) s, bool* ok)
Undocumented in source.
toULong
cpp_ulong toULong(const(QStringRef) s, bool* ok)
Undocumented in source.
toULong
cpp_ulong toULong(QStringView s, bool* ok)
Undocumented in source.
toULongLong
qulonglong toULongLong(const(QString) s, bool* ok)
Undocumented in source.
toULongLong
qulonglong toULongLong(const(QStringRef) s, bool* ok)
Undocumented in source.
toULongLong
qulonglong toULongLong(QStringView s, bool* ok)
Undocumented in source.
toUShort
ushort toUShort(const(QString) s, bool* ok)
Undocumented in source.
toUShort
ushort toUShort(const(QStringRef) s, bool* ok)
Undocumented in source.
toUShort
ushort toUShort(QStringView s, bool* ok)
Undocumented in source.
toUpper
QString toUpper(const(QString) str)
Undocumented in source.
uiLanguages
QStringList uiLanguages()
Undocumented in source.
weekdays
QList!(qt.core.namespace.DayOfWeek) weekdays()
Undocumented in source.
zeroDigit
QChar zeroDigit()
Undocumented in source.

Static functions

c
QLocale c()
Undocumented in source. Be warned that the author may not have intended to support it.
countriesForLanguage
QList!(Country) countriesForLanguage(Language lang)
Undocumented in source.
countryToString
QString countryToString(Country country)
Undocumented in source.
create
typeof(this) create()
Undocumented in source. Be warned that the author may not have intended to support it.
languageToString
QString languageToString(Language language)
Undocumented in source.
matchingLocales
QList!(QLocale) matchingLocales(QLocale.Language language, QLocale.Script script, QLocale.Country country)
Undocumented in source.
scriptToString
QString scriptToString(Script script)
Undocumented in source.
setDefault
void setDefault(const(QLocale) locale)
Undocumented in source.
system
QLocale system()
Undocumented in source.

Meta