diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:15:03 +0300 |
commit | 67a349cefcb72c7770b98bf645a7eca35695bb2b (patch) | |
tree | 07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/shoplistbox.h | |
parent | 7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff) | |
download | mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2 mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz mv-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip |
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/shoplistbox.h')
-rw-r--r-- | src/gui/widgets/shoplistbox.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/shoplistbox.h b/src/gui/widgets/shoplistbox.h index d471f5886..7f91c3e3a 100644 --- a/src/gui/widgets/shoplistbox.h +++ b/src/gui/widgets/shoplistbox.h @@ -56,12 +56,12 @@ class ShopListBox final : public ListBox /** * Draws the list box. */ - void draw(gcn::Graphics *graphics) override; + void draw(gcn::Graphics *graphics) override final; /** * Returns the height of a row. */ - unsigned int getRowHeight() const override A_WARN_UNUSED + unsigned int getRowHeight() const override final A_WARN_UNUSED { return mRowHeight; } /** @@ -72,7 +72,7 @@ class ShopListBox final : public ListBox /** * Adjust List draw size */ - void adjustSize() override; + void adjustSize() override final; /** * Set on/off the disabling of too expensive items. @@ -80,11 +80,11 @@ class ShopListBox final : public ListBox */ void setPriceCheck(const bool check); - void mouseMoved(gcn::MouseEvent &event) override; + void mouseMoved(gcn::MouseEvent &event) override final; - void mouseReleased(gcn::MouseEvent& mouseEvent) override; + void mouseReleased(gcn::MouseEvent& mouseEvent) override final; - void mouseExited(gcn::MouseEvent& mouseEvent) override; + void mouseExited(gcn::MouseEvent& mouseEvent) override final; void setProtectItems(bool p) { mProtectItems = p; } |