settings.h
changeset 376 626fd85b1f69
parent 188 90969608255c
child 378 1ab7353f8f44
     1.1 --- a/settings.h	Tue Jan 24 15:09:48 2006 +0000
     1.2 +++ b/settings.h	Tue Sep 05 15:05:18 2006 +0000
     1.3 @@ -18,7 +18,8 @@
     1.4  	void clear();
     1.5  	void readSettings(const QString &);
     1.6  	void writeSettings(const QString &);
     1.7 -	QString readEntry (const QString &);
     1.8 +	QString readEntry (const QString &key, const QString &def=QString());
     1.9 +	int readNumEntry (const QString &, int=0);
    1.10  	void setEntry (const QString &,const QString &);
    1.11  private:	
    1.12  	QStringList keylist;
    1.13 @@ -32,6 +33,7 @@
    1.14  {
    1.15  public:
    1.16      Settings ();
    1.17 +    Settings (const QString & , const QString &);
    1.18  	~Settings ();
    1.19  	void clear();
    1.20  	void clearLocal (const QString &);