KModifierKeyInfo moved to kdereview

Christoph Feck christoph at
Tue Apr 28 14:15:00 BST 2009

Am Monday 27 April 2009 14:06:49 schrieb Michael Leupold:
> Christoph Feck wrote:
> > Am Monday 27 April 2009 10:12:56 schrieb Michael Leupold:
> >> I just moved KModifierKeyInfo to kdereview. This class provides a
> >> high-level interface to modifier key state detection
> >
> > Hm, shouldn't the "synchronous" methods be static and not install any xkb
> The class is generally meant for client code that wants to get updates
> about the state of the modifiers and that uses isPressed/Latched/Locked to
> get the initial state. I can't think of a use-case where someone would just
> need the synchronous methods - at least nothing that would justify
> additional complexity.

Sorry, you are right. I could not find a use case either. The synchronous 
getters are used to get the initial state (no need to wait for a signal), 
while the signals are used to get the subsequent changes. Perfect :)

Christoph Feck (kdepepo)

More information about the kde-core-devel mailing list