diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:17:17 +0300 |
commit | d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (patch) | |
tree | a2cec0346050bd47660b33654ec05bd85141af3d /src/gui/focushandler.h | |
parent | 10be802d2640bad75222736216cdcfcd7fb6a521 (diff) | |
download | manaplus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.gz manaplus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.bz2 manaplus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.xz manaplus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.zip |
add final keyword to gui files.
Diffstat (limited to 'src/gui/focushandler.h')
-rw-r--r-- | src/gui/focushandler.h | 13 |
1 files changed, 7 insertions, 6 deletions
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: /** |