dfaure added a comment.
You can send (forward) a key event to a widget (like the QTreeView) using qApp->sendEvent(), rather than trying to call the protected method keyPressEvent() directly. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D8056 To: simgunz, dfaure, #frameworks, #vdg, ngraham Cc: ngraham, alexeymin, #frameworks