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 ) { m_conf = prof.m_conf; return *this; } Profile::~Profile() { } +QMap<QString, QString> Profile::conf()const { + return m_conf; +} QString Profile::name()const { return m_name; } QString Profile::ioLayerName()const { return m_ioLayer; } @@ -101,6 +104,9 @@ int Profile::readNumEntry( const QString& key, int def )const { } return def; } bool Profile::readBoolEntry( const QString& key, bool def )const { return readNumEntry( key, def ); } +void Profile::setConf( const QMap<QString, QString>& conf ) { + m_conf = conf; +}; |