Diffstat (limited to 'noncore/apps/opie-reader/preferences.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/preferences.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/preferences.h b/noncore/apps/opie-reader/preferences.h index 69d1774..aeb2a84 100644 --- a/noncore/apps/opie-reader/preferences.h +++ b/noncore/apps/opie-reader/preferences.h | |||
@@ -1,25 +1,24 @@ | |||
1 | #include "useqpe.h" | ||
2 | #ifndef USEQPE | 1 | #ifndef USEQPE |
3 | #ifndef __PREFERENCES_H | 2 | #ifndef __PREFERENCES_H |
4 | #define __PREFERENCES_H | 3 | #define __PREFERENCES_H |
5 | 4 | ||
6 | #include <qstring.h> | 5 | #include <qstring.h> |
7 | #include <qmap.h> | 6 | #include <qmap.h> |
8 | 7 | ||
9 | class Config | 8 | class Config |
10 | { | 9 | { |
11 | QMap<QString, QString> values; | 10 | QMap<QString, QString> values; |
12 | QString fname; | 11 | QString fname; |
13 | public: | 12 | public: |
14 | Config(const QString& fname); | 13 | Config(const QString& fname); |
15 | ~Config(); | 14 | ~Config(); |
16 | void setGroup(const QString& s) { } | 15 | void setGroup(const QString& s) { } |
17 | QString readEntry(const QString&, const QString&); | 16 | QString readEntry(const QString&, const QString&); |
18 | bool readBoolEntry(const QString&, const bool); | 17 | bool readBoolEntry(const QString&, const bool); |
19 | int readNumEntry(const QString&, const int); | 18 | int readNumEntry(const QString&, const int); |
20 | 19 | ||
21 | void writeEntry(const QString&, const QString&); | 20 | void writeEntry(const QString&, const QString&); |
22 | void writeEntry(const QString&, const bool); | 21 | void writeEntry(const QString&, const bool); |
23 | void writeEntry(const QString&, const int); | 22 | void writeEntry(const QString&, const int); |
24 | }; | 23 | }; |
25 | 24 | ||