diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-24 12:16:51 +0300 |
commit | 10be802d2640bad75222736216cdcfcd7fb6a521 (patch) | |
tree | 5bab90179109a101d2a77ee6bd34326b1cd233df /src/gui/windows/serverdialog.h | |
parent | 67a349cefcb72c7770b98bf645a7eca35695bb2b (diff) | |
download | mv-10be802d2640bad75222736216cdcfcd7fb6a521.tar.gz mv-10be802d2640bad75222736216cdcfcd7fb6a521.tar.bz2 mv-10be802d2640bad75222736216cdcfcd7fb6a521.tar.xz mv-10be802d2640bad75222736216cdcfcd7fb6a521.zip |
add final keyword to windows files.
Diffstat (limited to 'src/gui/windows/serverdialog.h')
-rw-r--r-- | src/gui/windows/serverdialog.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/gui/windows/serverdialog.h b/src/gui/windows/serverdialog.h index 31ad9609a..a07ab0339 100644 --- a/src/gui/windows/serverdialog.h +++ b/src/gui/windows/serverdialog.h @@ -60,12 +60,13 @@ class ServersListModel final : public gcn::ListModel /** * Used to get number of line in the list */ - int getNumberOfElements() override A_WARN_UNUSED; + int getNumberOfElements() override final A_WARN_UNUSED; /** * Used to get an element from the list */ - std::string getElementAt(int elementIndex) override A_WARN_UNUSED; + std::string getElementAt(int elementIndex) + override final A_WARN_UNUSED; /** * Used to get the corresponding Server struct @@ -104,7 +105,7 @@ class ServerDialog final : public Window, A_DELETE_COPY(ServerDialog) - void postInit() override; + void postInit() override final; /** * Destructor @@ -114,24 +115,24 @@ class ServerDialog final : public Window, /** * Called when receiving actions from the widgets. */ - void action(const gcn::ActionEvent &event) override; + void action(const gcn::ActionEvent &event) override final; - void keyPressed(gcn::KeyEvent &keyEvent) override; + void keyPressed(gcn::KeyEvent &keyEvent) override final; /** * Called when the selected value changed in the servers list box. */ - void valueChanged(const gcn::SelectionEvent &event) override; + void valueChanged(const gcn::SelectionEvent &event) override final; - void mouseClicked(gcn::MouseEvent &mouseEvent) override; + void mouseClicked(gcn::MouseEvent &mouseEvent) override final; - void logic() override; + void logic() override final; void updateServer(const ServerInfo &server, const int index); void connectToSelectedServer(); - void close() override; + void close() override final; protected: friend class ServersListModel; |