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