summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-24 12:16:51 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-24 12:16:51 +0300
commit10be802d2640bad75222736216cdcfcd7fb6a521 (patch)
tree5bab90179109a101d2a77ee6bd34326b1cd233df /src/gui/windows/npcdialog.h
parent67a349cefcb72c7770b98bf645a7eca35695bb2b (diff)
downloadmanaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.gz
manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.bz2
manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.tar.xz
manaplus-10be802d2640bad75222736216cdcfcd7fb6a521.zip
add final keyword to windows files.
Diffstat (limited to 'src/gui/windows/npcdialog.h')
-rw-r--r--src/gui/windows/npcdialog.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/windows/npcdialog.h b/src/gui/windows/npcdialog.h
index 17bc9db24..27efcee2f 100644
--- a/src/gui/windows/npcdialog.h
+++ b/src/gui/windows/npcdialog.h
@@ -72,12 +72,12 @@ class NpcDialog final : public Window,
~NpcDialog();
- void postInit() override;
+ void postInit() override final;
/**
* Called when receiving actions from the widgets.
*/
- void action(const gcn::ActionEvent &event) override;
+ void action(const gcn::ActionEvent &event) override final;
/**
* Sets the text shows in the dialog.
@@ -118,17 +118,17 @@ class NpcDialog final : public Window,
/**
* Returns the number of items in the choices list.
*/
- int getNumberOfElements() override 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) override 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) override A_WARN_UNUSED;
+ const Image *getImageAt(int i) override final A_WARN_UNUSED;
/**
* Makes this dialog request a choice selection from the user.
@@ -168,9 +168,9 @@ class NpcDialog final : public Window,
void move(const int amount);
- void setVisible(bool visible) override;
+ void setVisible(bool visible) override final;
- void optionChanged(const std::string &name) override;
+ void optionChanged(const std::string &name) override final;
/**
* Returns true if any instances exist.
@@ -206,7 +206,7 @@ class NpcDialog final : public Window,
void setAvatarAction(const int actionId);
- void logic() override;
+ void logic() override final;
void clearRows();