Patch for KShortcutsEditor and KXMLGui

Andreas Pakulat apaku at
Sat Sep 20 22:21:06 BST 2008

On 20.09.08 22:54:52, Michael Jansen wrote:
> Hi all
> I tried the following patch for KShortcutsEditor so applications using KXMLGui 
> would not have their shortcuts show in one big group. I tried to show the 
> action of a collection under the short description or name of their component. 
> It didn't work out as i expected. That aboutData part isn't really up to date 
> or used at all in kde's code.
> Apply the patch and have a look at kate and kdevelop 
> In kdevelop you can see they do not provide about datas for their plugins. 
> they just use different component names. 

I think your information is a bit outdated. If you look at the API docs
for KPluginFactory you'll see that the constructors taking KAboutData
are deprecated, thats probably the reason that Konqueror plugins look so
"well", they're simply not ported (I didn't check the code, just
guesswork here). In fact if anything should fill out the aboutData of
the component of a KPluginFactory, then its the KPluginFactory, by
reading the information from the plugins .desktop file. I don't see a
point in replicating the information in code when everythings already
there in the .desktop file.

You will obey or molten silver will be poured into your ears.

More information about the kde-core-devel mailing list