1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/settings.h Tue Jul 12 12:02:55 2005 +0000
1.3 @@ -0,0 +1,29 @@
1.4 +#ifndef SETTINGS_H
1.5 +#define SETTINGS_H
1.6 +
1.7 +#include <qsettings.h>
1.8 +#include <qstring.h>
1.9 +#include <qstringlist.h>
1.10 +
1.11 +#include "misc.h"
1.12 +
1.13 +
1.14 +class Settings:public QSettings,public xmlObj
1.15 +{
1.16 +public:
1.17 + Settings ();
1.18 + ~Settings ();
1.19 + void clear();
1.20 + void clearLocal (const QString &);
1.21 + QString readLocalEntry ( const QString &, const QString &, const QString &);
1.22 + void setLocalEntry (const QString &, const QString &, const QString &);
1.23 + QString getXMLData (const QString &);
1.24 + void write ();
1.25 +
1.26 +protected:
1.27 + QStringList pathlist;
1.28 + QStringList keylist;
1.29 + QStringList valuelist;
1.30 +};
1.31 +
1.32 +#endif