Hello!
Has anybody worked with QSettings to make own format of config-files?
I want to store all settings in xml, but I have a trouble:
after reading a doc I understood that I should create my own QSettings::Format
I need readFunc and writeFunc functions.
From doc:
Can anybody give me an example of QSettings::SettingsMap?typedef QSettings::WriteFunc
Typedef for a pointer to a function with the following signature:
bool myWriteFunc(QIODevice &device, const QSettings::SettingsMap &map);
---
typedef QSettings::SettingsMap
Typedef for QMap<QString, QVariant>.
Thanks!
PS: sorry for my English, my native language is Russian ;-)
Bookmarks