[PATCH] RunnerManager
Aaron J. Seigo
aseigo at kde.org
Mon Apr 21 17:39:24 CEST 2008
On Monday 21 April 2008, Jordi Polo wrote:
> - The configuration. I want RunnerManager to configure itself. Potentially
> other programs not only krunner can use it. That means reading its own
> configuration file. I am not sure if the right approach is create a
> runnermanagerrc. So far There is a bunch of commented code in the
> constructor. Wait for advise.
ah, i don't think i finished this topic in my last email (i started it before
driving p. to school, then finished it when i got back ;) ...
i think it makes sense to, by default, use this for config:
KConfigGroup config(KGlobal::config(), "PlasmaRunnerManager");
that should not conflict with anything, one would hope. but that only gets us
to one unique configuration per application. so i can think of a couple ways
to address this:
* take a name in the ctor and use that as a subgroup name (i don't really like
this one, tbh)
* have another ctor that takes a KConfigGroup which is used as the parent
group. the current ctor will use KGlobal::config(), the new one will instead
use the passed in KConfigGroup
--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43
KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080421/95a49d06/attachment.pgp
More information about the Panel-devel
mailing list