settings.h
author insilmaril
Thu, 17 Jul 2008 09:27:20 +0000
branchrelease-1-12-maintained
changeset 39 e37153bea487
parent 0 7a96bd401351
child 3 6a0342b3c519
child 163 30b22f7bd009
permissions -rw-r--r--
removed pixel garbage on right side of exported images
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