]> cloud.milkyroute.net Git - dolphin.git/commit
Make sure that key presses are handled in KItemListController
authorFrank Reininghaus <frank78ac@googlemail.com>
Wed, 10 Aug 2011 12:30:32 +0000 (14:30 +0200)
committerFrank Reininghaus <frank78ac@googlemail.com>
Wed, 10 Aug 2011 12:30:32 +0000 (14:30 +0200)
commit6d6fe76dcf46ae71e31d730981118cdcddb16f8b
treef70ce739ecf9fb35b22f561f9f745b9ec62e5964
parent2e3b7e6dd3b051b3d9cb9799e1dd22f8376d2957
Make sure that key presses are handled in KItemListController

Key press events are forwarded from KItemListContainer to
KItemListController. Right now, only the 'Home' and 'End' keys
are handled (arrow keys require some more work because their action
depends on the view mode).
Note:
1. Before key presses are handled, the view has to be clicked with
   the mouse. It seems that the view does not have the keyboard
   focus initially.
2. The view does not scroll to the new current item yet.
src/kitemviews/kitemlistcontainer.cpp
src/kitemviews/kitemlistcontainer.h
src/kitemviews/kitemlistcontroller.cpp