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

List:       kde-devel
Subject:    Re: KXMLGUI
From:       Paulo Moura Guedes <moura () kdewebdev ! org>
Date:       2008-02-22 14:42:41
Message-ID: 200802221442.41985.moura () kdewebdev ! org
[Download RAW message or body]

On Friday 22 February 2008 10:09:29 Kevin Krammer wrote:
> On Friday 22 February 2008, Paulo Moura Guedes wrote:
> > Hi,
> >
> > One can inspect the DOM of a KXMLGUIClient but it is possible, for
> > example, to get a KMenu instance, given the name of the menu? One can
> > always get the MainWindow and then call findChildren<QMenu*>(), but is
> > there a better way?
>
> See
> KXMLGUIFactory::container()
>
> You can get the factory from the client.

Great!

Thanks,
Paulo
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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