#include </home/clem/local/src/opie/qmake/include/private/qlocale_p.h>
Collaboration diagram for QLocalePrivate:

Public Types | |
| enum | GroupSeparatorMode { FailOnGroupSeparators, ParseGroupSeparators } |
| enum | DoubleForm { DFExponent = 0, DFDecimal, DFSignificantDigits, _DFMax = DFSignificantDigits } |
| enum | Flags { NoFlags = 0, Alternate = 0x01, ZeroPadded = 0x02, LeftAdjusted = 0x04, BlankBeforePositive = 0x08, AlwaysShowSign = 0x10, ThousandsGroup = 0x20, CapitalEorX = 0x40 } |
Public Member Functions | |
| 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 |
Static Public Member Functions | |
| static const char * | systemLocaleName () |
Public Attributes | |
| 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 |
Static Public Attributes | |
| static const QString | m_infinity |
| static const QString | m_nan |
| static const QChar | m_plus |
|
|
Definition at line 77 of file qlocale_p.h. |
|
|
Definition at line 84 of file qlocale_p.h. |
|
|
Definition at line 72 of file qlocale_p.h. |
|
|
Definition at line 68 of file qlocale_p.h. References m_country_id. Referenced by QLocale::country(), and findLocale(). |
|
|
Definition at line 56 of file qlocale_p.h. References m_decimal. Referenced by decimalForm(), exponentForm(), numberToCLocale(), and removeGroupSeparators(). |
|
||||||||||||||||||||||||
|
Definition at line 2967 of file qlocale.cpp. References Alternate, AlwaysShowSign, BlankBeforePositive, CapitalEorX, decimalForm(), DFDecimal, DFExponent, DFSignificantDigits, exponentForm(), i, infinity(), INFINITY, LeftAdjusted, QString::length(), minus(), nan(), plus(), PMChopTrailingZeros, PMDecimalDigits, PMSignificantDigits, QString::prepend(), qdtoa(), QString::ref(), ThousandsGroup, QString::truncate(), QString::unicode(), QString::upper(), zero(), and ZeroPadded. Referenced by QLocale::toString(). |
|
|
Definition at line 63 of file qlocale_p.h. References m_exponential. Referenced by exponentForm(), numberToCLocale(), and removeGroupSeparators(). |
|
|
Definition at line 57 of file qlocale_p.h. References m_group. Referenced by decimalForm(), longLongToString(), numberToCLocale(), removeGroupSeparators(), and unsLongLongToString(). |
|
|
Definition at line 1635 of file qlocale.cpp. References QString::fromLatin1(). Referenced by doubleToString(), and numberToCLocale(). |
|
|
Definition at line 2838 of file qlocale.cpp. References QChar::unicode(), and zero(). Referenced by numberToCLocale(), and removeGroupSeparators(). |
|
|
Definition at line 67 of file qlocale_p.h. References m_language_id. Referenced by findLocale(), QLocale::language(), and QLocale::QLocale(). |
|
|
Definition at line 58 of file qlocale_p.h. References m_list. Referenced by numberToCLocale(). |
|
||||||||||||||||||||||||
|
Definition at line 3125 of file qlocale.cpp. References Alternate, AlwaysShowSign, BlankBeforePositive, CapitalEorX, group(), i, QString::insert(), QString::isEmpty(), LeftAdjusted, QString::length(), minus(), plus(), QString::prepend(), qlltoa(), qulltoa(), ThousandsGroup, QString::unicode(), QString::upper(), zero(), and ZeroPadded. Referenced by exponentForm(), and QLocale::toString(). |
|
|
Definition at line 62 of file qlocale_p.h. References m_minus. Referenced by doubleToString(), longLongToString(), and numberToCLocale(). |
|
|
Definition at line 1640 of file qlocale.cpp. References QString::fromLatin1(). Referenced by doubleToString(), and numberToCLocale(). |
|
||||||||||||
|
Definition at line 3369 of file qlocale.cpp. References compareSubstr(), decimal(), digitToCLocale(), exponential(), group(), i, infinity(), isDigit(), list(), minus(), nan(), ParseGroupSeparators, percent(), plus(), removeGroupSeparators(), stripWhiteSpaceInPlace(), QChar::unicode(), upper(), and zero(). Referenced by stringToDouble(), stringToLongLong(), and stringToUnsLongLong(). |
|
|
Definition at line 59 of file qlocale_p.h. References m_percent. Referenced by numberToCLocale(). |
|
|
Definition at line 61 of file qlocale_p.h. Referenced by doubleToString(), longLongToString(), and numberToCLocale(). |
|
|
Definition at line 3281 of file qlocale.cpp. References decimal(), exponential(), group(), i, isDigit(), QString::length(), QString::remove(), QString::unicode(), and upper(). Referenced by numberToCLocale(). |
|
||||||||||||||||
|
Definition at line 3445 of file qlocale.cpp. References d, INFINITY, QString::latin1(), NAN, numberToCLocale(), and qstrtod(). Referenced by QLocale::toDouble(). |
|
||||||||||||||||||||
|
Definition at line 3489 of file qlocale.cpp. References l, QString::latin1(), numberToCLocale(), and qstrtoll(). Referenced by QLocale::toLongLong(). |
|
||||||||||||||||||||
|
Definition at line 3515 of file qlocale.cpp. References l, QString::latin1(), numberToCLocale(), and qstrtoull(). Referenced by QLocale::toULongLong(). |
|
|
Definition at line 1645 of file qlocale.cpp. References QString::fromUcs2(), QCString::isEmpty(), lower(), NULL, and out. Referenced by QLocale::system(). |
|
||||||||||||||||||||||||
|
Definition at line 3210 of file qlocale.cpp. References Alternate, CapitalEorX, group(), i, QString::insert(), QString::isEmpty(), LeftAdjusted, QString::length(), QString::prepend(), qulltoa(), ThousandsGroup, QString::unicode(), QString::upper(), zero(), and ZeroPadded. Referenced by QLocale::toString(). |
|
|
Definition at line 60 of file qlocale_p.h. References m_zero. Referenced by decimalForm(), doubleToString(), exponentForm(), isDigit(), longLongToString(), numberToCLocale(), qulltoa(), and unsLongLongToString(). |
|
|
Definition at line 116 of file qlocale_p.h. Referenced by countryId(). |
|
|
Definition at line 118 of file qlocale_p.h. Referenced by decimal(). |
|
|
Definition at line 118 of file qlocale_p.h. Referenced by exponential(). |
|
|
Definition at line 118 of file qlocale_p.h. Referenced by group(). |
|
|
Definition at line 121 of file qlocale_p.h. |
|
|
Definition at line 116 of file qlocale_p.h. Referenced by languageId(). |
|
|
Definition at line 118 of file qlocale_p.h. Referenced by list(). |
|
|
Definition at line 118 of file qlocale_p.h. Referenced by minus(). |
|
|
Definition at line 122 of file qlocale_p.h. |
|
|
Definition at line 118 of file qlocale_p.h. Referenced by percent(). |
|
|
Definition at line 123 of file qlocale_p.h. |
|
|
Definition at line 118 of file qlocale_p.h. Referenced by zero(). |
1.4.2