author | insilmaril |
Sat Jul 23 10:26:29 2005 +0000 (2005-07-23) | |
changeset 132 | fd7f08a85971 |
child 3 | 6a0342b3c519 |
child 163 | 30b22f7bd009 |
permissions | -rw-r--r-- |
insilmaril@0 | 1 |
#ifndef SETTINGS_H |
insilmaril@0 | 2 |
#define SETTINGS_H |
insilmaril@0 | 3 |
|
insilmaril@0 | 4 |
#include <qsettings.h> |
insilmaril@0 | 5 |
#include <qstring.h> |
insilmaril@0 | 6 |
#include <qstringlist.h> |
insilmaril@0 | 7 |
|
insilmaril@0 | 8 |
#include "misc.h" |
insilmaril@0 | 9 |
|
insilmaril@0 | 10 |
|
insilmaril@0 | 11 |
class Settings:public QSettings,public xmlObj |
insilmaril@0 | 12 |
{ |
insilmaril@0 | 13 |
public: |
insilmaril@0 | 14 |
Settings (); |
insilmaril@0 | 15 |
~Settings (); |
insilmaril@0 | 16 |
void clear(); |
insilmaril@0 | 17 |
void clearLocal (const QString &); |
insilmaril@0 | 18 |
QString readLocalEntry ( const QString &, const QString &, const QString &); |
insilmaril@0 | 19 |
void setLocalEntry (const QString &, const QString &, const QString &); |
insilmaril@0 | 20 |
QString getXMLData (const QString &); |
insilmaril@0 | 21 |
void write (); |
insilmaril@0 | 22 |
|
insilmaril@0 | 23 |
protected: |
insilmaril@0 | 24 |
QStringList pathlist; |
insilmaril@0 | 25 |
QStringList keylist; |
insilmaril@0 | 26 |
QStringList valuelist; |
insilmaril@0 | 27 |
}; |
insilmaril@0 | 28 |
|
insilmaril@0 | 29 |
#endif |