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

List:       kde-devel
Subject:    Re: how to add a KAction to my menubar and toolbar
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date:       2001-09-15 22:17:22
[Download RAW message or body]

On Dienstag, 11. September 2001 04:40 ??? wrote:
> I define a KAction *newAct = new KAction( ......),
> and a KStdAction::open(.....),
> the problem is how can I add newAct in my menu/File/newAct.

See the KDE2 Development book for example. Usually you "plug" it in manually, 
i.e.
newAct->plug( somePopupMenuYouHave );
or use XML-UI.

Cheers
Carsten Pfeiffer
 
>> 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