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:
Ahmad Samir 2023-03-18 14:37:35 +02:00
parent b46e0b0ab2
commit 69d3e96e02

View File

@ -211,6 +211,9 @@ struct QLocaleId
};
Q_DECLARE_TYPEINFO(QLocaleId, Q_PRIMITIVE_TYPE);
using CharBuff = QVarLengthArray<char, 256>;
struct QLocaleData
{
public:
@ -244,8 +247,6 @@ public:
enum NumberMode { IntegerMode, DoubleStandardMode, DoubleScientificMode };
typedef QVarLengthArray<char, 256> CharBuff;
private:
enum PrecisionMode {
PMDecimalDigits = 0x01,