summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profile.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/profile.cpp') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-console/profile.cpp6
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}
34Profile::~Profile() { 34Profile::~Profile() {
35} 35}
36QMap<QString, QString> Profile::conf()const {
37 return m_conf;
38}
36QString Profile::name()const { 39QString Profile::name()const {
37 return m_name; 40 return m_name;
38} 41}
39QString Profile::ioLayerName()const { 42QString 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}
104bool Profile::readBoolEntry( const QString& key, bool def )const { 107bool Profile::readBoolEntry( const QString& key, bool def )const {
105 return readNumEntry( key, def ); 108 return readNumEntry( key, def );
106} 109}
110void Profile::setConf( const QMap<QString, QString>& conf ) {
111 m_conf = conf;
112};