diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-22 02:34:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-22 21:22:21 +0300 |
commit | 4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch) | |
tree | 7a2bbae95b5f6642731f2a1257913baad71d028d /src/gui/serverdialog.h | |
parent | 3dcf21babe03cee5080a25e787e1d7e72124288e (diff) | |
download | plus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz plus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2 plus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz plus-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip |
Add override keyword to most overriden methods.
Diffstat (limited to 'src/gui/serverdialog.h')
-rw-r--r-- | src/gui/serverdialog.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/serverdialog.h b/src/gui/serverdialog.h index 1c6e850cb..c5f7d26e8 100644 --- a/src/gui/serverdialog.h +++ b/src/gui/serverdialog.h @@ -61,12 +61,12 @@ class ServersListModel final : public gcn::ListModel /** * Used to get number of line in the list */ - int getNumberOfElements(); + int getNumberOfElements() override; /** * Used to get an element from the list */ - std::string getElementAt(int elementIndex); + std::string getElementAt(int elementIndex) override; /** * Used to get the corresponding Server struct @@ -111,18 +111,18 @@ class ServerDialog : public Window, /** * Called when receiving actions from the widgets. */ - void action(const gcn::ActionEvent &event); + void action(const gcn::ActionEvent &event) override; - void keyPressed(gcn::KeyEvent &keyEvent); + void keyPressed(gcn::KeyEvent &keyEvent) override; /** * Called when the selected value changed in the servers list box. */ - void valueChanged(const gcn::SelectionEvent &event); + void valueChanged(const gcn::SelectionEvent &event) override; - void mouseClicked(gcn::MouseEvent &mouseEvent); + void mouseClicked(gcn::MouseEvent &mouseEvent) override; - void logic(); + void logic() override; void updateServer(ServerInfo server, const int index); |