summaryrefslogtreecommitdiff
path: root/src/gui/itemamountwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/itemamountwindow.h')
-rw-r--r--src/gui/itemamountwindow.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/itemamountwindow.h b/src/gui/itemamountwindow.h
index cf18d72a..d0ac52d5 100644
--- a/src/gui/itemamountwindow.h
+++ b/src/gui/itemamountwindow.h
@@ -53,7 +53,7 @@ class ItemAmountWindow : 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.
@@ -61,15 +61,15 @@ class ItemAmountWindow : 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 close() override;
- void keyReleased(gcn::KeyEvent &keyEvent);
+ void keyReleased(gcn::KeyEvent &keyEvent) override;
/**
* Creates the dialog, or bypass it if there aren't enough items.
@@ -77,7 +77,7 @@ class ItemAmountWindow : public Window,
static void showWindow(Usage usage, Window *parent, Item *item,
int maxRange = 0);
- ~ItemAmountWindow();
+ ~ItemAmountWindow() override;
private:
static void finish(Item *item, int amount, Usage usage);