-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 @@ typedef QMap< QString, QString > ConfigGroup; typedef QMap< QString, ConfigGroup> ConfigGroupMap; +class QTextStream; class ConfigPrivate; class Config { public: @@ -91,10 +92,10 @@ public: protected: void read(); bool parse( const QString &line ); - QMap< QString, ConfigGroup > groups; - QMap< QString, ConfigGroup >::Iterator git; + ConfigGroupMap groups; + ConfigGroupMap::Iterator git; QString filename; QString lang; QString glang; bool changed; @@ -102,7 +103,8 @@ protected: static QString configFilename(const QString& name, Domain); private: // Sharp ROM compatibility Config( const QString &name, bool what ); + void read( QTextStream &s); }; #endif |