From d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:17:17 +0300 Subject: add final keyword to gui files. --- src/gui/focushandler.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/gui/focushandler.h') diff --git a/src/gui/focushandler.h b/src/gui/focushandler.h index 5965ff5ce..de61db3c4 100644 --- a/src/gui/focushandler.h +++ b/src/gui/focushandler.h @@ -48,30 +48,31 @@ class FocusHandler final : public gcn::FocusHandler * then that widget loses modal focus and will regain it after this * widget releases his modal focus. */ - void requestModalFocus(gcn::Widget *widget) override; + void requestModalFocus(gcn::Widget *widget) override final; /** * Releases modal focus of a widget. When this widget had modal focus * and there are other widgets that had also requested modal focus, * then modal focus will be transfered to the last of those. */ - void releaseModalFocus(gcn::Widget *widget) override; + void releaseModalFocus(gcn::Widget *widget) override final; /** * Removes a widget from the focus handler. Also makes sure no dangling * pointers remain in modal focus stack. */ - void remove(gcn::Widget *widget) override; + void remove(gcn::Widget *widget) override final; /** * Overloaded to allow windows to move to the top when one of their * widgets is tabbed to when tabbing through focusable elements. */ - void tabNext() override; + void tabNext() override final; - void tabPrevious() override; + void tabPrevious() override final; - void distributeFocusGainedEvent(const gcn::Event &focusEvent) override; + void distributeFocusGainedEvent(const gcn::Event &focusEvent) + override final; private: /** -- cgit v1.2.3-70-g09d2