summaryrefslogtreecommitdiff
path: root/src/gui/windows
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 23:06:06 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 23:06:56 +0300
commitdba0611175c8d4a56dfbc918ccef139351e5c3e0 (patch)
treeb3c7a5684604facc0f0f5656fe373958c53dc5ad /src/gui/windows
parent53530f76275df76406a9ce438a33df78c50d0948 (diff)
downloadmv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.gz
mv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.bz2
mv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.tar.xz
mv-dba0611175c8d4a56dfbc918ccef139351e5c3e0.zip
Revert "Remove override keyword, if it present with final."
This reverts commit 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.
Diffstat (limited to 'src/gui/windows')
-rw-r--r--src/gui/windows/bankwindow.h6
-rw-r--r--src/gui/windows/buydialog.h8
-rw-r--r--src/gui/windows/buyingstoreselldialog.h2
-rw-r--r--src/gui/windows/buyselldialog.h4
-rw-r--r--src/gui/windows/changeemaildialog.h2
-rw-r--r--src/gui/windows/changepassworddialog.h2
-rw-r--r--src/gui/windows/charcreatedialog.h6
-rw-r--r--src/gui/windows/chardeleteconfirm.h2
-rw-r--r--src/gui/windows/charselectdialog.h10
-rw-r--r--src/gui/windows/chatwindow.h32
-rw-r--r--src/gui/windows/confirmdialog.h2
-rw-r--r--src/gui/windows/connectiondialog.h8
-rw-r--r--src/gui/windows/cutinwindow.h6
-rw-r--r--src/gui/windows/debugwindow.h8
-rw-r--r--src/gui/windows/didyouknowwindow.h8
-rw-r--r--src/gui/windows/editdialog.h4
-rw-r--r--src/gui/windows/editserverdialog.h6
-rw-r--r--src/gui/windows/eggselectiondialog.h4
-rw-r--r--src/gui/windows/emotewindow.h6
-rw-r--r--src/gui/windows/equipmentwindow.h16
-rw-r--r--src/gui/windows/helpwindow.h4
-rw-r--r--src/gui/windows/insertcarddialog.h4
-rw-r--r--src/gui/windows/inventorywindow.h28
-rw-r--r--src/gui/windows/itemamountwindow.h12
-rw-r--r--src/gui/windows/killstats.h4
-rw-r--r--src/gui/windows/logindialog.h8
-rw-r--r--src/gui/windows/maileditwindow.h4
-rw-r--r--src/gui/windows/mailviewwindow.h2
-rw-r--r--src/gui/windows/mailwindow.h6
-rw-r--r--src/gui/windows/minimap.h14
-rw-r--r--src/gui/windows/ministatuswindow.h24
-rw-r--r--src/gui/windows/npcdialog.h18
-rw-r--r--src/gui/windows/npcselldialog.h4
-rw-r--r--src/gui/windows/okdialog.h2
-rw-r--r--src/gui/windows/outfitwindow.h12
-rw-r--r--src/gui/windows/questswindow.h2
-rw-r--r--src/gui/windows/quitdialog.h6
-rw-r--r--src/gui/windows/serverdialog.h14
-rw-r--r--src/gui/windows/setupwindow.h8
-rw-r--r--src/gui/windows/shopselldialog.h2
-rw-r--r--src/gui/windows/shopwindow.h16
-rw-r--r--src/gui/windows/shortcutwindow.h8
-rw-r--r--src/gui/windows/skilldialog.h6
-rw-r--r--src/gui/windows/socialwindow.h10
-rw-r--r--src/gui/windows/statuswindow.h4
-rw-r--r--src/gui/windows/textcommandeditor.h6
-rw-r--r--src/gui/windows/textdialog.h6
-rw-r--r--src/gui/windows/textselectdialog.h6
-rw-r--r--src/gui/windows/tradewindow.h8
-rw-r--r--src/gui/windows/unregisterdialog.h4
-rw-r--r--src/gui/windows/updaterwindow.h10
-rw-r--r--src/gui/windows/whoisonline.h12
-rw-r--r--src/gui/windows/worldselectdialog.h6
53 files changed, 211 insertions, 211 deletions
diff --git a/src/gui/windows/bankwindow.h b/src/gui/windows/bankwindow.h
index 72e00ad28..b3cea2be8 100644
--- a/src/gui/windows/bankwindow.h
+++ b/src/gui/windows/bankwindow.h
@@ -48,11 +48,11 @@ class BankWindow final : public Window,
~BankWindow();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void widgetShown(const Event &event) final;
+ void widgetShown(const Event &event) override final;
- void bankMoneyChanged(const int money) final;
+ 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 a7fa081bf..77d5c357f 100644
--- a/src/gui/windows/buydialog.h
+++ b/src/gui/windows/buydialog.h
@@ -115,7 +115,7 @@ class BuyDialog final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Returns the number of items in the shop inventory.
@@ -125,7 +125,7 @@ class BuyDialog final : public Window,
/**
* Updates the labels according to the selected item.
*/
- void valueChanged(const SelectionEvent &event) final;
+ void valueChanged(const SelectionEvent &event) override final;
/**
* Updates the state of buttons and labels.
@@ -135,11 +135,11 @@ class BuyDialog final : public Window,
/**
* Sets the visibility of this window.
*/
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
void sort();
- void close() final;
+ void close() override final;
/**
* Returns true if any instances exist.
diff --git a/src/gui/windows/buyingstoreselldialog.h b/src/gui/windows/buyingstoreselldialog.h
index 879272d36..cb2219fca 100644
--- a/src/gui/windows/buyingstoreselldialog.h
+++ b/src/gui/windows/buyingstoreselldialog.h
@@ -50,7 +50,7 @@ class BuyingStoreSellDialog final : public SellDialog
A_DELETE_COPY(BuyingStoreSellDialog)
protected:
- void sellAction(const ActionEvent &event) final;
+ void sellAction(const ActionEvent &event) override final;
BeingId mAccountId;
int mStoreId;
diff --git a/src/gui/windows/buyselldialog.h b/src/gui/windows/buyselldialog.h
index 69e0b37fb..92a556d7e 100644
--- a/src/gui/windows/buyselldialog.h
+++ b/src/gui/windows/buyselldialog.h
@@ -56,12 +56,12 @@ class BuySellDialog final : public Window,
void init();
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Returns true if any instances exist.
diff --git a/src/gui/windows/changeemaildialog.h b/src/gui/windows/changeemaildialog.h
index ccf510a0c..511e3b00d 100644
--- a/src/gui/windows/changeemaildialog.h
+++ b/src/gui/windows/changeemaildialog.h
@@ -58,7 +58,7 @@ class ChangeEmailDialog final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* This is used to pass the pointer to where the new email should be
diff --git a/src/gui/windows/changepassworddialog.h b/src/gui/windows/changepassworddialog.h
index 46bb9a73f..857067f13 100644
--- a/src/gui/windows/changepassworddialog.h
+++ b/src/gui/windows/changepassworddialog.h
@@ -58,7 +58,7 @@ class ChangePasswordDialog final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
private:
TextField *mOldPassField A_NONNULLPOINTER;
diff --git a/src/gui/windows/charcreatedialog.h b/src/gui/windows/charcreatedialog.h
index bc87ae45e..5f2885049 100644
--- a/src/gui/windows/charcreatedialog.h
+++ b/src/gui/windows/charcreatedialog.h
@@ -61,7 +61,7 @@ class CharCreateDialog final : public Window,
*/
~CharCreateDialog();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Unlocks the dialog, enabling the create character button again.
@@ -74,11 +74,11 @@ class CharCreateDialog final : public Window,
void setDefaultGender(const GenderT gender = Gender::FEMALE);
- void logic() final;
+ void logic() override final;
void updatePlayer();
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
private:
int getDistributedPoints() const A_WARN_UNUSED;
diff --git a/src/gui/windows/chardeleteconfirm.h b/src/gui/windows/chardeleteconfirm.h
index 08b78cc33..5cee85b47 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) final
+ void action(const ActionEvent &event) override final
{
if (event.getId() == "yes" && mMaster)
mMaster->askPasswordForDeletion(mIndex);
diff --git a/src/gui/windows/charselectdialog.h b/src/gui/windows/charselectdialog.h
index e1d1190da..1083e3ae5 100644
--- a/src/gui/windows/charselectdialog.h
+++ b/src/gui/windows/charselectdialog.h
@@ -65,9 +65,9 @@ class CharSelectDialog final : public Window,
~CharSelectDialog();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
enum SelectAction
{
@@ -88,13 +88,13 @@ class CharSelectDialog final : public Window,
void askPasswordForDeletion(const int index);
- void close() final;
+ void close() override final;
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
void updateState();
- void postInit() final;
+ void postInit() override final;
void setName(const BeingId id, const std::string &newName);
diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h
index c2b664dda..49c068a0f 100644
--- a/src/gui/windows/chatwindow.h
+++ b/src/gui/windows/chatwindow.h
@@ -112,7 +112,7 @@ class ChatWindow final : public Window,
/**
* Performs action.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Request focus for typing chat message.
@@ -142,7 +142,7 @@ class ChatWindow final : public Window,
void localChatInput(const std::string &msg) const;
/** Called when key is pressed */
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
/** Set the chat input as the given text. */
void setInputText(const std::string &text);
@@ -154,17 +154,17 @@ class ChatWindow final : public Window,
void addItemText(const std::string &item);
/** Override to reset mTmpVisible */
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
/**
* Handles mouse when dragged.
*/
- void mouseDragged(MouseEvent &event) final;
+ void mouseDragged(MouseEvent &event) override final;
/**
* Handles mouse when pressed.
*/
- void mousePressed(MouseEvent &event) final;
+ void mousePressed(MouseEvent &event) override final;
/**
* Scrolls the chat window
@@ -271,27 +271,27 @@ class ChatWindow final : public Window,
void copyToClipboard(const int x, const int y) const;
- void optionChanged(const std::string &name) final;
+ void optionChanged(const std::string &name) override final;
- void mouseEntered(MouseEvent& event) final;
+ void mouseEntered(MouseEvent& event) override final;
- void mouseMoved(MouseEvent &event) final;
+ void mouseMoved(MouseEvent &event) override final;
- void mouseExited(MouseEvent& event A_UNUSED) final;
+ void mouseExited(MouseEvent& event A_UNUSED) override final;
- void draw(Graphics *const graphics) final A_NONNULL(2);
+ void draw(Graphics *const graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *const graphics) final A_NONNULL(2);
+ void safeDraw(Graphics *const graphics) override final A_NONNULL(2);
void updateVisibility();
void unHideWindow();
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
void addGlobalMessage(const std::string &line);
- void postInit() final;
+ void postInit() override final;
bool isTabPresent(const ChatTab *const tab) const A_WARN_UNUSED;
@@ -299,11 +299,11 @@ class ChatWindow final : public Window,
void attributeChanged(const AttributesT id,
const int oldVal,
- const int newVal) final;
+ const int newVal) override final;
void statChanged(const AttributesT id,
const int oldVal1,
- const int oldVal2) final;
+ const int oldVal2) override final;
static void localPetSay(const std::string &nick,
const std::string &text);
@@ -324,7 +324,7 @@ class ChatWindow final : public Window,
void showGMTab();
- void debugMessage(const std::string &msg) final;
+ void debugMessage(const std::string &msg) override final;
#ifdef USE_PROFILER
void logicChildren();
diff --git a/src/gui/windows/confirmdialog.h b/src/gui/windows/confirmdialog.h
index 236824cba..8198b0c54 100644
--- a/src/gui/windows/confirmdialog.h
+++ b/src/gui/windows/confirmdialog.h
@@ -61,7 +61,7 @@ class ConfirmDialog notfinal : public Window,
*/
void action(const ActionEvent &event) override;
- void postInit() final;
+ void postInit() override final;
private:
TextBox *mTextBox A_NONNULLPOINTER;
diff --git a/src/gui/windows/connectiondialog.h b/src/gui/windows/connectiondialog.h
index 4c807c515..5630ee121 100644
--- a/src/gui/windows/connectiondialog.h
+++ b/src/gui/windows/connectiondialog.h
@@ -50,17 +50,17 @@ class ConnectionDialog final : public Window,
A_DELETE_COPY(ConnectionDialog)
- void postInit() final;
+ void postInit() override final;
/**
* Called when the user presses Cancel. Restores the global state to
* the previous one.
*/
- void action(const ActionEvent &) final;
+ void action(const ActionEvent &) override final;
- void draw(Graphics *const graphics) final A_NONNULL(2);
+ void draw(Graphics *const graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *const graphics) final A_NONNULL(2);
+ void safeDraw(Graphics *const graphics) override final A_NONNULL(2);
private:
StateT mCancelState;
diff --git a/src/gui/windows/cutinwindow.h b/src/gui/windows/cutinwindow.h
index 5e4bdf220..fd6e63390 100644
--- a/src/gui/windows/cutinwindow.h
+++ b/src/gui/windows/cutinwindow.h
@@ -38,9 +38,9 @@ class CutInWindow final : public Window
~CutInWindow();
- void draw(Graphics *const graphics) final A_NONNULL(2);
+ void draw(Graphics *const graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *const graphics) final A_NONNULL(2);
+ void safeDraw(Graphics *const graphics) override final A_NONNULL(2);
void draw2(Graphics *const graphics) A_NONNULL(2);
@@ -49,7 +49,7 @@ class CutInWindow final : public Window
void hide();
- void logic() final;
+ void logic() override final;
private:
AnimatedSprite *mImage;
diff --git a/src/gui/windows/debugwindow.h b/src/gui/windows/debugwindow.h
index aca10cdb7..12bb97f13 100644
--- a/src/gui/windows/debugwindow.h
+++ b/src/gui/windows/debugwindow.h
@@ -47,20 +47,20 @@ class DebugWindow final : public Window
~DebugWindow();
- void postInit() final;
+ void postInit() override final;
/**
* Logic (updates components' size and infos)
*/
void slowLogic();
- void draw(Graphics *const g) final A_NONNULL(2);
+ void draw(Graphics *const g) override final A_NONNULL(2);
- void safeDraw(Graphics *const g) final A_NONNULL(2);
+ void safeDraw(Graphics *const g) override final A_NONNULL(2);
void setPing(int pingTime);
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
#ifdef USE_PROFILER
void logicChildren();
diff --git a/src/gui/windows/didyouknowwindow.h b/src/gui/windows/didyouknowwindow.h
index 14953d995..c63b2d421 100644
--- a/src/gui/windows/didyouknowwindow.h
+++ b/src/gui/windows/didyouknowwindow.h
@@ -48,22 +48,22 @@ class DidYouKnowWindow final : public Window,
A_DELETE_COPY(DidYouKnowWindow)
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Handles link action.
*/
void handleLink(const std::string &link,
- MouseEvent *const event) final;
+ MouseEvent *const event) override final;
void loadData(int num = 0);
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
private:
void loadFile(const int num);
diff --git a/src/gui/windows/editdialog.h b/src/gui/windows/editdialog.h
index 3e7e52961..44e1423c4 100644
--- a/src/gui/windows/editdialog.h
+++ b/src/gui/windows/editdialog.h
@@ -54,12 +54,12 @@ class EditDialog final : public Window,
A_DELETE_COPY(EditDialog)
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
std::string getMsg() const A_WARN_UNUSED
{ return mTextField->getText(); }
diff --git a/src/gui/windows/editserverdialog.h b/src/gui/windows/editserverdialog.h
index 9251dbe42..5595c3120 100644
--- a/src/gui/windows/editserverdialog.h
+++ b/src/gui/windows/editserverdialog.h
@@ -54,14 +54,14 @@ class EditServerDialog final : public Window,
~EditServerDialog();
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
private:
TextField *mServerAddressField A_NONNULLPOINTER;
diff --git a/src/gui/windows/eggselectiondialog.h b/src/gui/windows/eggselectiondialog.h
index ce621a771..c8060dc10 100644
--- a/src/gui/windows/eggselectiondialog.h
+++ b/src/gui/windows/eggselectiondialog.h
@@ -40,8 +40,8 @@ class EggSelectionDialog final : public SellDialog
A_DELETE_COPY(EggSelectionDialog)
protected:
- void initButtons() final;
- void sellAction(const ActionEvent &event) final;
+ void initButtons() override final;
+ void sellAction(const ActionEvent &event) override final;
};
#endif // EATHENA_SUPPORT
diff --git a/src/gui/windows/emotewindow.h b/src/gui/windows/emotewindow.h
index c896f79d0..0bc2af060 100644
--- a/src/gui/windows/emotewindow.h
+++ b/src/gui/windows/emotewindow.h
@@ -41,7 +41,7 @@ class EmoteWindow final : public Window
~EmoteWindow();
- void postInit() final;
+ void postInit() override final;
void show();
@@ -61,9 +61,9 @@ class EmoteWindow final : public Window
void addListeners(ActionListener *const listener);
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
- void widgetMoved(const Event &event) final;
+ void widgetMoved(const Event &event) override final;
private:
TabbedArea *mTabs A_NONNULLPOINTER;
diff --git a/src/gui/windows/equipmentwindow.h b/src/gui/windows/equipmentwindow.h
index f43f7278f..985208e03 100644
--- a/src/gui/windows/equipmentwindow.h
+++ b/src/gui/windows/equipmentwindow.h
@@ -65,18 +65,18 @@ class EquipmentWindow final : public Window,
*/
~EquipmentWindow();
- void postInit() final;
+ void postInit() override final;
/**
* Draws the equipment window.
*/
- void draw(Graphics *const graphics) final A_NONNULL(2);
+ void draw(Graphics *const graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *const graphics) final A_NONNULL(2);
+ void safeDraw(Graphics *const graphics) override final A_NONNULL(2);
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void mousePressed(MouseEvent& event) final;
+ void mousePressed(MouseEvent& event) override final;
const Item* getEquipment(const int i) const A_WARN_UNUSED
{ return mEquipment ? mEquipment->getEquipment(i) : nullptr; }
@@ -87,11 +87,11 @@ class EquipmentWindow final : public Window,
void resetBeing(const Being *const being);
- void mouseExited(MouseEvent &event) final;
+ void mouseExited(MouseEvent &event) override final;
- void mouseMoved(MouseEvent &event) final;
+ void mouseMoved(MouseEvent &event) override final;
- void mouseReleased(MouseEvent &event) final;
+ void mouseReleased(MouseEvent &event) override final;
void recalcSize();
diff --git a/src/gui/windows/helpwindow.h b/src/gui/windows/helpwindow.h
index 7a367e978..ec0b88d93 100644
--- a/src/gui/windows/helpwindow.h
+++ b/src/gui/windows/helpwindow.h
@@ -56,13 +56,13 @@ class HelpWindow final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Handles link action.
*/
void handleLink(const std::string &link,
- MouseEvent *const event A_UNUSED) final;
+ MouseEvent *const event A_UNUSED) override final;
/**
* Loads help in the dialog.
diff --git a/src/gui/windows/insertcarddialog.h b/src/gui/windows/insertcarddialog.h
index 7f5ffaaf3..eff74cde0 100644
--- a/src/gui/windows/insertcarddialog.h
+++ b/src/gui/windows/insertcarddialog.h
@@ -41,8 +41,8 @@ class InsertCardDialog final : public SellDialog
A_DELETE_COPY(InsertCardDialog)
protected:
- void initButtons() final;
- void sellAction(const ActionEvent &event) final;
+ void initButtons() override final;
+ void sellAction(const ActionEvent &event) override final;
private:
int mItemIndex;
diff --git a/src/gui/windows/inventorywindow.h b/src/gui/windows/inventorywindow.h
index 8ac52ee21..e19b219f8 100644
--- a/src/gui/windows/inventorywindow.h
+++ b/src/gui/windows/inventorywindow.h
@@ -75,14 +75,14 @@ class InventoryWindow final : public Window,
*/
~InventoryWindow();
- void postInit() final;
+ void postInit() override final;
void storeSortOrder() const;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Returns the selected item.
@@ -97,35 +97,35 @@ class InventoryWindow final : public Window,
/**
* Handles closing of the window
*/
- void widgetHidden(const Event &event) final;
+ void widgetHidden(const Event &event) override final;
/**
* Handles the mouse clicks.
*/
- void mouseClicked(MouseEvent &event) final;
+ void mouseClicked(MouseEvent &event) override final;
/**
* Handles the key presses.
*/
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
/**
* Handles the key releases.
*/
- void keyReleased(KeyEvent &event) final;
+ void keyReleased(KeyEvent &event) override final;
/**
* Updates labels to currently selected item.
*/
- void valueChanged(const SelectionEvent &event) final;
+ void valueChanged(const SelectionEvent &event) override final;
/**
* Closes the Storage Window, as well as telling the server that the
* window has been closed.
*/
- void close() final;
+ void close() override final;
- void slotsChanged(const Inventory *const inventory) final;
+ void slotsChanged(const Inventory *const inventory) override final;
bool isMainInventory() const A_WARN_UNUSED
{ return mInventory ? mInventory->isMainInventory() : false; }
@@ -142,19 +142,19 @@ class InventoryWindow final : public Window,
bool isInputFocused() const A_WARN_UNUSED;
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
- void mouseMoved(MouseEvent &event) final;
+ void mouseMoved(MouseEvent &event) override final;
- void mouseExited(MouseEvent &event) final;
+ void mouseExited(MouseEvent &event) override final;
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
void unsetInventory();
void attributeChanged(const AttributesT id,
const int oldVal,
- const int newVal) final;
+ const int newVal) override final;
#ifdef EATHENA_SUPPORT
void combineItems(const int index1,
diff --git a/src/gui/windows/itemamountwindow.h b/src/gui/windows/itemamountwindow.h
index 3e1fa45d7..c9cbd4227 100644
--- a/src/gui/windows/itemamountwindow.h
+++ b/src/gui/windows/itemamountwindow.h
@@ -50,12 +50,12 @@ class ItemAmountWindow final : public Window,
public:
A_DELETE_COPY(ItemAmountWindow)
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from widget.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Sets default amount value.
@@ -63,16 +63,16 @@ class ItemAmountWindow final : public Window,
void resetAmount();
// MouseListener
- void mouseMoved(MouseEvent &event) final;
+ void mouseMoved(MouseEvent &event) override final;
- void mouseExited(MouseEvent &event) final;
+ void mouseExited(MouseEvent &event) override final;
/**
* Schedules the Item Amount window for deletion.
*/
- void close() final;
+ void close() override final;
- void keyReleased(KeyEvent &event) final;
+ void keyReleased(KeyEvent &event) override final;
/**
* Creates the dialog, or bypass it if there aren't enough items.
diff --git a/src/gui/windows/killstats.h b/src/gui/windows/killstats.h
index c1a60c36a..d3b7a88b8 100644
--- a/src/gui/windows/killstats.h
+++ b/src/gui/windows/killstats.h
@@ -52,7 +52,7 @@ class KillStats final : public Window,
/**
* Stuff.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
void gainXp(int Xp);
@@ -70,7 +70,7 @@ class KillStats final : public Window,
void attributeChanged(const AttributesT id,
const int oldVal,
- const int newVal) final;
+ const int newVal) override final;
private:
int mKillTimer; /**< Timer for kill stats. */
diff --git a/src/gui/windows/logindialog.h b/src/gui/windows/logindialog.h
index f15b0824a..2af656230 100644
--- a/src/gui/windows/logindialog.h
+++ b/src/gui/windows/logindialog.h
@@ -61,19 +61,19 @@ class LoginDialog final : public Window,
~LoginDialog();
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Called when a key is pressed in one of the text fields.
*/
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
- void close() final;
+ void close() override final;
static std::string savedPasswordKey;
static std::string savedPassword;
diff --git a/src/gui/windows/maileditwindow.h b/src/gui/windows/maileditwindow.h
index 4bd9c9b95..097820366 100644
--- a/src/gui/windows/maileditwindow.h
+++ b/src/gui/windows/maileditwindow.h
@@ -46,7 +46,7 @@ class MailEditWindow final : public Window,
~MailEditWindow();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
void addItem(const Item *const item, const int amount);
@@ -56,7 +56,7 @@ class MailEditWindow final : public Window,
void setMessage(const std::string &str);
- void close() final;
+ void close() override final;
private:
Button *mSendButton;
diff --git a/src/gui/windows/mailviewwindow.h b/src/gui/windows/mailviewwindow.h
index 46f4bb170..563f9e99f 100644
--- a/src/gui/windows/mailviewwindow.h
+++ b/src/gui/windows/mailviewwindow.h
@@ -43,7 +43,7 @@ class MailViewWindow final : public Window,
~MailViewWindow();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
private:
const MailMessage *mMessage;
diff --git a/src/gui/windows/mailwindow.h b/src/gui/windows/mailwindow.h
index 3e879728e..1a78c1de9 100644
--- a/src/gui/windows/mailwindow.h
+++ b/src/gui/windows/mailwindow.h
@@ -49,11 +49,11 @@ class MailWindow final : public Window,
~MailWindow();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
void addMail(MailMessage *const message);
- void clear() final;
+ void clear() override final;
void showMessage(MailMessage *const mail);
@@ -63,7 +63,7 @@ class MailWindow final : public Window,
void viewPrev(const int id);
- void mouseClicked(MouseEvent &event) final;
+ void mouseClicked(MouseEvent &event) override final;
void postConnection();
diff --git a/src/gui/windows/minimap.h b/src/gui/windows/minimap.h
index 841c12db2..7d6f8bfc4 100644
--- a/src/gui/windows/minimap.h
+++ b/src/gui/windows/minimap.h
@@ -59,23 +59,23 @@ class Minimap final : public Window, public ConfigListener
/**
* Draws the minimap.
*/
- void draw(Graphics *const graphics) final A_NONNULL(2);
+ void draw(Graphics *const graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *const graphics) final A_NONNULL(2);
+ void safeDraw(Graphics *const graphics) override final A_NONNULL(2);
void draw2(Graphics *const graphics) A_NONNULL(2);
- void mouseMoved(MouseEvent &event) final;
+ void mouseMoved(MouseEvent &event) override final;
- void mouseReleased(MouseEvent &event) final;
+ void mouseReleased(MouseEvent &event) override final;
- void mousePressed(MouseEvent &event) final;
+ void mousePressed(MouseEvent &event) override final;
- void mouseExited(MouseEvent &event) final;
+ void mouseExited(MouseEvent &event) override final;
void screenToMap(int &x, int &y);
- void optionChanged(const std::string &name) final;
+ 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 10ff9211d..82fa059c7 100644
--- a/src/gui/windows/ministatuswindow.h
+++ b/src/gui/windows/ministatuswindow.h
@@ -65,40 +65,40 @@ class MiniStatusWindow final : public Window,
void drawIcons(Graphics *const graphics) A_NONNULL(2);
- void updateStatus() final;
+ void updateStatus() override final;
- void logic() final;
+ void logic() override final;
- void draw(Graphics *const graphics) final A_NONNULL(2);
+ void draw(Graphics *const graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *const graphics) final A_NONNULL(2);
+ void safeDraw(Graphics *const graphics) override final A_NONNULL(2);
- void mouseMoved(MouseEvent &event) final;
+ void mouseMoved(MouseEvent &event) override final;
- void mousePressed(MouseEvent &event) final;
+ void mousePressed(MouseEvent &event) override final;
- void mouseExited(MouseEvent &event) final;
+ void mouseExited(MouseEvent &event) override final;
void showBar(const std::string &name, const Visible visible);
void updateBars();
- void slotsChanged(const Inventory *const inventory) final;
+ void slotsChanged(const Inventory *const inventory) override final;
std::vector <ProgressBar*> &getBars() A_WARN_UNUSED
{ return mBars; }
- Rect getChildrenArea() final A_WARN_UNUSED;
+ Rect getChildrenArea() override final A_WARN_UNUSED;
void attributeChanged(const AttributesT id,
const int oldVal,
- const int newVal) final;
+ const int newVal) override final;
void statChanged(const AttributesT id,
const int oldVal1,
- const int oldVal2) final;
+ const int oldVal2) override final;
- void arrowsChanged() final;
+ void arrowsChanged() override final;
#ifdef USE_PROFILER
void logicChildren();
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index beaee8afa..fa3e52097 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -75,7 +75,7 @@ class NpcDialog final : public Window,
~NpcDialog();
- void postInit() final;
+ void postInit() override final;
enum NpcInputState
{
@@ -99,7 +99,7 @@ class NpcDialog final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Sets the text shows in the dialog.
@@ -140,17 +140,17 @@ class NpcDialog final : public Window,
/**
* Returns the number of items in the choices list.
*/
- int getNumberOfElements() final A_WARN_UNUSED;
+ int getNumberOfElements() override final A_WARN_UNUSED;
/**
* Returns the name of item number i of the choices list.
*/
- std::string getElementAt(int i) final A_WARN_UNUSED;
+ std::string getElementAt(int i) override final A_WARN_UNUSED;
/**
* Returns the image of item number i of the choices list.
*/
- const Image *getImageAt(int i) final A_WARN_UNUSED;
+ const Image *getImageAt(int i) override final A_WARN_UNUSED;
/**
* Makes this dialog request a choice selection from the user.
@@ -194,9 +194,9 @@ class NpcDialog final : public Window,
void move(const int amount);
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
- void optionChanged(const std::string &name) final;
+ void optionChanged(const std::string &name) override final;
/**
* Returns true if any instances exist.
@@ -232,11 +232,11 @@ class NpcDialog final : public Window,
void setAvatarAction(const int actionId);
- void logic() final;
+ void logic() override final;
void clearRows();
- void mousePressed(MouseEvent &event) final;
+ void mousePressed(MouseEvent &event) override final;
int isCloseState() const
{ return mActionState == NPC_ACTION_CLOSE; }
diff --git a/src/gui/windows/npcselldialog.h b/src/gui/windows/npcselldialog.h
index 5b65ea50d..dde77de93 100644
--- a/src/gui/windows/npcselldialog.h
+++ b/src/gui/windows/npcselldialog.h
@@ -44,10 +44,10 @@ class NpcSellDialog final : public SellDialog
A_DELETE_COPY(NpcSellDialog)
- void close() final;
+ void close() override final;
protected:
- void sellAction(const ActionEvent &event) final;
+ void sellAction(const ActionEvent &event) override final;
void sellOneItem();
diff --git a/src/gui/windows/okdialog.h b/src/gui/windows/okdialog.h
index 8e6a71ef1..156ab71f7 100644
--- a/src/gui/windows/okdialog.h
+++ b/src/gui/windows/okdialog.h
@@ -63,7 +63,7 @@ class OkDialog final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
private:
TextBox *mTextBox;
diff --git a/src/gui/windows/outfitwindow.h b/src/gui/windows/outfitwindow.h
index 30f2d1053..b10388005 100644
--- a/src/gui/windows/outfitwindow.h
+++ b/src/gui/windows/outfitwindow.h
@@ -52,17 +52,17 @@ class OutfitWindow final : public Window,
*/
~OutfitWindow();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void draw(Graphics *const graphics) final A_NONNULL(2);
+ void draw(Graphics *const graphics) override final A_NONNULL(2);
- void safeDraw(Graphics *const graphics) final A_NONNULL(2);
+ void safeDraw(Graphics *const graphics) override final A_NONNULL(2);
- void mousePressed(MouseEvent &event) final;
+ void mousePressed(MouseEvent &event) override final;
- void mouseDragged(MouseEvent &event) final;
+ void mouseDragged(MouseEvent &event) override final;
- void mouseReleased(MouseEvent &event) final;
+ void mouseReleased(MouseEvent &event) override final;
void load(const bool oldConfig = false);
diff --git a/src/gui/windows/questswindow.h b/src/gui/windows/questswindow.h
index dce261b72..1012e813a 100644
--- a/src/gui/windows/questswindow.h
+++ b/src/gui/windows/questswindow.h
@@ -57,7 +57,7 @@ class QuestsWindow final : public Window,
~QuestsWindow();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
void updateQuest(const int var, const int val);
diff --git a/src/gui/windows/quitdialog.h b/src/gui/windows/quitdialog.h
index d945e4773..f643d0368 100644
--- a/src/gui/windows/quitdialog.h
+++ b/src/gui/windows/quitdialog.h
@@ -55,14 +55,14 @@ class QuitDialog final : public Window,
*/
~QuitDialog();
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
private:
void placeOption(ContainerPlacer &placer,
diff --git a/src/gui/windows/serverdialog.h b/src/gui/windows/serverdialog.h
index 059bd2a4b..e273b7809 100644
--- a/src/gui/windows/serverdialog.h
+++ b/src/gui/windows/serverdialog.h
@@ -68,7 +68,7 @@ class ServerDialog final : public Window,
A_DELETE_COPY(ServerDialog)
- void postInit() final;
+ void postInit() override final;
/**
* Destructor
@@ -78,24 +78,24 @@ class ServerDialog final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
/**
* Called when the selected value changed in the servers list box.
*/
- void valueChanged(const SelectionEvent &event) final;
+ void valueChanged(const SelectionEvent &event) override final;
- void mouseClicked(MouseEvent &event) final;
+ void mouseClicked(MouseEvent &event) override final;
- void logic() final;
+ void logic() override final;
void updateServer(const ServerInfo &server, const int index);
void connectToSelectedServer();
- void close() final;
+ void close() override final;
protected:
friend class ServersListModel;
diff --git a/src/gui/windows/setupwindow.h b/src/gui/windows/setupwindow.h
index 10e084b19..4e6d6b15c 100644
--- a/src/gui/windows/setupwindow.h
+++ b/src/gui/windows/setupwindow.h
@@ -48,9 +48,9 @@ class SetupWindow final : public Window,
~SetupWindow();
- void postInit() final;
+ void postInit() override final;
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
void setInGame(const bool inGame);
@@ -71,9 +71,9 @@ class SetupWindow final : public Window,
void activateTab(const std::string &name);
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
private:
void unloadAdditionalTabs();
diff --git a/src/gui/windows/shopselldialog.h b/src/gui/windows/shopselldialog.h
index 59149e83f..4d68e0aeb 100644
--- a/src/gui/windows/shopselldialog.h
+++ b/src/gui/windows/shopselldialog.h
@@ -45,7 +45,7 @@ class ShopSellDialog final : public SellDialog
A_DELETE_COPY(ShopSellDialog)
protected:
- void sellAction(const ActionEvent &event) final;
+ void sellAction(const ActionEvent &event) override final;
std::string mNick;
};
diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h
index 3a9a5001b..8bd5e5d2a 100644
--- a/src/gui/windows/shopwindow.h
+++ b/src/gui/windows/shopwindow.h
@@ -77,17 +77,17 @@ class ShopWindow final : public Window,
*/
~ShopWindow();
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Updates the labels according to the selected item.
*/
- void valueChanged(const SelectionEvent &event) final;
+ void valueChanged(const SelectionEvent &event) override final;
/**
* Updates the state of buttons and labels.
@@ -97,7 +97,7 @@ class ShopWindow final : public Window,
/**
* Sets the visibility of this window.
*/
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
/**
* Returns true if any instances exist.
@@ -149,13 +149,13 @@ class ShopWindow final : public Window,
bool isShopEmpty() const A_WARN_UNUSED;
#ifdef EATHENA_SUPPORT
- void vendingEnabled(const bool b) final;
+ void vendingEnabled(const bool b) override final;
- void vendingSlotsChanged(const int slots) final;
+ void vendingSlotsChanged(const int slots) override final;
- void buyingStoreEnabled(const bool b) final;
+ void buyingStoreEnabled(const bool b) override final;
- void buyingStoreSlotsChanged(const int slots) final;
+ void buyingStoreSlotsChanged(const int slots) override final;
void setShopName(const std::string &name);
#endif
diff --git a/src/gui/windows/shortcutwindow.h b/src/gui/windows/shortcutwindow.h
index a04ca7e95..2e0d8ee83 100644
--- a/src/gui/windows/shortcutwindow.h
+++ b/src/gui/windows/shortcutwindow.h
@@ -60,13 +60,13 @@ class ShortcutWindow final : public Window
int getTabIndex() const A_WARN_UNUSED;
- void widgetHidden(const Event &event) final;
+ void widgetHidden(const Event &event) override final;
- void widgetMoved(const Event& event) final;
+ void widgetMoved(const Event& event) override final;
- void mousePressed(MouseEvent &event) final;
+ void mousePressed(MouseEvent &event) override final;
- void mouseDragged(MouseEvent &event) final;
+ void mouseDragged(MouseEvent &event) override final;
void nextTab();
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h
index 39d03a164..910ba9b72 100644
--- a/src/gui/windows/skilldialog.h
+++ b/src/gui/windows/skilldialog.h
@@ -58,12 +58,12 @@ class SkillDialog final : public Window,
~SkillDialog();
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from widget.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Update the given skill's display
@@ -111,7 +111,7 @@ class SkillDialog final : public Window,
bool hasSkills() const A_WARN_UNUSED
{ return !mSkills.empty(); }
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
void useItem(const int itemId,
const AutoTarget autoTarget,
diff --git a/src/gui/windows/socialwindow.h b/src/gui/windows/socialwindow.h
index feca9ce02..b65ad02df 100644
--- a/src/gui/windows/socialwindow.h
+++ b/src/gui/windows/socialwindow.h
@@ -54,7 +54,7 @@ class SocialWindow final : public Window,
~SocialWindow();
- void postInit() final;
+ void postInit() override final;
bool addTab(Guild *const guild);
@@ -64,7 +64,7 @@ class SocialWindow final : public Window,
bool removeTab(Party *const party);
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
void showGuildInvite(const std::string &restrict guildName,
const int guildId,
@@ -120,15 +120,15 @@ class SocialWindow final : public Window,
void updatePickupFilter();
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
void setCounter(const SocialTab *const tab, const std::string &str);
void updateGuildCounter(const int online = 0, const int total = 0);
- void updatedPlayer(const std::string &name) final;
+ void updatedPlayer(const std::string &name) override final;
- void updateAll() final;
+ void updateAll() override final;
#ifdef USE_PROFILER
void logicChildren();
diff --git a/src/gui/windows/statuswindow.h b/src/gui/windows/statuswindow.h
index 2e7bb2e70..00b468d07 100644
--- a/src/gui/windows/statuswindow.h
+++ b/src/gui/windows/statuswindow.h
@@ -91,11 +91,11 @@ class StatusWindow final : public Window,
void attributeChanged(const AttributesT id,
const int oldVal,
- const int newVal) final;
+ const int newVal) override final;
void statChanged(const AttributesT id,
const int oldVal1,
- const int oldVal2) final;
+ const int oldVal2) override final;
void updateLevelLabel();
diff --git a/src/gui/windows/textcommandeditor.h b/src/gui/windows/textcommandeditor.h
index 9367baff1..07562320a 100644
--- a/src/gui/windows/textcommandeditor.h
+++ b/src/gui/windows/textcommandeditor.h
@@ -56,11 +56,11 @@ class TextCommandEditor final : public Window,
*/
~TextCommandEditor();
- void postInit() final;
+ void postInit() override final;
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void scheduleDelete() final;
+ void scheduleDelete() override final;
private:
#ifdef TMWA_SUPPORT
diff --git a/src/gui/windows/textdialog.h b/src/gui/windows/textdialog.h
index 77fb1151c..edf97c547 100644
--- a/src/gui/windows/textdialog.h
+++ b/src/gui/windows/textdialog.h
@@ -54,12 +54,12 @@ class TextDialog final : public Window,
~TextDialog();
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Get the text in the textfield
@@ -71,7 +71,7 @@ class TextDialog final : public Window,
static bool isActive() A_WARN_UNUSED
{ return instances; }
- void close() final;
+ void close() override final;
private:
static int instances;
diff --git a/src/gui/windows/textselectdialog.h b/src/gui/windows/textselectdialog.h
index 76124df9a..70da4ad5e 100644
--- a/src/gui/windows/textselectdialog.h
+++ b/src/gui/windows/textselectdialog.h
@@ -57,19 +57,19 @@ class TextSelectDialog notfinal : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Updates labels according to selected item.
*
* @see SelectionListener::selectionChanged
*/
- void valueChanged(const SelectionEvent &event) final;
+ void valueChanged(const SelectionEvent &event) override final;
/**
* Sets the visibility of this window.
*/
- void setVisible(Visible visible) final;
+ void setVisible(Visible visible) override final;
void postInit() override;
diff --git a/src/gui/windows/tradewindow.h b/src/gui/windows/tradewindow.h
index d33f614c7..f8a280a20 100644
--- a/src/gui/windows/tradewindow.h
+++ b/src/gui/windows/tradewindow.h
@@ -132,23 +132,23 @@ class TradeWindow final : public Window,
* Updates the labels and makes sure only one item is selected in
* either my inventory or partner inventory.
*/
- void valueChanged(const SelectionEvent &event) final;
+ void valueChanged(const SelectionEvent &event) override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
/**
* Closes the Trade Window, as well as telling the server that the
* window has been closed.
*/
- void close() final;
+ void close() override final;
/**
* Clear auto trade items.
*/
- void clear() final;
+ void clear() override final;
/**
* Add item what will be added to trade.
diff --git a/src/gui/windows/unregisterdialog.h b/src/gui/windows/unregisterdialog.h
index 4e2ab4adc..aaba439ad 100644
--- a/src/gui/windows/unregisterdialog.h
+++ b/src/gui/windows/unregisterdialog.h
@@ -52,12 +52,12 @@ class UnRegisterDialog final : public Window,
~UnRegisterDialog();
- void postInit() final;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
private:
LoginData *mLoginData A_NONNULLPOINTER;
diff --git a/src/gui/windows/updaterwindow.h b/src/gui/windows/updaterwindow.h
index 2c72eae2d..0d322dccf 100644
--- a/src/gui/windows/updaterwindow.h
+++ b/src/gui/windows/updaterwindow.h
@@ -83,7 +83,7 @@ class UpdaterWindow final : public Window,
*/
~UpdaterWindow();
- void postInit() final;
+ void postInit() override final;
/**
* Set's progress bar status
@@ -108,14 +108,14 @@ class UpdaterWindow final : public Window,
void loadPatch();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
- void logic() final;
+ void logic() override final;
void handleLink(const std::string &link,
- MouseEvent *const event A_UNUSED) final;
+ MouseEvent *const event A_UNUSED) override final;
void loadFile(std::string file);
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index 0fbd2f232..6aee4c139 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -58,7 +58,7 @@ class WhoIsOnline final : public Window,
*/
~WhoIsOnline();
- void postInit() final;
+ void postInit() override final;
#ifdef TMWA_SUPPORT
/**
@@ -70,15 +70,15 @@ class WhoIsOnline final : public Window,
void loadList(const std::vector<OnlinePlayer*> &list);
void handleLink(const std::string& link,
- MouseEvent *event) final;
+ MouseEvent *event) override final;
- void logic() final;
+ void logic() override final;
void slowLogic();
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void widgetResized(const Event &event) final;
+ void widgetResized(const Event &event) override final;
const std::set<OnlinePlayer*> &getOnlinePlayers() const A_WARN_UNUSED
{ return mOnlinePlayers; }
@@ -89,7 +89,7 @@ class WhoIsOnline final : public Window,
void setAllowUpdate(const bool n)
{ mAllowUpdate = n; }
- void optionChanged(const std::string &name) final;
+ void optionChanged(const std::string &name) override final;
void updateList(StringVect &list);
diff --git a/src/gui/windows/worldselectdialog.h b/src/gui/windows/worldselectdialog.h
index 0de093dc8..99306df03 100644
--- a/src/gui/windows/worldselectdialog.h
+++ b/src/gui/windows/worldselectdialog.h
@@ -53,7 +53,7 @@ class WorldSelectDialog final : public Window,
A_DELETE_COPY(WorldSelectDialog)
- void postInit() final;
+ void postInit() override final;
/**
* Destructor.
@@ -63,9 +63,9 @@ class WorldSelectDialog final : public Window,
/**
* Called when receiving actions from the widgets.
*/
- void action(const ActionEvent &event) final;
+ void action(const ActionEvent &event) override final;
- void keyPressed(KeyEvent &event) final;
+ void keyPressed(KeyEvent &event) override final;
private:
WorldListModel *mWorldListModel A_NONNULLPOINTER;