-rw-r--r-- | library/config.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/library/config.h b/library/config.h index 29ba0d6..f8d3bf7 100644 --- a/library/config.h +++ b/library/config.h | |||
@@ -30,8 +30,9 @@ | |||
30 | 30 | ||
31 | typedef QMap< QString, QString > ConfigGroup; | 31 | typedef QMap< QString, QString > ConfigGroup; |
32 | typedef QMap< QString, ConfigGroup> ConfigGroupMap; | 32 | typedef QMap< QString, ConfigGroup> ConfigGroupMap; |
33 | 33 | ||
34 | class QTextStream; | ||
34 | class ConfigPrivate; | 35 | class ConfigPrivate; |
35 | class Config | 36 | class Config |
36 | { | 37 | { |
37 | public: | 38 | public: |
@@ -91,10 +92,10 @@ public: | |||
91 | protected: | 92 | protected: |
92 | void read(); | 93 | void read(); |
93 | bool parse( const QString &line ); | 94 | bool parse( const QString &line ); |
94 | 95 | ||
95 | QMap< QString, ConfigGroup > groups; | 96 | ConfigGroupMap groups; |
96 | QMap< QString, ConfigGroup >::Iterator git; | 97 | ConfigGroupMap::Iterator git; |
97 | QString filename; | 98 | QString filename; |
98 | QString lang; | 99 | QString lang; |
99 | QString glang; | 100 | QString glang; |
100 | bool changed; | 101 | bool changed; |
@@ -102,7 +103,8 @@ protected: | |||
102 | static QString configFilename(const QString& name, Domain); | 103 | static QString configFilename(const QString& name, Domain); |
103 | 104 | ||
104 | private: // Sharp ROM compatibility | 105 | private: // Sharp ROM compatibility |
105 | Config( const QString &name, bool what ); | 106 | Config( const QString &name, bool what ); |
107 | void read( QTextStream &s); | ||
106 | }; | 108 | }; |
107 | 109 | ||
108 | #endif | 110 | #endif |