Revision 4880a16...

Go back to digest for 30th December 2012

Other in KDE Base

Valentin Rusu committed changes in [kdelibs/frameworks] /:

Remove gesture factilities from KAction

The gesture facilities are now found in the KGestureMap class. Some
new methods have been added to this class to let it handle information
about each action's active and default gesture. See KDE5PORTING.html
for more information about this

I'm not sure the implementation of these methods is very efficient, as it
uses QList's searching. If that proves to slowdown shortcut editing, it
may be rewritten, but the KGestureMap class is actually not used, as one
can see in it's eventFilter method which starts with 'return false' so
this should be let as a TODO for further KF5 releases.

REVIEW: 107973

File Changes

Modified 7 files
  •   KDE5PORTING.html
  •   kdeui/actions/kaction.cpp
  •   kdeui/actions/kaction_p.h
  •   kdeui/dialogs/kshortcutseditor.cpp
  •   kdeui/dialogs/kshortcutseditoritem.cpp
  •   kdeui/shortcuts/kgesturemap.cpp
  •   kdeui/shortcuts/kgesturemap.h
7 files changed in total