XMLGUI: preventing merges into a specific toolbar

Andras Mantia amantia at kde.org
Tue Apr 29 14:52:56 BST 2008


On Tuesday 29 April 2008 16:42:07 David Faure wrote:
> It's an idea, but is it doable, given that KXmlGuiWindow is the
> KXmlGuiBuilder of its factory() already?

I don't know. :) What I did is to change how things are plugged in a KPart 
plugin (to a KXmlGuiClient). That works. :)

> I'm not sure you can set up 
> another builder for a given factory (and you'd have to forward all method
> calls...) 

In this case yes, you need to save the pointer to the old builder and call it 
from the new one for anything you don't want to do yourself.

> I'd prefer a clean filter concept being introduced :) 

I do not oppose to this idea. :)

Andras

-- 
 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org




More information about the kde-core-devel mailing list