summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shoplistbox.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:15:03 +0300
commit67a349cefcb72c7770b98bf645a7eca35695bb2b (patch)
tree07dbd166893ef783e56e361ed5be7559fef7a2a4 /src/gui/widgets/shoplistbox.h
parent7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff)
downloadplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz
plus-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/shoplistbox.h')
-rw-r--r--src/gui/widgets/shoplistbox.h12
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; }