From 10be802d2640bad75222736216cdcfcd7fb6a521 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Oct 2013 12:16:51 +0300 Subject: add final keyword to windows files. --- src/gui/windows/serverdialog.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/gui/windows/serverdialog.h') 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; -- cgit v1.2.3-70-g09d2