summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profilemanager.cpp
authorzecke <zecke>2002-10-02 12:25:01 (UTC)
committer zecke <zecke>2002-10-02 12:25:01 (UTC)
commit6d20f295c578281b043073a5c0dd668fe754581a (patch) (unidiff)
treeb34f24c6ad01589dca15eb4ef40640b5e9e57013 /noncore/apps/opie-console/profilemanager.cpp
parentff02919c1d2e83c3cb0dc1c726bf1eb636d1eb38 (diff)
downloadopie-6d20f295c578281b043073a5c0dd668fe754581a.zip
opie-6d20f295c578281b043073a5c0dd668fe754581a.tar.gz
opie-6d20f295c578281b043073a5c0dd668fe754581a.tar.bz2
Commit my files so other people can play with them
Diffstat (limited to 'noncore/apps/opie-console/profilemanager.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/profilemanager.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/noncore/apps/opie-console/profilemanager.cpp b/noncore/apps/opie-console/profilemanager.cpp
index 24256a5..72a5117 100644
--- a/noncore/apps/opie-console/profilemanager.cpp
+++ b/noncore/apps/opie-console/profilemanager.cpp
@@ -76,5 +76,18 @@ void ProfileManager::save( ) {
76 conf.writeEntry( it.key(), it.data() ); 76 conf.writeEntry( it.key(), it.data() );
77 } 77 }
78 } 78 }
79 // FIXME save 79}
80void ProfileManager::setProfiles( const Profile::ValueList& list ) {
81 m_list = list;
82};
83Profile ProfileManager::profile( const QString& name )const {
84 Profile prof;
85 Profile::ValueList::ConstIterator it;
86 for ( it = m_list.begin(); it != m_list.end(); ++it ) {
87 if ( name == (*it).name() ) {
88 prof = (*it);
89 break;
90 }
91 }
92 return prof;
80} 93}