Diffstat (limited to 'noncore/apps/opie-console/profile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/profile.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/apps/opie-console/profile.cpp b/noncore/apps/opie-console/profile.cpp index ffd672e..1a94619 100644 --- a/noncore/apps/opie-console/profile.cpp +++ b/noncore/apps/opie-console/profile.cpp | |||
@@ -69,29 +69,27 @@ void Profile::setBackground( int back ) { | |||
69 | } | 69 | } |
70 | void Profile::setForeground( int fore ) { | 70 | void Profile::setForeground( int fore ) { |
71 | m_fore = fore; | 71 | m_fore = fore; |
72 | } | 72 | } |
73 | void Profile::setTerminal( int term ) { | 73 | void Profile::setTerminal( int term ) { |
74 | m_terminal = term; | 74 | m_terminal = term; |
75 | } | 75 | } |
76 | /* config stuff */ | 76 | /* config stuff */ |
77 | void Profile::clearConf() { | 77 | void Profile::clearConf() { |
78 | m_conf.clear(); | 78 | m_conf.clear(); |
79 | } | 79 | } |
80 | void Profile::writeEntry( const QString& key, const QString& value ) { | 80 | void Profile::writeEntry( const QString& key, const QString& value ) { |
81 | qWarning("key %s value %s", key.latin1(), value.latin1() ); | ||
82 | m_conf.replace( key, value ); | 81 | m_conf.replace( key, value ); |
83 | } | 82 | } |
84 | void Profile::writeEntry( const QString& key, int num ) { | 83 | void Profile::writeEntry( const QString& key, int num ) { |
85 | qWarning("num"); | ||
86 | writeEntry( key, QString::number( num ) ); | 84 | writeEntry( key, QString::number( num ) ); |
87 | } | 85 | } |
88 | void Profile::writeEntry( const QString& key, bool b ) { | 86 | void Profile::writeEntry( const QString& key, bool b ) { |
89 | writeEntry( key, QString::number(b) ); | 87 | writeEntry( key, QString::number(b) ); |
90 | } | 88 | } |
91 | void Profile::writeEntry( const QString& key, const QStringList& lis, const QChar& sep ) { | 89 | void Profile::writeEntry( const QString& key, const QStringList& lis, const QChar& sep ) { |
92 | writeEntry( key, lis.join(sep) ); | 90 | writeEntry( key, lis.join(sep) ); |
93 | } | 91 | } |
94 | QString Profile::readEntry( const QString& key, const QString& deflt )const { | 92 | QString Profile::readEntry( const QString& key, const QString& deflt )const { |
95 | QMap<QString, QString>::ConstIterator it; | 93 | QMap<QString, QString>::ConstIterator it; |
96 | it = m_conf.find( key ); | 94 | it = m_conf.find( key ); |
97 | 95 | ||