Review Request 121697: Add MenuItem enabled property
David Edmundson
david at davidedmundson.co.uk
Sat Dec 27 17:24:17 UTC 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/121697/#review72558
-----------------------------------------------------------
src/declarativeimports/plasmacomponents/qmenuitem.h
<https://git.reviewboard.kde.org/r/121697/#comment50585>
this is missing a connect
m_action, enabledChanged, this, enabledChanged
- David Edmundson
On Dec. 27, 2014, 4:02 p.m., Kai Uwe Broulik wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121697/
> -----------------------------------------------------------
>
> (Updated Dec. 27, 2014, 4:02 p.m.)
>
>
> Review request for Plasma.
>
>
> Repository: plasma-framework
>
>
> Description
> -------
>
> This forwards the internal QAction's enabled property.
>
> It's a bit unfornuate that you cannot use QQuickAction (aka QtControls.Action {}) for "action", only C++ QAction works.
>
>
> Diffs
> -----
>
> src/declarativeimports/plasmacomponents/qmenuitem.h f8629f0
> src/declarativeimports/plasmacomponents/qmenuitem.cpp 1d9076f
>
> Diff: https://git.reviewboard.kde.org/r/121697/diff/
>
>
> Testing
> -------
>
> MenuItem with "enabled" bound to things properly activates and deactivates the entry.
>
>
> Thanks,
>
> Kai Uwe Broulik
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20141227/1e02f947/attachment.html>
More information about the Plasma-devel
mailing list