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

List:       kde-devel
Subject:    Re: KXMLGUI
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2008-02-22 10:09:29
Message-ID: 200802221109.30082.kevin.krammer () gmx ! at
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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.

Cheers,
Kevin
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

["signature.asc" (application/pgp-signature)]

>> 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