RFC: An action class to ease implementation of show/hide-like actions

David Faure faure at kde.org
Fri Sep 10 22:55:25 BST 2010


On Friday 10 September 2010, Richard Moore wrote:
> I wonder perhaps if this shouldn't actually be a feature of KToggleAction?

Good point, it's the way KToggleAction::setCheckedState already worked in 
kde3. The checkbox-in-menus is a change coming from the port to Qt4 QActions.
So from an app developer's point of view, having setCheckedState work this way 
would be ideal. The question is whether it's actually possible to implement it 
that way.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Sponsored by Nokia to work on KDE, incl. Konqueror (http://www.konqueror.org).




More information about the kde-core-devel mailing list