summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-07-10 03:24:45 (UTC)
committer llornkcor <llornkcor>2004-07-10 03:24:45 (UTC)
commitc2b6d8dfff0aa3eab76b823e5be76cebb23097cf (patch) (side-by-side diff)
treee10f6d83894b03edb727bde1e05e0061cb7aa69b
parentaa85f7f987521c9f01acf3d8b737c5a60175de46 (diff)
downloadopie-c2b6d8dfff0aa3eab76b823e5be76cebb23097cf.zip
opie-c2b6d8dfff0aa3eab76b823e5be76cebb23097cf.tar.gz
opie-c2b6d8dfff0aa3eab76b823e5be76cebb23097cf.tar.bz2
fix compile
Diffstat (more/less context) (show whitespace changes)
-rwxr-xr-xnoncore/apps/zsafe/qsettings.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/zsafe/qsettings.h b/noncore/apps/zsafe/qsettings.h
index b11b533..95e87b5 100755
--- a/noncore/apps/zsafe/qsettings.h
+++ b/noncore/apps/zsafe/qsettings.h
@@ -7,49 +7,49 @@
#include <qstring.h>
#include <qstringlist.h>
#include <qasciidict.h>
// class to hold one category item
class QSettings
{
public:
enum Format {
Native = 0,
Ini
};
enum System {
Unix = 0,
Windows,
Mac
};
enum Scope {
User,
Global
};
- QSettings(const QString &);
+ QSettings(const QString &file=0);
~QSettings();
void insertSearchPath (System, const QString &);
QString readEntry (const QString &, const QString &def = QString::null);
int readNumEntry (const QString &, int def = 0);
bool readBoolEntry (const QString &, bool def = 0);
bool writeEntry (const QString &, int);
bool writeEntry (const QString &, bool);
bool writeEntry (const QString &, const QString &);
bool writeEntry (const QString &, const char *);
bool removeEntry (const QString &);
QStringList entryList (const QString &) const;
protected:
private:
QAsciiDict <QString> prefs; // key, value dictonary
QString fn; // preference filename
};