QLocaleData: move CharBuff typedef out of QLocaleData
It'll be used by another struct in a subsequent commit. Change-Id: Ia94c6ae3506f9ba6cba6b71a5839bff8b3a2ab1f Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
b46e0b0ab2
commit
69d3e96e02
@ -211,6 +211,9 @@ struct QLocaleId
|
|||||||
};
|
};
|
||||||
Q_DECLARE_TYPEINFO(QLocaleId, Q_PRIMITIVE_TYPE);
|
Q_DECLARE_TYPEINFO(QLocaleId, Q_PRIMITIVE_TYPE);
|
||||||
|
|
||||||
|
|
||||||
|
using CharBuff = QVarLengthArray<char, 256>;
|
||||||
|
|
||||||
struct QLocaleData
|
struct QLocaleData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -244,8 +247,6 @@ public:
|
|||||||
|
|
||||||
enum NumberMode { IntegerMode, DoubleStandardMode, DoubleScientificMode };
|
enum NumberMode { IntegerMode, DoubleStandardMode, DoubleScientificMode };
|
||||||
|
|
||||||
typedef QVarLengthArray<char, 256> CharBuff;
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
enum PrecisionMode {
|
enum PrecisionMode {
|
||||||
PMDecimalDigits = 0x01,
|
PMDecimalDigits = 0x01,
|
||||||
|
Loading…
Reference in New Issue
Block a user