[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Thesaurus KDataTool
From:       Daniel Naber <daniel.naber () t-online ! de>
Date:       2001-11-11 21:28:52
[Download RAW message or body]

On Sunday 11 November 2001 15:31, David Faure wrote:

> Try (QPopupMenu*)factory()->container("tools",this)   (where this is the
> KWView) That's what we use to get hold of RMB-popupmenus defined in an
> XML-UI file, I think it also works with menubar-popupmenus.

I don't find a place where QPopupMenu*)factory() does not return 0, i.e. 
the code above will crash when used in KWView's constructor or 
KWView::createGUI etc.

Regards
 Daniel

-- 
http://www.danielnaber.de
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic