author | zecke <zecke> | 2002-09-28 19:45:01 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-09-28 19:45:01 (UTC) |
commit | cb33923e1db6df3ead352f21c94b80a5785d70ca (patch) (unidiff) | |
tree | ac7816a66fe94c3d9d51411b458ee14dc117ce09 /noncore/apps/opie-console/profilemanager.cpp | |
parent | a52cf21d13cc26844adbce20b24287563a559d14 (diff) | |
download | opie-cb33923e1db6df3ead352f21c94b80a5785d70ca.zip opie-cb33923e1db6df3ead352f21c94b80a5785d70ca.tar.gz opie-cb33923e1db6df3ead352f21c94b80a5785d70ca.tar.bz2 |
make it possible in profileconfig
to iterate over the items in a group
Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profilemanager.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp index db36686..54b184d 100644 --- a/noncore/apps/opie-console/profilemanager.cpp +++ b/noncore/apps/opie-console/profilemanager.cpp | |||
@@ -38,6 +38,9 @@ void ProfileManager::load() { | |||
38 | } | 38 | } |
39 | 39 | ||
40 | } | 40 | } |
41 | void ProfileManager::clear() { | ||
42 | m_list.clear(); | ||
43 | } | ||
41 | Profile::ValueList ProfileManager::all()const { | 44 | Profile::ValueList ProfileManager::all()const { |
42 | return m_list; | 45 | return m_list; |
43 | } | 46 | } |
@@ -55,8 +58,8 @@ Session* ProfileManager::fromProfile( const Profile& prof) { | |||
55 | return session; | 58 | return session; |
56 | } | 59 | } |
57 | void ProfileManager::save( ) { | 60 | void ProfileManager::save( ) { |
58 | m_list.clear(); | ||
59 | ProfileConfig conf("opie-console-profiles"); | 61 | ProfileConfig conf("opie-console-profiles"); |
62 | conf.clearAll(); | ||
60 | Session* se= 0l; | 63 | Session* se= 0l; |
61 | // FIXME save | 64 | // FIXME save |
62 | } | 65 | } |