author | llornkcor <llornkcor> | 2004-07-13 10:35:23 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-07-13 10:35:23 (UTC) |
commit | 37e0e077b51841971c3d4c25b287f4d39e750e2d (patch) (side-by-side diff) | |
tree | c1b499dd6e544207c6ff7047acd8170d6ea63f94 /noncore/apps/zsafe/qsettings.h | |
parent | 5d2ec2e9b1dce49e914c260fe16a82ddccbaa92d (diff) | |
download | opie-37e0e077b51841971c3d4c25b287f4d39e750e2d.zip opie-37e0e077b51841971c3d4c25b287f4d39e750e2d.tar.gz opie-37e0e077b51841971c3d4c25b287f4d39e750e2d.tar.bz2 |
fix ups, and move qsettings files away
Diffstat (limited to 'noncore/apps/zsafe/qsettings.h') (more/less context) (ignore whitespace changes)
-rwxr-xr-x | noncore/apps/zsafe/qsettings.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/noncore/apps/zsafe/qsettings.h b/noncore/apps/zsafe/qsettings.h deleted file mode 100755 index 95e87b5..0000000 --- a/noncore/apps/zsafe/qsettings.h +++ b/dev/null @@ -1,56 +0,0 @@ -/* -** $Id$ -*/ - -#ifndef _QSETTINGS_H_ -#define _QSETTINGS_H_ - -#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 &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 - -}; -#endif // _QSETTINGS_H_ |