Redirect unhandled Esc-key-presses to plugins

Review Request #104466 - Created April 2, 2012 and submitted

Information
Kåre Särs
kate
Reviewers
kate
cullmann, dhaumann
This patch catches unhandled Esc-key-presses in KateMainWindow and adds a signal that is forwarded by Kate::MainWindow to anybody interested in the signal. The patch also adds support for handling the signal in the search-plugin.
The search-plugin gets the signal and does what it is supposed to do. Hide the view if visible and clear the selections if not. The signal is not emitted when the Esc-key is used to close the search-bar or clear it's selections.

Issues

  • 2
  • 0
  • 0
  • 2
Description From Last Updated
as you install the event filter for "this", you probably can also reimplement protected: virtual bool QWidget::event(QEvent* event); Dominik Haumann Dominik Haumann
This adds a function in Kate Apps public interfaces. Is this binary compatible? do we care? Dominik Haumann Dominik Haumann
Kåre Särs
Dominik Haumann
Christoph Cullmann
Christoph Cullmann
Commit Hook
Kåre Särs
Review request changed

Status: Closed (submitted)

Loading...