Diffstat (limited to 'noncore/apps/opie-console/profileconfig.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profileconfig.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profileconfig.cpp b/noncore/apps/opie-console/profileconfig.cpp index 8b16920..bd089c8 100644 --- a/noncore/apps/opie-console/profileconfig.cpp +++ b/noncore/apps/opie-console/profileconfig.cpp | |||
@@ -30,6 +30,16 @@ void ProfileConfig::clearAll() { | |||
30 | void ProfileConfig::clearGroup( const QString& str ) { | 30 | void ProfileConfig::clearGroup( const QString& str ) { |
31 | QString cur =git.key(); | 31 | QString cur =git.key(); |
32 | setGroup( str ); | 32 | setGroup( str ); |
33 | Config::clearGroup(); | 33 | Config::clearGroup(); |
34 | setGroup( cur ); | 34 | setGroup( cur ); |
35 | } | 35 | } |
36 | QMap<QString, QString> ProfileConfig::items( const QString& group )const { | ||
37 | QMap<QString, QString> map; | ||
38 | QMap<QString, ConfigGroup>::ConstIterator it; | ||
39 | it = Config::groups.find( group ); | ||
40 | |||
41 | if (it != Config::groups.end() ) | ||
42 | map = it.data(); | ||
43 | |||
44 | return map; | ||
45 | } | ||