Diffstat (limited to 'noncore/apps/opie-console/profile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profile.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/profile.cpp b/noncore/apps/opie-console/profile.cpp index cdf595e..c8f5eb0 100644 --- a/noncore/apps/opie-console/profile.cpp +++ b/noncore/apps/opie-console/profile.cpp | |||
@@ -30,12 +30,15 @@ Profile &Profile::operator=( const Profile& prof ) { | |||
30 | m_conf = prof.m_conf; | 30 | m_conf = prof.m_conf; |
31 | 31 | ||
32 | return *this; | 32 | return *this; |
33 | } | 33 | } |
34 | Profile::~Profile() { | 34 | Profile::~Profile() { |
35 | } | 35 | } |
36 | QMap<QString, QString> Profile::conf()const { | ||
37 | return m_conf; | ||
38 | } | ||
36 | QString Profile::name()const { | 39 | QString Profile::name()const { |
37 | return m_name; | 40 | return m_name; |
38 | } | 41 | } |
39 | QString Profile::ioLayerName()const { | 42 | QString Profile::ioLayerName()const { |
40 | return m_ioLayer; | 43 | return m_ioLayer; |
41 | } | 44 | } |
@@ -101,6 +104,9 @@ int Profile::readNumEntry( const QString& key, int def )const { | |||
101 | } | 104 | } |
102 | return def; | 105 | return def; |
103 | } | 106 | } |
104 | bool Profile::readBoolEntry( const QString& key, bool def )const { | 107 | bool Profile::readBoolEntry( const QString& key, bool def )const { |
105 | return readNumEntry( key, def ); | 108 | return readNumEntry( key, def ); |
106 | } | 109 | } |
110 | void Profile::setConf( const QMap<QString, QString>& conf ) { | ||
111 | m_conf = conf; | ||
112 | }; | ||