Public Member Functions | |
| void | fromString (const QString &str) |
| bool | isValid () const |
| bool | operator!= (const LocalizationInfo &o2) const |
| bool | operator== (const LocalizationInfo &o2) const |
| QString | toString () const |
Static Public Member Functions | |
| static LocalizationInfo | findBestMatch (const QList< LocalizationInfo > &candidates, const QString &localeName) |
Public Attributes | |
| QString | countryCodeName |
| The same as code used for country flags in IP2C. More... | |
| QString | localeName |
| Compliant with language_country standard. See QLocale::name() More... | |
| QString | niceName |
| Name that will be displayed to user. More... | |
Static Public Attributes | |
| static const LocalizationInfo | PROGRAM_NATIVE |
| static const LocalizationInfo | SYSTEM_FOLLOW |
Definition at line 30 of file localizationinfo.h.
| QString LocalizationInfo::countryCodeName |
The same as code used for country flags in IP2C.
Definition at line 48 of file localizationinfo.h.
| QString LocalizationInfo::localeName |
Compliant with language_country standard. See QLocale::name()
Definition at line 53 of file localizationinfo.h.
| QString LocalizationInfo::niceName |
Name that will be displayed to user.
Definition at line 57 of file localizationinfo.h.
|
static |
The default localization - English - is hardcoded into the program and we don't need to have it in any .def file.
Definition at line 42 of file localizationinfo.h.
|
static |
Not a real localization, but a special value that tells the program to try to always follow the current language of the OS.
Definition at line 37 of file localizationinfo.h.