summaryrefslogtreecommitdiff
path: root/src/gui/popups
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:17 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:17:17 +0300
commitd6fbc25d16e3f96a20c492904a0dab16f8b4d8fb (patch)
treea2cec0346050bd47660b33654ec05bd85141af3d /src/gui/popups
parent10be802d2640bad75222736216cdcfcd7fb6a521 (diff)
downloadplus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.gz
plus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.bz2
plus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.tar.xz
plus-d6fbc25d16e3f96a20c492904a0dab16f8b4d8fb.zip
add final keyword to gui files.
Diffstat (limited to 'src/gui/popups')
-rw-r--r--src/gui/popups/beingpopup.h2
-rw-r--r--src/gui/popups/itempopup.h4
-rw-r--r--src/gui/popups/popupmenu.h8
-rw-r--r--src/gui/popups/speechbubble.h2
-rw-r--r--src/gui/popups/spellpopup.h4
-rw-r--r--src/gui/popups/statuspopup.h2
-rw-r--r--src/gui/popups/textpopup.h4
7 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/popups/beingpopup.h b/src/gui/popups/beingpopup.h
index 3b5a2d421..cf9291db1 100644
--- a/src/gui/popups/beingpopup.h
+++ b/src/gui/popups/beingpopup.h
@@ -50,7 +50,7 @@ class BeingPopup final : public Popup
*/
void show(const int x, const int y, Being *const b);
- void postInit() override;
+ void postInit() override final;
#ifdef USE_PROFILER
void logic();
diff --git a/src/gui/popups/itempopup.h b/src/gui/popups/itempopup.h
index 4902a97b0..4a4eca008 100644
--- a/src/gui/popups/itempopup.h
+++ b/src/gui/popups/itempopup.h
@@ -50,7 +50,7 @@ class ItemPopup final : public Popup
*/
~ItemPopup();
- void postInit() override;
+ void postInit() override final;
/**
* Sets the info to be displayed given a particular item.
@@ -60,7 +60,7 @@ class ItemPopup final : public Popup
void setItem(const Item *const item, const bool showImage = false);
- void mouseMoved(gcn::MouseEvent &mouseEvent) override;
+ void mouseMoved(gcn::MouseEvent &mouseEvent) override final;
private:
Label *mItemName;
diff --git a/src/gui/popups/popupmenu.h b/src/gui/popups/popupmenu.h
index 41c976c6e..56ecb860b 100644
--- a/src/gui/popups/popupmenu.h
+++ b/src/gui/popups/popupmenu.h
@@ -54,7 +54,7 @@ class RenameListener final : public gcn::ActionListener
A_DELETE_COPY(RenameListener)
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
void setMapItem(MapItem *const mapItem);
@@ -74,7 +74,7 @@ class PlayerListener : public gcn::ActionListener
A_DELETE_COPY(PlayerListener)
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
void setNick(std::string name)
{ mNick = name; }
@@ -104,7 +104,7 @@ class PopupMenu final : public Popup, public LinkHandler
A_DELETE_COPY(PopupMenu)
- void postInit() override;
+ void postInit() override final;
/**
* Shows the being related popup menu at the specified mouse coords.
@@ -187,7 +187,7 @@ class PopupMenu final : public Popup, public LinkHandler
* Handles link action.
*/
void handleLink(const std::string &link,
- gcn::MouseEvent *event A_UNUSED) override;
+ gcn::MouseEvent *event A_UNUSED) override final;
void clear();
diff --git a/src/gui/popups/speechbubble.h b/src/gui/popups/speechbubble.h
index 281603db3..6b7c705bb 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() override;
+ void postInit() override final;
/**
* Sets the name displayed for the speech bubble, and in what color.
diff --git a/src/gui/popups/spellpopup.h b/src/gui/popups/spellpopup.h
index 9c059c954..faac5b355 100644
--- a/src/gui/popups/spellpopup.h
+++ b/src/gui/popups/spellpopup.h
@@ -48,7 +48,7 @@ class SpellPopup final : public Popup
*/
~SpellPopup();
- void postInit() override;
+ void postInit() override final;
/**
* Sets the info to be displayed given a particular item.
@@ -60,7 +60,7 @@ class SpellPopup final : public Popup
*/
void view(const int x, const int y);
- void mouseMoved(gcn::MouseEvent &mouseEvent) override;
+ void mouseMoved(gcn::MouseEvent &mouseEvent) override final;
private:
Label *mItemName;
diff --git a/src/gui/popups/statuspopup.h b/src/gui/popups/statuspopup.h
index b8fb05f0e..40890325e 100644
--- a/src/gui/popups/statuspopup.h
+++ b/src/gui/popups/statuspopup.h
@@ -45,7 +45,7 @@ class StatusPopup final : public Popup
A_DELETE_COPY(StatusPopup)
- void postInit() override;
+ void postInit() override final;
/**
* Destructor. Cleans up the item popup on deletion.
diff --git a/src/gui/popups/textpopup.h b/src/gui/popups/textpopup.h
index d57b17faf..cca690e35 100644
--- a/src/gui/popups/textpopup.h
+++ b/src/gui/popups/textpopup.h
@@ -48,7 +48,7 @@ class TextPopup final : public Popup
*/
~TextPopup();
- void postInit() override;
+ void postInit() override final;
/**
* Sets the text to be displayed.
@@ -72,7 +72,7 @@ class TextPopup final : public Popup
void show(const int x, const int y, const std::string &str1,
const std::string &str2, const std::string &str3);
- void mouseMoved(gcn::MouseEvent &mouseEvent) override;
+ void mouseMoved(gcn::MouseEvent &mouseEvent) override final;
private:
Label *mText[TEXTPOPUPCOUNT];