Eneboo - Documentación para desarrolladores
|
#include <qlocale_p.h>
Tipos públicos | |
enum | GroupSeparatorMode { FailOnGroupSeparators, ParseGroupSeparators, FailOnGroupSeparators, ParseGroupSeparators } |
enum | DoubleForm { DFExponent = 0, DFDecimal, DFSignificantDigits, _DFMax = DFSignificantDigits, DFExponent = 0, DFDecimal, DFSignificantDigits, _DFMax = DFSignificantDigits } |
enum | Flags { NoFlags = 0, Alternate = 0x01, ZeroPadded = 0x02, LeftAdjusted = 0x04, BlankBeforePositive = 0x08, AlwaysShowSign = 0x10, ThousandsGroup = 0x20, CapitalEorX = 0x40, NoFlags = 0, Alternate = 0x01, ZeroPadded = 0x02, LeftAdjusted = 0x04, BlankBeforePositive = 0x08, AlwaysShowSign = 0x10, ThousandsGroup = 0x20, CapitalEorX = 0x40 } |
enum | GroupSeparatorMode { FailOnGroupSeparators, ParseGroupSeparators, FailOnGroupSeparators, ParseGroupSeparators } |
enum | DoubleForm { DFExponent = 0, DFDecimal, DFSignificantDigits, _DFMax = DFSignificantDigits, DFExponent = 0, DFDecimal, DFSignificantDigits, _DFMax = DFSignificantDigits } |
enum | Flags { NoFlags = 0, Alternate = 0x01, ZeroPadded = 0x02, LeftAdjusted = 0x04, BlankBeforePositive = 0x08, AlwaysShowSign = 0x10, ThousandsGroup = 0x20, CapitalEorX = 0x40, NoFlags = 0, Alternate = 0x01, ZeroPadded = 0x02, LeftAdjusted = 0x04, BlankBeforePositive = 0x08, AlwaysShowSign = 0x10, ThousandsGroup = 0x20, CapitalEorX = 0x40 } |
Métodos públicos | |
const QChar & | decimal () const |
const QChar & | group () const |
const QChar & | list () const |
const QChar & | percent () const |
const QChar & | zero () const |
QChar | plus () const |
const QChar & | minus () const |
const QChar & | exponential () const |
QString | infinity () const |
QString | nan () const |
Q_UINT32 | languageId () const |
Q_UINT32 | countryId () const |
bool | isDigit (QChar d) const |
QString | doubleToString (double d, int precision=-1, DoubleForm form=DFSignificantDigits, int width=-1, unsigned flags=NoFlags) const |
QString | longLongToString (Q_LLONG l, int precision=-1, int base=10, int width=-1, unsigned flags=NoFlags) const |
QString | unsLongLongToString (Q_ULLONG l, int precision=-1, int base=10, int width=-1, unsigned flags=NoFlags) const |
double | stringToDouble (QString num, bool *ok, GroupSeparatorMode group_sep_mode) const |
Q_LLONG | stringToLongLong (QString num, int base, bool *ok, GroupSeparatorMode group_sep_mode) const |
Q_ULLONG | stringToUnsLongLong (QString num, int base, bool *ok, GroupSeparatorMode group_sep_mode) const |
bool | removeGroupSeparators (QString &num_str) const |
bool | numberToCLocale (QString &locale_num, GroupSeparatorMode group_sep_mode) const |
const QChar & | decimal () const |
const QChar & | group () const |
const QChar & | list () const |
const QChar & | percent () const |
const QChar & | zero () const |
QChar | plus () const |
const QChar & | minus () const |
const QChar & | exponential () const |
QString | infinity () const |
QString | nan () const |
Q_UINT32 | languageId () const |
Q_UINT32 | countryId () const |
bool | isDigit (QChar d) const |
QString | doubleToString (double d, int precision=-1, DoubleForm form=DFSignificantDigits, int width=-1, unsigned flags=NoFlags) const |
QString | longLongToString (Q_LLONG l, int precision=-1, int base=10, int width=-1, unsigned flags=NoFlags) const |
QString | unsLongLongToString (Q_ULLONG l, int precision=-1, int base=10, int width=-1, unsigned flags=NoFlags) const |
double | stringToDouble (QString num, bool *ok, GroupSeparatorMode group_sep_mode) const |
Q_LLONG | stringToLongLong (QString num, int base, bool *ok, GroupSeparatorMode group_sep_mode) const |
Q_ULLONG | stringToUnsLongLong (QString num, int base, bool *ok, GroupSeparatorMode group_sep_mode) const |
bool | removeGroupSeparators (QString &num_str) const |
bool | numberToCLocale (QString &locale_num, GroupSeparatorMode group_sep_mode) const |
Métodos públicos estáticos | |
static const char * | systemLocaleName () |
static const char * | systemLocaleName () |
Atributos públicos | |
Q_UINT32 | m_language_id |
Q_UINT32 | m_country_id |
Q_UINT16 | m_decimal |
Q_UINT16 | m_group |
Q_UINT16 | m_list |
Q_UINT16 | m_percent |
Q_UINT16 | m_zero |
Q_UINT16 | m_minus |
Q_UINT16 | m_exponential |
Atributos públicos estáticos | |
static const QString | m_infinity |
static const QString | m_nan |
static const QChar | m_plus |
Q_UINT32 QLocalePrivate::countryId | ( | ) | const [inline] |
Q_UINT32 QLocalePrivate::countryId | ( | ) | const [inline] |
const QChar& QLocalePrivate::decimal | ( | ) | const [inline] |
const QChar& QLocalePrivate::decimal | ( | ) | const [inline] |
QString QLocalePrivate::doubleToString | ( | double | d, |
int | precision = -1 , |
||
DoubleForm | form = DFSignificantDigits , |
||
int | width = -1 , |
||
unsigned | flags = NoFlags |
||
) | const |
QString QLocalePrivate::doubleToString | ( | double | d, |
int | precision = -1 , |
||
DoubleForm | form = DFSignificantDigits , |
||
int | width = -1 , |
||
unsigned | flags = NoFlags |
||
) | const |
const QChar& QLocalePrivate::exponential | ( | ) | const [inline] |
const QChar& QLocalePrivate::exponential | ( | ) | const [inline] |
const QChar& QLocalePrivate::group | ( | ) | const [inline] |
const QChar& QLocalePrivate::group | ( | ) | const [inline] |
QString QLocalePrivate::infinity | ( | ) | const |
QString QLocalePrivate::infinity | ( | ) | const |
Q_UINT32 QLocalePrivate::languageId | ( | ) | const [inline] |
Q_UINT32 QLocalePrivate::languageId | ( | ) | const [inline] |
const QChar& QLocalePrivate::list | ( | ) | const [inline] |
const QChar& QLocalePrivate::list | ( | ) | const [inline] |
QString QLocalePrivate::longLongToString | ( | Q_LLONG | l, |
int | precision = -1 , |
||
int | base = 10 , |
||
int | width = -1 , |
||
unsigned | flags = NoFlags |
||
) | const |
QString QLocalePrivate::longLongToString | ( | Q_LLONG | l, |
int | precision = -1 , |
||
int | base = 10 , |
||
int | width = -1 , |
||
unsigned | flags = NoFlags |
||
) | const |
const QChar& QLocalePrivate::minus | ( | ) | const [inline] |
const QChar& QLocalePrivate::minus | ( | ) | const [inline] |
QString QLocalePrivate::nan | ( | ) | const |
QString QLocalePrivate::nan | ( | ) | const |
bool QLocalePrivate::numberToCLocale | ( | QString & | locale_num, |
GroupSeparatorMode | group_sep_mode | ||
) | const |
bool QLocalePrivate::numberToCLocale | ( | QString & | locale_num, |
GroupSeparatorMode | group_sep_mode | ||
) | const |
const QChar& QLocalePrivate::percent | ( | ) | const [inline] |
const QChar& QLocalePrivate::percent | ( | ) | const [inline] |
QChar QLocalePrivate::plus | ( | ) | const [inline] |
QChar QLocalePrivate::plus | ( | ) | const [inline] |
double QLocalePrivate::stringToDouble | ( | QString | num, |
bool * | ok, | ||
GroupSeparatorMode | group_sep_mode | ||
) | const |
double QLocalePrivate::stringToDouble | ( | QString | num, |
bool * | ok, | ||
GroupSeparatorMode | group_sep_mode | ||
) | const |
Q_LLONG QLocalePrivate::stringToLongLong | ( | QString | num, |
int | base, | ||
bool * | ok, | ||
GroupSeparatorMode | group_sep_mode | ||
) | const |
Q_LLONG QLocalePrivate::stringToLongLong | ( | QString | num, |
int | base, | ||
bool * | ok, | ||
GroupSeparatorMode | group_sep_mode | ||
) | const |
Q_ULLONG QLocalePrivate::stringToUnsLongLong | ( | QString | num, |
int | base, | ||
bool * | ok, | ||
GroupSeparatorMode | group_sep_mode | ||
) | const |
Q_ULLONG QLocalePrivate::stringToUnsLongLong | ( | QString | num, |
int | base, | ||
bool * | ok, | ||
GroupSeparatorMode | group_sep_mode | ||
) | const |
const char * QLocalePrivate::systemLocaleName | ( | ) | [static] |
static const char* QLocalePrivate::systemLocaleName | ( | ) | [static] |
QString QLocalePrivate::unsLongLongToString | ( | Q_ULLONG | l, |
int | precision = -1 , |
||
int | base = 10 , |
||
int | width = -1 , |
||
unsigned | flags = NoFlags |
||
) | const |
QString QLocalePrivate::unsLongLongToString | ( | Q_ULLONG | l, |
int | precision = -1 , |
||
int | base = 10 , |
||
int | width = -1 , |
||
unsigned | flags = NoFlags |
||
) | const |
const QChar& QLocalePrivate::zero | ( | ) | const [inline] |
const QChar& QLocalePrivate::zero | ( | ) | const [inline] |
Q_UINT32 QLocalePrivate::m_country_id |
Q_UINT16 QLocalePrivate::m_decimal |
Q_UINT16 QLocalePrivate::m_exponential |
Q_UINT16 QLocalePrivate::m_group |
static const QString QLocalePrivate::m_infinity [static] |
Q_UINT32 QLocalePrivate::m_language_id |
Q_UINT16 QLocalePrivate::m_list |
Q_UINT16 QLocalePrivate::m_minus |
static const QString QLocalePrivate::m_nan [static] |
Q_UINT16 QLocalePrivate::m_percent |
static const QChar QLocalePrivate::m_plus [static] |
Q_UINT16 QLocalePrivate::m_zero |