[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: branches/KDE/3.5/kdeedu/blinken/src
From: Frerich Raabe <raabe () kde ! org>
Date: 2007-02-21 14:42:06
Message-ID: 200702211542.07066.raabe () kde ! org
[Download RAW message or body]
On Wednesday 21 February 2007 15:32, Anne-Marie Mahfouf wrote:
> --- branches/KDE/3.5/kdeedu/blinken/src/button.cpp #635964:635965
> @@ -18,6 +18,7 @@
> button::button(blinkenGame::color c) : m_selected(false), m_color(c)
> {
> KConfig *kc = kapp->config();
> + kc->setGroup("General");
> QString cs = getColorString();
> QString pixmap = QString("images/%1h.png").arg(cs);
>
> @@ -58,6 +59,7 @@
> m_selected = false;
>
> KConfig *kc = kapp->config();
> + kc->setGroup("General");
> kc->writeEntry(getColorString(), key);
> kc->sync();
> }
I don't remember where, but I saw some interesting article which talks about
using KConfigGroup for cases like this. :-)
- Frerich
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic