Review Request: Plasma::IconWidget::removeIconAction(QAction*) method add request.

0xDeadC0de roguestar191 at comcast.net
Wed Jan 28 00:56:29 CET 2009


Can you not just do setAction(NULL); to have the same effect?

On Sat, 2009-01-24 at 15:25 +0000, Alessandro Diaferia wrote:
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://reviewboard.vidsolbach.de/r/343/
> -----------------------------------------------------------
> 
> Review request for Plasma.
> 
> 
> Summary
> -------
> 
> Yo guys, it's been a looong time since my last patch.. aanyways :D I found the need for this method while working at the DeviceNotifier refactor since i'm using IconWidget as you can see in the screenshot. I simply needed a quick way to add and *remove* the eject action, but without this method i had to delete and re-create an IconWidget. I hope this is the right way to go for this method.. Waiting for your reply, hugs =)
> 
> 
> Diffs
> -----
> 
>   trunk/KDE/kdelibs/plasma/widgets/iconwidget.h
>   trunk/KDE/kdelibs/plasma/widgets/iconwidget.cpp
> 
> Diff: http://reviewboard.vidsolbach.de/r/343/diff
> 
> 
> Testing
> -------
> 
> 
> Screenshots
> -----------
> 
> 
>   http://reviewboard.vidsolbach.de/r/343/s/107/
> 
> 
> Thanks,
> 
> Alessandro
> 
> _______________________________________________
> Plasma-devel mailing list
> Plasma-devel at kde.org
> https://mail.kde.org/mailman/listinfo/plasma-devel



More information about the Plasma-devel mailing list