Review Request 120813: Set shortcuts via invoked meta method

Christoph Feck christoph at maxiom.de
Sun Oct 26 16:12:24 UTC 2014



> On Oct. 26, 2014, 3:06 p.m., David Faure wrote:
> > I assume these actions are configurable in the kcharselect application? Otherwise it's not really useful.

Yep, it uses XmlGui with standard Configure Shortcuts dialog


- Christoph


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


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/102f43d7/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list