diff options
Diffstat (limited to 'vcl/qt5/Qt5Widget.hxx')
-rw-r--r-- | vcl/qt5/Qt5Widget.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5Widget.hxx b/vcl/qt5/Qt5Widget.hxx index bacd6ab403d0..8ba955e8cf69 100644 --- a/vcl/qt5/Qt5Widget.hxx +++ b/vcl/qt5/Qt5Widget.hxx @@ -23,6 +23,8 @@ class Qt5Frame; class Qt5Object; +class QFocusEvent; +class QKeyEvent; class QMouseEvent; class QMoveEvent; class QPaintEvent; @@ -37,8 +39,13 @@ class Qt5Widget Qt5Frame *m_pFrame; - void mouseButtonEvent( QMouseEvent*, bool ); + bool handleKeyEvent( QKeyEvent*, bool ); + void handleMouseButtonEvent( QMouseEvent*, bool ); + virtual void focusInEvent( QFocusEvent* ) override; + virtual void focusOutEvent( QFocusEvent* ) override; + virtual void keyPressEvent( QKeyEvent* ) override; + virtual void keyReleaseEvent( QKeyEvent* ) override; virtual void mouseMoveEvent( QMouseEvent*) override; virtual void mousePressEvent( QMouseEvent*) override; virtual void mouseReleaseEvent( QMouseEvent*) override; |