|  | Home · All Classes · Main Classes · Grouped Classes · Modules · Functions |

# QSystemLocale Class Reference
[QtCore module]

The QSystemLocale class can be used to finetune the system locale of the user. More...

    #include <QSystemLocale>

This class was introduced in Qt 4.2.

- List of all members, including inherited members

### Public Types

- enum QueryType { LanguageId, CountryId, DecimalPoint, GroupSeparator, ..., TimeToStringShort }

### Public Functions

- QSystemLocale ()
- virtual ~QSystemLocale ()
- virtual QLocale fallbackLocale () const
- virtual QVariant query ( QueryType type, QVariant in ) const

## Detailed Description

The QSystemLocale class can be used to finetune the system locale of the user.

Warning: This class is only useful in very rare cases. Usually QLocale offers all the functionality required for application development.

QSystemLocale allows to override the values provided by the system locale (

See also QLocale::system(), ), and ..

## Member Type Documentation

### enum QSystemLocale::QueryType

## Member Function Documentation

### QSystemLocale::QSystemLocale ()

Constructs a QSystemLocale object. The constructor will automatically install this object as the system locale and remove any earlier installed system locales.

### QSystemLocale::~QSystemLocale () `[virtual]`

Deletes the object.

### QLocale QSystemLocale::fallbackLocale () const `[virtual]`

Returns a fallback locale, that will get used for everything that is not explicitly overridden by the system locale.

### QVariant QSystemLocale::query ( QueryType type, QVariant in ) const `[virtual]`