Commit b6d98969 authored by EXT Arnaud Clère's avatar EXT Arnaud Clère

commented issues between QSettings and QValue data model (mostly the

need to add QSize,QRect,QPoint to basic types)
parent c6fda812
......@@ -48,6 +48,12 @@
// //////////////////////////////////////////////////////////////////////////
// QSettings* support for the fixed set of QSettingsWriter's BindNative types
// Compatibility notes:
// TODO Add QSize, QRect, QPoint for QSettings::IniFormat special string representations. See https://code.woboq.org/qt5/qtbase/src/corelib/io/qsettings.cpp.html#430
// QPolygon special mac handling should be ok by default since it is a list of points. See https://code.woboq.org/qt5/qtbase/src/corelib/io/qsettings_mac.cpp.html#121
// QMap multiple entries should be ok by default on Mac when QMap is actually handled as a sequence of {key,value}. See https://code.woboq.org/qt5/qtbase/src/corelib/io/qsettings_mac.cpp.html#126
// Windows MULTI_SZ support is easy to read but trickier to optimize at write time since generic a sequence() can only use MULTI_SZ iff all values do not contain '\0'. See https://code.woboq.org/qt5/qtbase/src/corelib/io/qsettings_win.cpp.html#673
class QSettingsWriter : public QAbstractValueWriter
{
Q_DISABLE_COPY(QSettingsWriter)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment