[PATCH] RunnerManager

Jordi Polo mumismo at gmail.com
Mon May 5 08:59:24 CEST 2008


> Yes, I am. :) I svn up'd last week and krunner kept crashing. So I've
> spent the past few days cleaning up some things. I'll have a
> clean-up/config patch ready in a day. :) In the meantime, the
> spellcheck runner should serve as an example how to get runners to
> support config options.
>
> My only problem is access to krunnerrc is hardcoded. I was wondering
> if it would be more feasible to have a global RunnerManager instance
> and access the config from there.
>

The current RunnerManager can be created with an kconfiggroup object, then
RunnerManager will read its configuration from there. This way each
application using runners can have its own configuration. Or use the default
global configuration if no KConfigGroup is provided.
IMHO RunnerManager can have a .config() method returning the KConfigGroup it
is using to let runners write their configuration there. Runners will need
to get a reference to RunnerManager though...



>
> Cheers,
> Ryan
> _______________________________________________
> Panel-devel mailing list
> Panel-devel at kde.org
> https://mail.kde.org/mailman/listinfo/panel-devel
>



-- 
Jordi Polo Carres
NLP laboratory - NAIST
http://www.bahasara.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20080505/114591da/attachment-0001.html 


More information about the Panel-devel mailing list