On Monday 13 October 2003 09:53, Richard Bown wrote:
>
> Hm, _where_ seems to be my problem.   If I want to add a popup to a menu
> element in matrixview and notationview then I have to add the XML element
> to both rc files and then connect up hopefully a common slot (in editview
> say) to that recovered menu item in the view specific code.  Hence I have
> to addClient() and recover the popup menu in the specialised view and
> connect up to that common slot?  Tried something like that and it doesn't
> work.

Well just commit your code (commented out if it crashes) and I'll take a look. 
I still have no precise idea of what you're trying to do (where are you 
adding the menu, in an edit view, somewhere else ?).

> Does KMainWindow::guiFactory() have anything to do with this?  I dunno -
> I'm confused all to fuck.

Apparently guiFactory() is a synonym of factory(), which is inherited from 
KXMLGUIClient(), and thus is the one you want to use. guiFactory() isn't 
documented, Simon (the main XMLGUI author) never mentionned it when I talked 
to him about similar stuff, so I suspect we shouldn't care about it.

-- 
                                Guillaume
                                http://www.telegraph-road.org


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Rosegarden-devel mailing list
[EMAIL PROTECTED] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to