author | pohly <pohly> | 2005-05-05 14:39:33 (UTC) |
---|---|---|
committer | pohly <pohly> | 2005-05-05 14:39:33 (UTC) |
commit | 39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91 (patch) (unidiff) | |
tree | 96e66fdc18dca4d4ab8611133e072f57dea224b9 /noncore/apps/opie-reader/preferences.h | |
parent | 279fc4fd1986074acbadd3a8e86fcf3968a8dd5c (diff) | |
download | opie-39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91.zip opie-39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91.tar.gz opie-39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91.tar.bz2 |
new opie-reader sources with support for ArriereGo, Reb input and flite output plugins
Diffstat (limited to 'noncore/apps/opie-reader/preferences.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/preferences.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/noncore/apps/opie-reader/preferences.h b/noncore/apps/opie-reader/preferences.h index aeb2a84..39959d4 100644 --- a/noncore/apps/opie-reader/preferences.h +++ b/noncore/apps/opie-reader/preferences.h | |||
@@ -1,26 +1,26 @@ | |||
1 | #ifndef USEQPE | 1 | #ifndef USEQPE |
2 | #ifndef __PREFERENCES_H | 2 | #ifndef __PREFERENCES_H |
3 | #define __PREFERENCES_H | 3 | #define __PREFERENCES_H |
4 | 4 | ||
5 | #include <qstring.h> | 5 | #include <qstring.h> |
6 | #include <qmap.h> | 6 | #include <qmap.h> |
7 | 7 | ||
8 | class Config | 8 | class Config |
9 | { | 9 | { |
10 | QMap<QString, QString> values; | 10 | QMap<QString, QString> values; |
11 | QString fname; | 11 | QString fname; |
12 | public: | 12 | public: |
13 | Config(const QString& fname); | 13 | Config(const QString& fname); |
14 | ~Config(); | 14 | ~Config(); |
15 | void setGroup(const QString& s) { } | 15 | void setGroup(const QString& s) { } |
16 | QString readEntry(const QString&, const QString&); | 16 | QString readEntry(const QString&, const QString&); |
17 | bool readBoolEntry(const QString&, const bool); | 17 | bool readBoolEntry(const QString&, const bool); |
18 | int readNumEntry(const QString&, const int); | 18 | int readNumEntry(const QString&, const int); |
19 | 19 | ||
20 | void writeEntry(const QString&, const QString&); | 20 | void writeEntry(const QString&, const QString&); |
21 | void writeEntry(const QString&, const bool); | 21 | void writeEntry(const QString&, const bool); |
22 | void writeEntry(const QString&, const int); | 22 | void writeEntry(const QString&, const int); |
23 | }; | 23 | }; |
24 | 24 | ||
25 | #endif // PREFERENCES | 25 | #endif // PREFERENCES |
26 | #endif | 26 | #endif |