summaryrefslogtreecommitdiff
path: root/src/gui/widgets/shortcutcontainer.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 02:34:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 21:22:21 +0300
commit4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch)
tree7a2bbae95b5f6642731f2a1257913baad71d028d /src/gui/widgets/shortcutcontainer.h
parent3dcf21babe03cee5080a25e787e1d7e72124288e (diff)
downloadManaVerse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz
ManaVerse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2
ManaVerse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz
ManaVerse-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip
Add override keyword to most overriden methods.
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.h')
-rw-r--r--src/gui/widgets/shortcutcontainer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/widgets/shortcutcontainer.h b/src/gui/widgets/shortcutcontainer.h
index 6de2d1963..2551bdb17 100644
--- a/src/gui/widgets/shortcutcontainer.h
+++ b/src/gui/widgets/shortcutcontainer.h
@@ -55,28 +55,28 @@ class ShortcutContainer : public gcn::Widget,
/**
* Draws the shortcuts
*/
- virtual void draw(gcn::Graphics *graphics) = 0;
+ virtual void draw(gcn::Graphics *graphics) override = 0;
/**
* Invoked when a widget changes its size. This is used to determine
* the new height of the container.
*/
- virtual void widgetResized(const gcn::Event &event);
+ virtual void widgetResized(const gcn::Event &event) override;
/**
* Handles mouse when dragged.
*/
- virtual void mouseDragged(gcn::MouseEvent &event) = 0;
+ virtual void mouseDragged(gcn::MouseEvent &event) override = 0;
/**
* Handles mouse when pressed.
*/
- virtual void mousePressed(gcn::MouseEvent &event) = 0;
+ virtual void mousePressed(gcn::MouseEvent &event) override = 0;
/**
* Handles mouse release.
*/
- virtual void mouseReleased(gcn::MouseEvent &event) = 0;
+ virtual void mouseReleased(gcn::MouseEvent &event) override = 0;
int getMaxItems() const
{ return mMaxItems; }