[Panel-devel] KDE/kdebase/workspace

Sebastian Sauer mail at dipe.org
Tue Jul 31 01:32:26 CEST 2007


Aaron J. Seigo wrote:

> On Monday 30 July 2007, Sebastian Sauer wrote:
>> plasma1.patch goes the most easy way to just allow an applet to change
>> the menu. Probably it would be also an idea to just pass a
>> KActionCollection/KAction's and add them to the menu cause that way we
>> arn't limited to a kmenu for the context-stuff
> 
> yes, i like the idea of retrieving QActions. a lot. QList<QAction*>
> contextMenuActions() would be ok, except that "contextMenu" implies a menu
> and you are right that this might be used in non-menu UI, but .. i think
> that's ok. there should probably also be a contextMenuComplete() signal so
> that applets that care to can do a cleanup of their actions...

Patch attached :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plasma4.patch
Type: text/x-diff
Size: 2140 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070731/1a32243e/attachment.bin 


More information about the Panel-devel mailing list