summaryrefslogtreecommitdiff
path: root/src/gui/focushandler.h
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-01-26 16:07:54 +0100
commit5afe88df2538274859a162ffd63ed52118e80c19 (patch)
treeb610dfd58dc748fd63f49565b2a43eea2316714f /src/gui/focushandler.h
parent73ba2a95f5bd4a0dd09af52d5864800be2b0a4c6 (diff)
downloadmana-5afe88df2538274859a162ffd63ed52118e80c19.tar.gz
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.bz2
mana-5afe88df2538274859a162ffd63ed52118e80c19.tar.xz
mana-5afe88df2538274859a162ffd63ed52118e80c19.zip
Apply C++11 fixits
modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using
Diffstat (limited to 'src/gui/focushandler.h')
-rw-r--r--src/gui/focushandler.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/focushandler.h b/src/gui/focushandler.h
index debfefe8..eb59bcf3 100644
--- a/src/gui/focushandler.h
+++ b/src/gui/focushandler.h
@@ -39,27 +39,27 @@ class FocusHandler : 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);
+ void requestModalFocus(gcn::Widget *widget) override;
/**
* 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);
+ void releaseModalFocus(gcn::Widget *widget) override;
/**
* Removes a widget from the focus handler. Also makes sure no dangling
* pointers remain in modal focus stack.
*/
- void remove(gcn::Widget *widget);
+ void remove(gcn::Widget *widget) override;
/**
* Overloaded to allow windows to move to the top when one of their
* widgets is tabbed to when tabbing through focusable elements.
*/
- void tabNext();
- void tabPrevious();
+ void tabNext() override;
+ void tabPrevious() override;
private:
/**