-
Notifications
You must be signed in to change notification settings - Fork 5
QSettings
Ivailo Monev edited this page Jul 31, 2023
·
12 revisions
This was done in https://github.com/fluxer/katie/commit/7769bca6005ad3cd72fbe7a2c9777967932a7ccd, https://github.com/fluxer/katie/commit/e11b34777cf2034efaa3e9058fd120503ddbafd3 and https://github.com/fluxer/katie/commit/bdae06e1498b0593a0e7747751fff3efa1575689. Groups are handled as UNIX filepath. In addition, the default (native) format is JSON not INI. The INI format does not support escaped characters either, the data is encoded and decoded with the ASCII codec.
No source compatible methods are in place because you should evaluate how to handle this in your projects. For an example:
settings.beginGroup("a");
settings.setValue("b", 1);
settings.endGroup()
Should be changed to:
settings.setValue("a/b", 1);
``
Katie is part of the Katana Desktop Environment project.