From kde-devel Fri Feb 22 14:42:41 2008 From: Paulo Moura Guedes Date: Fri, 22 Feb 2008 14:42:41 +0000 To: kde-devel Subject: Re: KXMLGUI Message-Id: <200802221442.41985.moura () kdewebdev ! org> X-MARC-Message: https://marc.info/?l=kde-devel&m=120369141715198 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(), 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 <<