beautifying code
Simon Hausmann
sh at caldera.de
Thu Sep 21 10:56:26 UTC 2000
On Wed, Sep 20, 2000 at 11:56:12AM +0200, Falk Brettschneider wrote:
> > Where exactly do you need an event/notification for updating you GUI?
> Whenever a view is added I must update the "Window" menu. That means to
> add a new action to my dynamical action list, call plugActionList and to
> reassign that list to the GUI (like defined in the XML file).
> Such an reassign of the KParts GUI is triggered by the
> GUIActivateEvent...as far as I understood you right.
Hmm, perhaps it's easier if you just use a KActionMenu. Then you
don't have to worry about events and other stuff but just have
a reference to a QPopupMenu (which is plugged into the menubar)
and handle it on your own.
Bye,
Simon
More information about the KDevelop-devel
mailing list