Home · Modules · Classes · Namespaces · Functions

QxtLocale Class Reference
[QxtCore module]

The QxtLocale class has some additional data and functionality, missing in QLocale. More...

    #include <QxtLocale>

Public Types

Static Public Members


Detailed Description

The QxtLocale class has some additional data and functionality, missing in QLocale.

QxtLocale defines currencies and continents. Methods are available to gather various mappings and information.


Member Type Documentation

enum QxtLocale::Continent

This enumerated type is used to specify a language.

enum QxtLocale::Currency

This enumerated type is used to specify a currency.


Member Function Documentation

Continent QxtLocale::continentForCountry ( QLocale::Country country )   [static]

This static method returns the continent for the given country.

QString QxtLocale::continentToName ( Continent continent )   [static]

This static method returns the translated name for the given continent.

QString QxtLocale::countryToISO2Letter ( QLocale::Country country )   [static]

This static method returns the 2-letter ISO 3166 code for the given country.

QString QxtLocale::countryToISO3Letter ( QLocale::Country country )   [static]

This static method returns the 3-letter ISO 3166 code for the given country.

Currency QxtLocale::currencyForCountry ( QLocale::Country country )   [static]

This static method returns the currency for the given country.

QString QxtLocale::currencyToCode ( Currency currency )   [static]

This static method returns the 3-letter code for the given currency.

QString QxtLocale::currencyToName ( Currency currency )   [static]

This static method returns the translated name for given currency.

QString QxtLocale::currencyToSymbol ( Currency currency )   [static]

This static method returns the symbol for the given currency.


Copyright © 2007-2010 Qxt Foundation
Qxt 0.6.1