exporting/importing config keys? plus: Mandelbrot news

Marco Martin notmart at gmail.com
Sat Mar 13 11:18:01 CET 2010


On Saturday 13 March 2010, Benoit Jacob wrote:
> Hi,
> 
> I've just made a bunch of Mandelbrot improvements in trunk, plus 1
> bugfix backported to 4.4, see below.

great :)

> I would like to honor this feature request:
> http://forum.kde.org/brainstorm.php#idea55395_page1
> 
> Basically I want to create a right-click desktop menu entry that
> allows to export/import Mandelbrot's configuration to/from a file.
> 
> Does KDE's config system allow that right away? Or should I code my
> own file I/O?
> 
create a new kconfig on a new file, a kconfiggroup on it, then write all your 
config entries copied from the main kconfiggroup

> Also, any example code for adding a right-click menu to a plasma wallpaper?
QList<QAction*> Wallpaper::contextualActions()

(wouldn't make more sense putting it into the config dialog anyways?)

Cheers,
Marco Martin


More information about the Plasma-devel mailing list