QtBase
v6.3.1
|
#include <qlocale_p.h>
Public Member Functions | |
constexpr | QLocalePrivate (const QLocaleData *data, const uint index, QLocale::NumberOptions numberOptions=QLocale::DefaultNumberOptions, int refs=0) |
quint16 | languageId () const |
quint16 | territoryId () const |
QByteArray | bcp47Name (char separator='-') const |
QLatin1String | languageCode (QLocale::LanguageCodeTypes codeTypes=QLocale::AnyLanguageCode) const |
QLatin1String | scriptCode () const |
QLatin1String | territoryCode () const |
QLocale::MeasurementSystem | measurementSystem () const |
Static Public Member Functions | |
static const QLocalePrivate * | get (const QLocale &l) |
static QLatin1String | languageToCode (QLocale::Language language, QLocale::LanguageCodeTypes codeTypes=QLocale::AnyLanguageCode) |
static QLatin1String | scriptToCode (QLocale::Script script) |
static QLatin1String | territoryToCode (QLocale::Territory territory) |
static QLocale::Language | codeToLanguage (QStringView code, QLocale::LanguageCodeTypes codeTypes=QLocale::AnyLanguageCode) noexcept |
static QLocale::Script | codeToScript (QStringView code) noexcept |
static QLocale::Territory | codeToTerritory (QStringView code) noexcept |
Public Attributes | |
const QLocaleData *const | m_data |
QBasicAtomicInt | ref |
const uint | m_index |
QLocale::NumberOptions | m_numberOptions |
Static Public Attributes | |
static QBasicAtomicInt | s_generation = Q_BASIC_ATOMIC_INITIALIZER(0) |
Definition at line 407 of file qlocale_p.h.
|
inlineconstexpr |
Definition at line 410 of file qlocale_p.h.
QByteArray QLocalePrivate::bcp47Name | ( | char | separator = '-' | ) | const |
Definition at line 467 of file qlocale.cpp.
|
staticnoexcept |
Definition at line 106 of file qlocale.cpp.
|
staticnoexcept |
|
staticnoexcept |
|
inlinestatic |
|
inline |
Definition at line 422 of file qlocale_p.h.
|
inline |
|
static |
Definition at line 217 of file qlocale.cpp.
QLocale::MeasurementSystem QLocalePrivate::measurementSystem | ( | ) | const |
Definition at line 3130 of file qlocale.cpp.
|
inline |
|
static |
|
inline |
Definition at line 428 of file qlocale_p.h.
|
inline |
|
static |
const QLocaleData* const QLocalePrivate::m_data |
Definition at line 446 of file qlocale_p.h.
Definition at line 448 of file qlocale_p.h.
QLocale::NumberOptions QLocalePrivate::m_numberOptions |
Definition at line 449 of file qlocale_p.h.
QBasicAtomicInt QLocalePrivate::ref |
Definition at line 447 of file qlocale_p.h.
|
static |
Definition at line 451 of file qlocale_p.h.