FougTools  0.7.0dev-046fb6a
Handy tools for C++, Qt and OpenCascade
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
qtcore::QLocaleUtils Class Reference

Provides a collection of tools around QLocale. More...

#include <qttools/core/qlocale_utils.h>

Static Public Member Functions

static QLocale::MeasurementSystem toMeasurementSystem (int measSys)
 Safe cast of an integer to QLocale::MeasurementSystem. More...
 
static QLocale::Country toCountry (int code)
 Safe cast of an integer to QLocale::Country. More...
 
static std::vector
< QLocale::Country > 
allCountries ()
 All enumerator values of QLocale::Country returned in a single array. More...
 

Detailed Description

Provides a collection of tools around QLocale.

Member Function Documentation

std::vector< QLocale::Country > qtcore::QLocaleUtils::allCountries ( )
static

All enumerator values of QLocale::Country returned in a single array.

QLocale::Country qtcore::QLocaleUtils::toCountry ( int  code)
static

Safe cast of an integer to QLocale::Country.

QLocale::MeasurementSystem qtcore::QLocaleUtils::toMeasurementSystem ( int  measSys)
static

Safe cast of an integer to QLocale::MeasurementSystem.


The documentation for this class was generated from the following files: