summaryrefslogtreecommitdiff
path: root/library/config.h
Unidiff
Diffstat (limited to 'library/config.h') (more/less context) (ignore whitespace changes)
-rw-r--r--library/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/config.h b/library/config.h
index c908fea..af61777 100644
--- a/library/config.h
+++ b/library/config.h
@@ -41,12 +41,13 @@ public:
41 41
42 bool isValid() const; 42 bool isValid() const;
43 bool hasKey( const QString &key ) const; 43 bool hasKey( const QString &key ) const;
44 44
45 // inline for better SharpROM BC 45 // inline for better SharpROM BC
46 inline bool hasGroup ( const QString &gname ) const { return ( groups. find ( gname ) != groups. end ( )); }; 46 inline bool hasGroup ( const QString &gname ) const { return ( groups. find ( gname ) != groups. end ( )); };
47 inline QStringList groupList ( ) const { QStringList sl; for ( QMap< QString, ConfigGroup >::ConstIterator it = groups. begin ( ); it != groups. end ( ); ++it ) { sl << it.key(); } return sl; };
47 48
48 void setGroup( const QString &gname ); 49 void setGroup( const QString &gname );
49 void writeEntry( const QString &key, const char* value ); 50 void writeEntry( const QString &key, const char* value );
50 void writeEntry( const QString &key, const QString &value ); 51 void writeEntry( const QString &key, const QString &value );
51 void writeEntryCrypt( const QString &key, const QString &value ); 52 void writeEntryCrypt( const QString &key, const QString &value );
52 void writeEntry( const QString &key, int num ); 53 void writeEntry( const QString &key, int num );