summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-console/profile.cpp
Unidiff
Diffstat (limited to 'noncore/apps/opie-console/profile.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-console/profile.cpp2
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}
70void Profile::setForeground( int fore ) { 70void Profile::setForeground( int fore ) {
71 m_fore = fore; 71 m_fore = fore;
72} 72}
73void Profile::setTerminal( int term ) { 73void Profile::setTerminal( int term ) {
74 m_terminal = term; 74 m_terminal = term;
75} 75}
76/* config stuff */ 76/* config stuff */
77void Profile::clearConf() { 77void Profile::clearConf() {
78 m_conf.clear(); 78 m_conf.clear();
79} 79}
80void Profile::writeEntry( const QString& key, const QString& value ) { 80void 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}
84void Profile::writeEntry( const QString& key, int num ) { 83void Profile::writeEntry( const QString& key, int num ) {
85 qWarning("num");
86 writeEntry( key, QString::number( num ) ); 84 writeEntry( key, QString::number( num ) );
87} 85}
88void Profile::writeEntry( const QString& key, bool b ) { 86void Profile::writeEntry( const QString& key, bool b ) {
89 writeEntry( key, QString::number(b) ); 87 writeEntry( key, QString::number(b) );
90} 88}
91void Profile::writeEntry( const QString& key, const QStringList& lis, const QChar& sep ) { 89void 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}
94QString Profile::readEntry( const QString& key, const QString& deflt )const { 92QString 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