Go to the documentation of this file.00001 #ifndef _UTILITIES_SIMPLE_XML_SETTINGS_H_
00002 #define _UTILITIES_SIMPLE_XML_SETTINGS_H_
00003
00004 #include <QIODevice>
00005 #include <QSettings>
00006 #include <QSharedPointer>
00007
00008 namespace utilities
00009 {
00010 class SimpleXmlSettings {
00011 public:
00012 static const QSettings::Format format;
00013 static const QString GROUP_SEPARATOR;
00014 static const QString ATTRIBUTE_SEPARATOR;
00015 static bool read(QIODevice& device, QSettings::SettingsMap& map);
00016 static bool write(QIODevice& device, const QSettings::SettingsMap& map);
00017 };
00018 }
00019
00020 #endif // _UTILITIES_SIMPLE_XML_SETTINGS_H_