From 55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 Apr 2016 20:03:14 +0300 Subject: Remove override keyword, if it present with final. --- src/gui/windows/chatwindow.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/gui/windows/chatwindow.h') diff --git a/src/gui/windows/chatwindow.h b/src/gui/windows/chatwindow.h index 49c068a0f..c2b664dda 100644 --- a/src/gui/windows/chatwindow.h +++ b/src/gui/windows/chatwindow.h @@ -112,7 +112,7 @@ class ChatWindow final : public Window, /** * Performs action. */ - void action(const ActionEvent &event) override final; + void action(const ActionEvent &event) final; /** * Request focus for typing chat message. @@ -142,7 +142,7 @@ class ChatWindow final : public Window, void localChatInput(const std::string &msg) const; /** Called when key is pressed */ - void keyPressed(KeyEvent &event) override final; + void keyPressed(KeyEvent &event) final; /** Set the chat input as the given text. */ void setInputText(const std::string &text); @@ -154,17 +154,17 @@ class ChatWindow final : public Window, void addItemText(const std::string &item); /** Override to reset mTmpVisible */ - void setVisible(Visible visible) override final; + void setVisible(Visible visible) final; /** * Handles mouse when dragged. */ - void mouseDragged(MouseEvent &event) override final; + void mouseDragged(MouseEvent &event) final; /** * Handles mouse when pressed. */ - void mousePressed(MouseEvent &event) override final; + void mousePressed(MouseEvent &event) final; /** * Scrolls the chat window @@ -271,27 +271,27 @@ class ChatWindow final : public Window, void copyToClipboard(const int x, const int y) const; - void optionChanged(const std::string &name) override final; + void optionChanged(const std::string &name) final; - void mouseEntered(MouseEvent& event) override final; + void mouseEntered(MouseEvent& event) final; - void mouseMoved(MouseEvent &event) override final; + void mouseMoved(MouseEvent &event) final; - void mouseExited(MouseEvent& event A_UNUSED) override final; + void mouseExited(MouseEvent& event A_UNUSED) final; - void draw(Graphics *const graphics) override final A_NONNULL(2); + void draw(Graphics *const graphics) final A_NONNULL(2); - void safeDraw(Graphics *const graphics) override final A_NONNULL(2); + void safeDraw(Graphics *const graphics) final A_NONNULL(2); void updateVisibility(); void unHideWindow(); - void widgetResized(const Event &event) override final; + void widgetResized(const Event &event) final; void addGlobalMessage(const std::string &line); - void postInit() override final; + void postInit() final; bool isTabPresent(const ChatTab *const tab) const A_WARN_UNUSED; @@ -299,11 +299,11 @@ class ChatWindow final : public Window, void attributeChanged(const AttributesT id, const int oldVal, - const int newVal) override final; + const int newVal) final; void statChanged(const AttributesT id, const int oldVal1, - const int oldVal2) override final; + const int oldVal2) final; static void localPetSay(const std::string &nick, const std::string &text); @@ -324,7 +324,7 @@ class ChatWindow final : public Window, void showGMTab(); - void debugMessage(const std::string &msg) override final; + void debugMessage(const std::string &msg) final; #ifdef USE_PROFILER void logicChildren(); -- cgit v1.2.3-60-g2f50