diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
commit | 10be802d2640bad75222736216cdcfcd7fb6a521 (patch) | |
tree | 5bab90179109a101d2a77ee6bd34326b1cd233df /src/gui/windows/inventorywindow.h | |
parent | 67a349cefcb72c7770b98bf645a7eca35695bb2b (diff) | |
download | plus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.gz plus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.bz2 plus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.xz plus-10be802d2640bad75222736216cdcfcd7fb6a521.zip |
add final keyword to windows files.
Diffstat (limited to 'src/gui/windows/inventorywindow.h')
-rw-r--r-- | src/gui/windows/inventorywindow.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h index a7ee5f31e..a5fabe8f2 100644 --- a/src/gui/windows/inventorywindow.h +++ b/src/gui/windows/inventorywindow.h @@ -69,14 +69,14 @@ class InventoryWindow final : public Window, */ ~InventoryWindow(); - void postInit() override; + void postInit() override final; void storeSortOrder(); /** * Called when receiving actions from the widgets. */ - void action(const gcn::ActionEvent &event) override; + void action(const gcn::ActionEvent &event) override final; /** * Returns the selected item. @@ -91,27 +91,27 @@ class InventoryWindow final : public Window, /** * Handles closing of the window */ - void widgetHidden(const gcn::Event &event) override; + void widgetHidden(const gcn::Event &event) override final; /** * Handles the mouse clicks. */ - void mouseClicked(gcn::MouseEvent &event) override; + void mouseClicked(gcn::MouseEvent &event) override final; /** * Handles the key presses. */ - void keyPressed(gcn::KeyEvent &event) override; + void keyPressed(gcn::KeyEvent &event) override final; /** * Handles the key releases. */ - void keyReleased(gcn::KeyEvent &event) override; + void keyReleased(gcn::KeyEvent &event) override final; /** * Updates labels to currently selected item. */ - void valueChanged(const gcn::SelectionEvent &event) override; + void valueChanged(const gcn::SelectionEvent &event) override final; /** * Sets whether the split button should be shown. @@ -138,19 +138,19 @@ class InventoryWindow final : public Window, void updateDropButton(); void processEvent(const Channels channel, - const DepricatedEvent &event) override; + const DepricatedEvent &event) override final; void updateButtons(const Item *item = nullptr); bool isInputFocused() const A_WARN_UNUSED; - void widgetResized(const gcn::Event &event) override; + void widgetResized(const gcn::Event &event) override final; - void mouseMoved(gcn::MouseEvent &event) override; + void mouseMoved(gcn::MouseEvent &event) override final; - void mouseExited(gcn::MouseEvent &event) override; + void mouseExited(gcn::MouseEvent &event) override final; - void setVisible(bool visible) override; + void setVisible(bool visible) override final; static bool isAnyInputFocused(); |