summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabbedarea.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/tabbedarea.h
parent7d57a3aaa1fec1f28fa8c65e6e5ca56b97871cc2 (diff)
downloadmanaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.gz
manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.bz2
manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.tar.xz
manaplus-67a349cefcb72c7770b98bf645a7eca35695bb2b.zip
add final keyword to widgets files.
Diffstat (limited to 'src/gui/widgets/tabbedarea.h')
-rw-r--r--src/gui/widgets/tabbedarea.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/widgets/tabbedarea.h b/src/gui/widgets/tabbedarea.h
index 115d41095..449d8c51a 100644
--- a/src/gui/widgets/tabbedarea.h
+++ b/src/gui/widgets/tabbedarea.h
@@ -60,7 +60,7 @@ class TabbedArea final : public Widget2,
/**
* Draw the tabbed area.
*/
- void draw(gcn::Graphics *graphics) override;
+ void draw(gcn::Graphics *graphics) override final;
/**
* Return how many tabs have been created.
@@ -114,7 +114,7 @@ class TabbedArea final : public Widget2,
/**
* Overload the logic function since it's broken in guichan 0.8.
*/
- void logic() override;
+ void logic() override final;
int getContainerHeight() const A_WARN_UNUSED
{ return mWidgetContainer->getHeight(); }
@@ -138,7 +138,7 @@ class TabbedArea final : public Widget2,
void setSelectedTabByName(const std::string &name);
- void widgetResized(const gcn::Event &event) override;
+ void widgetResized(const gcn::Event &event) override final;
/*
void moveLeft(Tab *tab);
@@ -147,11 +147,11 @@ class TabbedArea final : public Widget2,
*/
void adjustTabPositions();
- void action(const gcn::ActionEvent& actionEvent) override;
+ void action(const gcn::ActionEvent& actionEvent) override final;
// Inherited from MouseListener
- void mousePressed(gcn::MouseEvent &mouseEvent) override;
+ void mousePressed(gcn::MouseEvent &mouseEvent) override final;
void enableScrollButtons(const bool enable);
@@ -167,7 +167,7 @@ class TabbedArea final : public Widget2,
bool getFollowDownScroll() const A_WARN_UNUSED
{ return mFollowDownScroll; }
- void keyPressed(gcn::KeyEvent& keyEvent) override;
+ void keyPressed(gcn::KeyEvent& keyEvent) override final;
void setBlockSwitching(const bool b)
{ mBlockSwitching = b; }