GPL V2. Added settings to documentation
6 #include <qstringlist.h>
10 // Some helper functions and simplified settings class
11 // to read and parse settings e.g. in undo/redo directories
19 void readSettings(const QString &);
20 void writeSettings(const QString &);
21 QString readEntry (const QString &key, const QString &def=QString());
22 int readNumEntry (const QString &, const int &def=0);
23 void setEntry (const QString &,const QString &);
26 QStringList valuelist;
30 // Overloaded QSettings class, used to save some settings in
31 // a map instead of users home directory
32 class Settings:public QSettings,public xmlObj
36 Settings (const QString & , const QString &);
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;