diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 02:34:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 21:22:21 +0300 |
commit | 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch) | |
tree | 7a2bbae95b5f6642731f2a1257913baad71d028d /src/gui/itemamountwindow.h | |
parent | 3dcf21babe03cee5080a25e787e1d7e72124288e (diff) | |
download | manaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz manaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2 manaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz manaplus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip |
Add override keyword to most overriden methods.
Diffstat (limited to 'src/gui/itemamountwindow.h')
-rw-r--r-- | src/gui/itemamountwindow.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/itemamountwindow.h b/src/gui/itemamountwindow.h index fd3ef3ab0..bf8b734fe 100644 --- a/src/gui/itemamountwindow.h +++ b/src/gui/itemamountwindow.h @@ -65,7 +65,7 @@ class ItemAmountWindow final : public Window, /** * Called when receiving actions from widget. */ - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; /** * Sets default amount value. @@ -73,15 +73,16 @@ class ItemAmountWindow final : public Window, void resetAmount(); // MouseListener - void mouseMoved(gcn::MouseEvent &event); - void mouseExited(gcn::MouseEvent &event); + void mouseMoved(gcn::MouseEvent &event) override; + + void mouseExited(gcn::MouseEvent &event) override; /** * Schedules the Item Amount window for deletion. */ void close(); - void keyReleased(gcn::KeyEvent &keyEvent); + void keyReleased(gcn::KeyEvent &keyEvent) override; /** * Creates the dialog, or bypass it if there aren't enough items. |