summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-18 13:20:34 +0300
commit0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7 (patch)
treeaebc2d6eae2325c1c077849cc43f8ac07d6a76f6 /src/gui/windows
parent4b754c29f7fe0c7531fa6ce68a70a913e7172337 (diff)
downloadplus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.gz
plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.bz2
plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.tar.xz
plus-0c863b2e2cc7f5be6baa918c8fffb0ee44c02cc7.zip
Add missing override keywords.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/bankwindow.h2
-rw-r--r--src/gui/windows/buydialog.h2
-rw-r--r--src/gui/windows/buyselldialog.h2
-rw-r--r--src/gui/windows/chardeleteconfirm.h2
-rw-r--r--src/gui/windows/chatwindow.h2
-rw-r--r--src/gui/windows/didyouknowwindow.h2
-rw-r--r--src/gui/windows/inventorywindow.h4
-rw-r--r--src/gui/windows/itemamountwindow.h2
-rw-r--r--src/gui/windows/minimap.h2
-rw-r--r--src/gui/windows/ministatuswindow.h4
-rw-r--r--src/gui/windows/npcdialog.h2
-rw-r--r--src/gui/windows/socialwindow.h4
-rw-r--r--src/gui/windows/tradewindow.h2
13 files changed, 16 insertions, 16 deletions
diff --git a/src/gui/windows/bankwindow.h b/src/gui/windows/bankwindow.h
index 92985e75c..f19f6c17f 100644
--- a/src/gui/windows/bankwindow.h
+++ b/src/gui/windows/bankwindow.h
@@ -52,7 +52,7 @@ class BankWindow final : public Window,
void widgetShown(const Event &event) override final;
- void bankMoneyChanged(const int money);
+ void bankMoneyChanged(const int money) override final;
private:
Label *mBankMoneyLabel;
diff --git a/src/gui/windows/buydialog.h b/src/gui/windows/buydialog.h
index 78df8ebf8..56735baca 100644
--- a/src/gui/windows/buydialog.h
+++ b/src/gui/windows/buydialog.h
@@ -129,7 +129,7 @@ class BuyDialog final : public Window,
/**
* Sets the visibility of this window.
*/
- void setVisible(bool visible);
+ void setVisible(bool visible) override final;
void sort();
diff --git a/src/gui/windows/buyselldialog.h b/src/gui/windows/buyselldialog.h
index 57a46f8a9..14121715f 100644
--- a/src/gui/windows/buyselldialog.h
+++ b/src/gui/windows/buyselldialog.h
@@ -54,7 +54,7 @@ class BuySellDialog final : public Window,
void init();
- void setVisible(bool visible);
+ void setVisible(bool visible) override final;
/**
* Called when receiving actions from the widgets.
diff --git a/src/gui/windows/chardeleteconfirm.h b/src/gui/windows/chardeleteconfirm.h
index 06bc7db9c..326f39261 100644
--- a/src/gui/windows/chardeleteconfirm.h
+++ b/src/gui/windows/chardeleteconfirm.h
@@ -49,7 +49,7 @@ class CharDeleteConfirm final : public ConfirmDialog
A_DELETE_COPY(CharDeleteConfirm)
- void action(const ActionEvent &event)
+ void action(const ActionEvent &event) override final
{
if (event.getId() == "yes" && mMaster)
mMaster->askPasswordForDeletion(mIndex);
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index 57ef51629..dd28ca74f 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -155,7 +155,7 @@ class ChatWindow final : public Window,
void addItemText(const std::string &item);
/** Override to reset mTmpVisible */
- void setVisible(bool visible);
+ void setVisible(bool visible) override final;
/**
* Handles mouse when dragged.
diff --git a/src/gui/windows/didyouknowwindow.h b/src/gui/windows/didyouknowwindow.h
index 8ab9ea984..9d84a8256 100644
--- a/src/gui/windows/didyouknowwindow.h
+++ b/src/gui/windows/didyouknowwindow.h
@@ -63,7 +63,7 @@ class DidYouKnowWindow final : public Window,
void loadData(int num = 0);
- void setVisible(bool visible);
+ void setVisible(bool visible) override final;
private:
void loadFile(const int num);
diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h
index 119de9e94..209e9c171 100644
--- a/src/gui/windows/inventorywindow.h
+++ b/src/gui/windows/inventorywindow.h
@@ -128,9 +128,9 @@ class InventoryWindow final : public Window,
* Closes the Storage Window, as well as telling the server that the
* window has been closed.
*/
- void close();
+ void close() override final;
- void slotsChanged(Inventory *const inventory);
+ void slotsChanged(Inventory *const inventory) override final;
bool isMainInventory() const A_WARN_UNUSED
{ return mInventory->isMainInventory(); }
diff --git a/src/gui/windows/itemamountwindow.h b/src/gui/windows/itemamountwindow.h
index a82809730..8ce4f13c6 100644
--- a/src/gui/windows/itemamountwindow.h
+++ b/src/gui/windows/itemamountwindow.h
@@ -81,7 +81,7 @@ class ItemAmountWindow final : public Window,
/**
* Schedules the Item Amount window for deletion.
*/
- void close();
+ void close() override final;
void keyReleased(KeyEvent &event) override final;
diff --git a/src/gui/windows/minimap.h b/src/gui/windows/minimap.h
index 2c861e330..8d7ffc2a8 100644
--- a/src/gui/windows/minimap.h
+++ b/src/gui/windows/minimap.h
@@ -71,7 +71,7 @@ class Minimap final : public Window, public ConfigListener
void screenToMap(int &x, int &y);
- void optionChanged(const std::string &name);
+ void optionChanged(const std::string &name) override final;
private:
void deleteMapImage();
diff --git a/src/gui/windows/ministatuswindow.h b/src/gui/windows/ministatuswindow.h
index 38e784ba9..548344728 100644
--- a/src/gui/windows/ministatuswindow.h
+++ b/src/gui/windows/ministatuswindow.h
@@ -67,7 +67,7 @@ class MiniStatusWindow final : public Window,
void drawIcons(Graphics *const graphics);
- void updateStatus();
+ void updateStatus() override final;
void logic() override final;
@@ -98,7 +98,7 @@ class MiniStatusWindow final : public Window,
const int oldVal1,
const int oldVal2) override final;
- void arrowsChanged();
+ void arrowsChanged() override final;
#ifdef USE_PROFILER
void logicChildren();
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index 8d04cb0d5..72a42701b 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -210,7 +210,7 @@ class NpcDialog final : public Window,
void clearRows();
- void mousePressed(MouseEvent &event);
+ void mousePressed(MouseEvent &event) override final;
int isCloseState() const
{ return mActionState == NPC_ACTION_CLOSE; }
diff --git a/src/gui/windows/socialwindow.h b/src/gui/windows/socialwindow.h
index 26860d117..d5f015e5d 100644
--- a/src/gui/windows/socialwindow.h
+++ b/src/gui/windows/socialwindow.h
@@ -129,9 +129,9 @@ class SocialWindow final : public Window,
void updateGuildCounter(const int online = 0, const int total = 0);
- void updatedPlayer(const std::string &name);
+ void updatedPlayer(const std::string &name) override final;
- void updateAll();
+ void updateAll() override final;
#ifdef USE_PROFILER
void logicChildren();
diff --git a/src/gui/windows/tradewindow.h b/src/gui/windows/tradewindow.h
index c774d521d..f08d88963 100644
--- a/src/gui/windows/tradewindow.h
+++ b/src/gui/windows/tradewindow.h
@@ -143,7 +143,7 @@ class TradeWindow final : public Window,
/**
* Clear auto trade items.
*/
- void clear();
+ void clear() override final;
/**
* Add item what will be added to trade.