6 #include <qstringlist.h>
10 // Some helper functions and simplified settings class
11 // to read and parse settings e.g. in undo/redo directories
12 bool loadStringFromDisk (const QString &, QString &);
13 bool saveStringToDisk (const QString &, const QString &s);
21 void readSettings(const QString &);
22 void writeSettings(const QString &);
23 QString readEntry (const QString &);
24 void setEntry (const QString &,const QString &);
27 QStringList valuelist;
31 // Overloaded QSettings class, used to save some settings in
32 // a map instead of users home directory
33 class Settings:public QSettings,public xmlObj
39 void clearLocal (const QString &);
40 QString readLocalEntry ( const QString &, const QString &, const QString &);
41 void setLocalEntry (const QString &, const QString &, const QString &);
42 QString getXMLData (const QString &);
47 QStringList valuelist;