summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-19 15:11:02 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:25 +0300
commit4f77307d659c4048c20eacda1d5b13fcce8d60da (patch)
tree56e1523e78e5ce6e0c3418665a7947c160385d98 /src/gui
parent8ebbfd2f170175cf0127a75d9f0dc727c56da948 (diff)
downloadmv-4f77307d659c4048c20eacda1d5b13fcce8d60da.tar.gz
mv-4f77307d659c4048c20eacda1d5b13fcce8d60da.tar.bz2
mv-4f77307d659c4048c20eacda1d5b13fcce8d60da.tar.xz
mv-4f77307d659c4048c20eacda1d5b13fcce8d60da.zip
add missing override keyword in postInit function declarations.
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/popups/popupmenu.h2
-rw-r--r--src/gui/popups/speechbubble.h2
-rw-r--r--src/gui/windows/confirmdialog.h2
-rw-r--r--src/gui/windows/connectiondialog.h2
-rw-r--r--src/gui/windows/debugwindow.h3
-rw-r--r--src/gui/windows/equipmentwindow.h2
-rw-r--r--src/gui/windows/itemamountwindow.h2
-rw-r--r--src/gui/windows/npcdialog.h2
-rw-r--r--src/gui/windows/npcpostdialog.h2
-rw-r--r--src/gui/windows/quitdialog.h2
-rw-r--r--src/gui/windows/registerdialog.h2
-rw-r--r--src/gui/windows/setup.h2
-rw-r--r--src/gui/windows/shopwindow.h2
-rw-r--r--src/gui/windows/skilldialog.h2
-rw-r--r--src/gui/windows/socialwindow.h2
-rw-r--r--src/gui/windows/whoisonline.h2
16 files changed, 17 insertions, 16 deletions
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index 4c1a61aff..41c976c6e 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -104,7 +104,7 @@ class PopupMenu final : public Popup, public LinkHandler
A_DELETE_COPY(PopupMenu)
- void postInit();
+ void postInit() override;
/**
* Shows the being related popup menu at the specified mouse coords.
diff --git a/src/gui/popups/speechbubble.h b/src/gui/popups/speechbubble.h
index 3ea93fce0..281603db3 100644
--- a/src/gui/popups/speechbubble.h
+++ b/src/gui/popups/speechbubble.h
@@ -41,7 +41,7 @@ class SpeechBubble final : public Popup
A_DELETE_COPY(SpeechBubble)
- void postInit();
+ void postInit() override;
/**
* Sets the name displayed for the speech bubble, and in what color.
diff --git a/src/gui/windows/confirmdialog.h b/src/gui/windows/confirmdialog.h
index 85d719e85..54b9fbc0b 100644
--- a/src/gui/windows/confirmdialog.h
+++ b/src/gui/windows/confirmdialog.h
@@ -58,7 +58,7 @@ class ConfirmDialog : public Window, public gcn::ActionListener
*/
void action(const gcn::ActionEvent &event) override;
- void postInit();
+ void postInit() override;
private:
TextBox *mTextBox;
diff --git a/src/gui/windows/connectiondialog.h b/src/gui/windows/connectiondialog.h
index 596b32fde..7545a69b9 100644
--- a/src/gui/windows/connectiondialog.h
+++ b/src/gui/windows/connectiondialog.h
@@ -49,7 +49,7 @@ class ConnectionDialog final : public Window, private gcn::ActionListener
A_DELETE_COPY(ConnectionDialog)
- void postInit();
+ void postInit() override;
/**
* Called when the user presses Cancel. Restores the global state to
diff --git a/src/gui/windows/debugwindow.h b/src/gui/windows/debugwindow.h
index 57c657ad0..5424385bb 100644
--- a/src/gui/windows/debugwindow.h
+++ b/src/gui/windows/debugwindow.h
@@ -140,7 +140,8 @@ class DebugWindow final : public Window
~DebugWindow();
- void postInit();
+ void postInit() override;
+
/**
* Logic (updates components' size and infos)
*/
diff --git a/src/gui/windows/equipmentwindow.h b/src/gui/windows/equipmentwindow.h
index 1a2b9467f..cd87d8172 100644
--- a/src/gui/windows/equipmentwindow.h
+++ b/src/gui/windows/equipmentwindow.h
@@ -76,7 +76,7 @@ class EquipmentWindow final : public Window, public gcn::ActionListener
*/
~EquipmentWindow();
- void postInit();
+ void postInit() override;
/**
* Draws the equipment window.
diff --git a/src/gui/windows/itemamountwindow.h b/src/gui/windows/itemamountwindow.h
index 45d0d6b83..189333d70 100644
--- a/src/gui/windows/itemamountwindow.h
+++ b/src/gui/windows/itemamountwindow.h
@@ -60,7 +60,7 @@ class ItemAmountWindow final : public Window,
A_DELETE_COPY(ItemAmountWindow)
- void postInit();
+ void postInit() override;
/**
* Called when receiving actions from widget.
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index 4e907e325..17bc9db24 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -72,7 +72,7 @@ class NpcDialog final : public Window,
~NpcDialog();
- void postInit();
+ void postInit() override;
/**
* Called when receiving actions from the widgets.
diff --git a/src/gui/windows/npcpostdialog.h b/src/gui/windows/npcpostdialog.h
index d3ccb5788..110aac58a 100644
--- a/src/gui/windows/npcpostdialog.h
+++ b/src/gui/windows/npcpostdialog.h
@@ -43,7 +43,7 @@ class NpcPostDialog final : public Window,
~NpcPostDialog();
- void postInit();
+ void postInit() override;
/**
* Called when receiving actions from the widgets.
diff --git a/src/gui/windows/quitdialog.h b/src/gui/windows/quitdialog.h
index db08fa815..14c112eef 100644
--- a/src/gui/windows/quitdialog.h
+++ b/src/gui/windows/quitdialog.h
@@ -56,7 +56,7 @@ class QuitDialog final : public Window, public gcn::ActionListener,
*/
~QuitDialog();
- void postInit();
+ void postInit() override;
/**
* Called when receiving actions from the widgets.
diff --git a/src/gui/windows/registerdialog.h b/src/gui/windows/registerdialog.h
index e4c848a6c..bc089a559 100644
--- a/src/gui/windows/registerdialog.h
+++ b/src/gui/windows/registerdialog.h
@@ -77,7 +77,7 @@ class RegisterDialog final : public Window,
*/
~RegisterDialog();
- void postInit();
+ void postInit() override;
/**
* Called when receiving actions from the widgets.
diff --git a/src/gui/windows/setup.h b/src/gui/windows/setup.h
index e230dfe22..23eb1c6dc 100644
--- a/src/gui/windows/setup.h
+++ b/src/gui/windows/setup.h
@@ -49,7 +49,7 @@ class Setup final : public Window, public gcn::ActionListener
~Setup();
- void postInit();
+ void postInit() override;
void action(const gcn::ActionEvent &event) override;
diff --git a/src/gui/windows/shopwindow.h b/src/gui/windows/shopwindow.h
index 52d85c9e5..3cc60bba3 100644
--- a/src/gui/windows/shopwindow.h
+++ b/src/gui/windows/shopwindow.h
@@ -67,7 +67,7 @@ class ShopWindow final : public Window,
*/
~ShopWindow();
- void postInit();
+ void postInit() override;
/**
* Called when receiving actions from the widgets.
diff --git a/src/gui/windows/skilldialog.h b/src/gui/windows/skilldialog.h
index 65fc019fd..6cbff4f01 100644
--- a/src/gui/windows/skilldialog.h
+++ b/src/gui/windows/skilldialog.h
@@ -52,7 +52,7 @@ class SkillDialog final : public Window, public gcn::ActionListener
~SkillDialog();
- void postInit();
+ void postInit() override;
/**
* Called when receiving actions from widget.
diff --git a/src/gui/windows/socialwindow.h b/src/gui/windows/socialwindow.h
index 28b139589..e9ee0744e 100644
--- a/src/gui/windows/socialwindow.h
+++ b/src/gui/windows/socialwindow.h
@@ -54,7 +54,7 @@ public:
~SocialWindow();
- void postInit();
+ void postInit() override;
bool addTab(Guild *const guild);
diff --git a/src/gui/windows/whoisonline.h b/src/gui/windows/whoisonline.h
index a986b73d0..6db5a0dcc 100644
--- a/src/gui/windows/whoisonline.h
+++ b/src/gui/windows/whoisonline.h
@@ -118,7 +118,7 @@ public:
*/
~WhoIsOnline();
- void postInit();
+ void postInit() override;
/**
* Loads and display online list from the memory buffer.