[PATCH] Shortcuts schemes for KDE application

Alexander Dymo dymo at ukrpost.ua
Wed Apr 16 14:38:18 BST 2008


>  This is really cool stuff! Till now (for Krusader [1]) we provide a simple
> import/export function which dumps the shortcut info into a config file.
>  Is it possible to extend your poposal to handle more then just shortcut's?
> We're esp. interested in scheming the menu too. Our default menu structure
> conforms to KDE's        HIG but may of our users prefer a layout similar to
> Midnight Commander's ("Left", "File", "Command", "Options", "Right").

If you load only xmlguiclients which you have control on, you can just
setXMLFile() on them, but that won't work for parts you don't control
because the method is protected.

Anyways, it should be possible to extend this and load schemed menus
as well. Currently I read onlyActionProperties tag, you may want to
read Menu and ToolBar tags also.




More information about the kde-core-devel mailing list