![]() |
Qt 4.8
|
Go to the source code of this file.
Macros | |
| #define | NEEDS_VOLATILE |
Enumerations | |
| enum | PrecisionMode { PMDecimalDigits = 0x01, PMSignificantDigits = 0x02, PMChopTrailingZeros = 0x03 } |
Functions | |
| QString & | decimalForm (QChar zero, QChar decimal, QChar group, QString &digits, int decpt, uint precision, PrecisionMode pm, bool always_show_decpt, bool thousands_group) |
| QString & | exponentForm (QChar zero, QChar decimal, QChar exponential, QChar group, QChar plus, QChar minus, QString &digits, int decpt, uint precision, PrecisionMode pm, bool always_show_decpt) |
| bool | isZero (double d) |
| Q_CORE_EXPORT char * | qdtoa (double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **digits_str) |
| QString | qlltoa (qlonglong l, int base, const QChar zero) |
| Q_CORE_EXPORT double | qstrtod (const char *s00, char const **se, bool *ok) |
| qlonglong | qstrtoll (const char *nptr, const char **endptr, register int base, bool *ok) |
| qulonglong | qstrtoull (const char *nptr, const char **endptr, register int base, bool *ok) |
| QString | qulltoa (qulonglong l, int base, const QChar _zero) |
| bool | removeGroupSeparators (QLocalePrivate::CharBuff *num) |
| #define NEEDS_VOLATILE |
Definition at line 72 of file qlocale_tools_p.h.
Referenced by _getWord0(), _getWord1(), _setWord0(), and _setWord1().
| enum PrecisionMode |
| Enumerator | |
|---|---|
| PMDecimalDigits | |
| PMSignificantDigits | |
| PMChopTrailingZeros | |
Definition at line 80 of file qlocale_tools_p.h.
| QString& decimalForm | ( | QChar | zero, |
| QChar | decimal, | ||
| QChar | group, | ||
| QString & | digits, | ||
| int | decpt, | ||
| uint | precision, | ||
| PrecisionMode | pm, | ||
| bool | always_show_decpt, | ||
| bool | thousands_group | ||
| ) |
Definition at line 116 of file qlocale_tools.cpp.
Referenced by QLocalePrivate::doubleToString().
| QString& exponentForm | ( | QChar | zero, |
| QChar | decimal, | ||
| QChar | exponential, | ||
| QChar | group, | ||
| QChar | plus, | ||
| QChar | minus, | ||
| QString & | digits, | ||
| int | decpt, | ||
| uint | precision, | ||
| PrecisionMode | pm, | ||
| bool | always_show_decpt | ||
| ) |
Definition at line 158 of file qlocale_tools.cpp.
Referenced by QLocalePrivate::doubleToString().
|
inline |
| Q_CORE_EXPORT char* qdtoa | ( | double | d, |
| int | mode, | ||
| int | ndigits, | ||
| int * | decpt, | ||
| int * | sign, | ||
| char ** | rve, | ||
| char ** | digits_str | ||
| ) |
Definition at line 2271 of file qlocale_tools.cpp.
Referenced by isZero().
| Q_CORE_EXPORT double qstrtod | ( | const char * | s00, |
| char const ** | se, | ||
| bool * | ok | ||
| ) |
Definition at line 1570 of file qlocale_tools.cpp.
Referenced by isZero().
| qlonglong qstrtoll | ( | const char * | nptr, |
| const char ** | endptr, | ||
| register int | base, | ||
| bool * | ok | ||
| ) |
Definition at line 391 of file qlocale_tools.cpp.
Referenced by QLocalePrivate::bytearrayToLongLong(), getWinLocaleName(), and isZero().
| qulonglong qstrtoull | ( | const char * | nptr, |
| const char ** | endptr, | ||
| register int | base, | ||
| bool * | ok | ||
| ) |
Definition at line 310 of file qlocale_tools.cpp.
Referenced by QLocalePrivate::bytearrayToUnsLongLong(), isZero(), and winIso639LangName().
| QString qulltoa | ( | qulonglong | l, |
| int | base, | ||
| const QChar | _zero | ||
| ) |
Definition at line 79 of file qlocale_tools.cpp.
Referenced by QLocalePrivate::longLongToString(), qlltoa(), and QLocalePrivate::unsLongLongToString().
| bool removeGroupSeparators | ( | QLocalePrivate::CharBuff * | num | ) |
Definition at line 188 of file qlocale_tools.cpp.
Referenced by isZero(), and QLocalePrivate::numberToCLocale().