Review Request 120813: Set shortcuts via invoked meta method

David Faure faure at kde.org
Sun Oct 26 15:06:41 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/120813/#review69162
-----------------------------------------------------------

Ship it!


I assume these actions are configurable in the kcharselect application? Otherwise it's not really useful.

- David Faure


On Oct. 26, 2014, 2:26 p.m., Christoph Feck wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/120813/
> -----------------------------------------------------------
> 
> (Updated Oct. 26, 2014, 2:26 p.m.)
> 
> 
> Review request for KDE Frameworks, David Faure and Daniel Laidig.
> 
> 
> Repository: kwidgetsaddons
> 
> 
> Description
> -------
> 
> While porting KCharSelect application to KF5, I noticed that KCharSelect widget class still uses QAction::setShortcuts() instead of KActionCollection::setDefaultShortcuts().
> 
> This adds code to invoke setDefaultShortcuts() via QMetaObject - same as for addAction() - so that KCharSelect widget class does not need to depend on kxmlgui.
> 
> For the KActionCollection patch see https://git.reviewboard.kde.org/r/120812/
> 
> 
> Diffs
> -----
> 
>   src/kcharselect.cpp 0d345a4 
> 
> Diff: https://git.reviewboard.kde.org/r/120813/diff/
> 
> 
> Testing
> -------
> 
> None.
> 
> 
> Thanks,
> 
> Christoph Feck
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20141026/28a6a852/attachment.html>


More information about the Kde-frameworks-devel mailing list