From b26fc689da4e1e8e02c8f71904a70ce5c156b482 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 Dec 2017 06:54:37 +0300 Subject: Add missing final / notfinal keywords to classes. --- src/events/inputguievent.h | 2 +- src/events/keyevent.h | 2 +- src/events/mouseevent.h | 2 +- src/events/selectionevent.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/events') diff --git a/src/events/inputguievent.h b/src/events/inputguievent.h index 2a702db91..dc4dfe427 100644 --- a/src/events/inputguievent.h +++ b/src/events/inputguievent.h @@ -71,7 +71,7 @@ * * @author Olof Naessén */ -class InputGuiEvent: public Event +class InputGuiEvent notfinal : public Event { public: /** diff --git a/src/events/keyevent.h b/src/events/keyevent.h index b08b57f9d..e8fea72ed 100644 --- a/src/events/keyevent.h +++ b/src/events/keyevent.h @@ -81,7 +81,7 @@ class Widget; /** * Represents a key event. */ -class KeyEvent: public InputGuiEvent +class KeyEvent final : public InputGuiEvent { public: /** diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h index 3a3a70f0a..cd43af96b 100644 --- a/src/events/mouseevent.h +++ b/src/events/mouseevent.h @@ -76,7 +76,7 @@ class Widget; * * @author Olof Naessén */ -class MouseEvent: public InputGuiEvent +class MouseEvent final : public InputGuiEvent { public: /** diff --git a/src/events/selectionevent.h b/src/events/selectionevent.h index 06d66cd04..51b0d4f70 100644 --- a/src/events/selectionevent.h +++ b/src/events/selectionevent.h @@ -75,7 +75,7 @@ class Widget; * * @author Olof Naessén */ -class SelectionEvent final: public Event +class SelectionEvent final : public Event { public: /** -- cgit v1.2.3-70-g09d2