summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/chat
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-17 20:03:14 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-17 20:03:14 +0300
commit55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d (patch)
treeb1108bef76eed589fcb0028c4bd97f14510e940f /src/gui/widgets/tabs/chat
parent72b9b0b8b7f3e0b60bf7a926b44aaa589dd131e8 (diff)
downloadmanaverse-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.gz
manaverse-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.bz2
manaverse-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.tar.xz
manaverse-55480eb4477b2cf85af1bcdcc5e8ec4f4ce6682d.zip
Remove override keyword, if it present with final.
Diffstat (limited to 'src/gui/widgets/tabs/chat')
-rw-r--r--src/gui/widgets/tabs/chat/channeltab.h6
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h2
-rw-r--r--src/gui/widgets/tabs/chat/emulateguildtab.h12
-rw-r--r--src/gui/widgets/tabs/chat/gmtab.h6
-rw-r--r--src/gui/widgets/tabs/chat/guildtab.h12
-rw-r--r--src/gui/widgets/tabs/chat/partytab.h12
-rw-r--r--src/gui/widgets/tabs/chat/tradetab.h2
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.h10
8 files changed, 31 insertions, 31 deletions
diff --git a/src/gui/widgets/tabs/chat/channeltab.h b/src/gui/widgets/tabs/chat/channeltab.h
index 9b723a7dc..c7015cd41 100644
--- a/src/gui/widgets/tabs/chat/channeltab.h
+++ b/src/gui/widgets/tabs/chat/channeltab.h
@@ -39,13 +39,13 @@ class ChannelTab final : public ChatTab
~ChannelTab();
protected:
- void handleInput(const std::string &msg) override final;
+ void handleInput(const std::string &msg) final;
bool handleCommand(const std::string &restrict type,
- const std::string &restrict args) override final;
+ const std::string &restrict args) final;
void getAutoCompleteCommands(StringVect& commands)
- const override final;
+ const final;
};
#endif // GUI_WIDGETS_TABS_CHAT_CHANNELTAB_H
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index dc2062946..16c834503 100644
--- a/src/gui/widgets/tabs/chat/chattab.h
+++ b/src/gui/widgets/tabs/chat/chattab.h
@@ -184,7 +184,7 @@ class ChatTab notfinal : public Tab
friend class ChatWindow;
friend class WhisperWindow;
- void setCurrent() override final
+ void setCurrent() final
{ setFlash(0); }
virtual void handleInput(const std::string &msg);
diff --git a/src/gui/widgets/tabs/chat/emulateguildtab.h b/src/gui/widgets/tabs/chat/emulateguildtab.h
index 96eed73a6..8724aee75 100644
--- a/src/gui/widgets/tabs/chat/emulateguildtab.h
+++ b/src/gui/widgets/tabs/chat/emulateguildtab.h
@@ -41,18 +41,18 @@ class EmulateGuildTab final : public ChatTab,
~EmulateGuildTab();
bool handleCommand(const std::string &restrict type,
- const std::string &restrict args) override final;
+ const std::string &restrict args) final;
- void playNewMessageSound() const override final;
+ void playNewMessageSound() const final;
- void optionChanged(const std::string &value) override final;
+ void optionChanged(const std::string &value) final;
protected:
- void handleInput(const std::string &msg) override final;
+ void handleInput(const std::string &msg) final;
- void getAutoCompleteList(StringVect &names) const override final;
+ void getAutoCompleteList(StringVect &names) const final;
- void getAutoCompleteCommands(StringVect &names) const override final;
+ void getAutoCompleteCommands(StringVect &names) const final;
};
#endif // TMWA_SUPPORT
diff --git a/src/gui/widgets/tabs/chat/gmtab.h b/src/gui/widgets/tabs/chat/gmtab.h
index 797084a76..084034c0a 100644
--- a/src/gui/widgets/tabs/chat/gmtab.h
+++ b/src/gui/widgets/tabs/chat/gmtab.h
@@ -37,11 +37,11 @@ class GmTab final : public ChatTab
protected:
void getAutoCompleteList(StringVect &names) const
- override final A_CONST;
+ final A_CONST;
- void handleInput(const std::string &msg) override final;
+ void handleInput(const std::string &msg) final;
- void handleCommandStr(const std::string &msg) override final A_CONST;
+ void handleCommandStr(const std::string &msg) final A_CONST;
};
extern GmTab *gmChatTab;
diff --git a/src/gui/widgets/tabs/chat/guildtab.h b/src/gui/widgets/tabs/chat/guildtab.h
index 005485c98..51995dc6b 100644
--- a/src/gui/widgets/tabs/chat/guildtab.h
+++ b/src/gui/widgets/tabs/chat/guildtab.h
@@ -39,18 +39,18 @@ class GuildTab notfinal : public ChatTab,
virtual ~GuildTab();
bool handleCommand(const std::string &restrict type,
- const std::string &restrict args) override final;
+ const std::string &restrict args) final;
- void playNewMessageSound() const override final;
+ void playNewMessageSound() const final;
- void optionChanged(const std::string &value) override final;
+ void optionChanged(const std::string &value) final;
protected:
- void handleInput(const std::string &msg) override final;
+ void handleInput(const std::string &msg) final;
- void getAutoCompleteList(StringVect &names) const override final;
+ void getAutoCompleteList(StringVect &names) const final;
- void getAutoCompleteCommands(StringVect &names) const override final;
+ void getAutoCompleteCommands(StringVect &names) const final;
};
#endif // GUI_WIDGETS_TABS_CHAT_GUILDTAB_H
diff --git a/src/gui/widgets/tabs/chat/partytab.h b/src/gui/widgets/tabs/chat/partytab.h
index 91d4391fd..3c5262184 100644
--- a/src/gui/widgets/tabs/chat/partytab.h
+++ b/src/gui/widgets/tabs/chat/partytab.h
@@ -39,18 +39,18 @@ class PartyTab notfinal : public ChatTab,
virtual ~PartyTab();
bool handleCommand(const std::string &restrict type,
- const std::string &restrict args) override final;
+ const std::string &restrict args) final;
- void playNewMessageSound() const override final;
+ void playNewMessageSound() const final;
- void optionChanged(const std::string &value) override final;
+ void optionChanged(const std::string &value) final;
protected:
- void handleInput(const std::string &msg) override final;
+ void handleInput(const std::string &msg) final;
- void getAutoCompleteList(StringVect&) const override final;
+ void getAutoCompleteList(StringVect&) const final;
- void getAutoCompleteCommands(StringVect &names) const override final;
+ void getAutoCompleteCommands(StringVect &names) const final;
};
extern PartyTab *partyTab;
diff --git a/src/gui/widgets/tabs/chat/tradetab.h b/src/gui/widgets/tabs/chat/tradetab.h
index 47057da4c..848cd5e1c 100644
--- a/src/gui/widgets/tabs/chat/tradetab.h
+++ b/src/gui/widgets/tabs/chat/tradetab.h
@@ -38,7 +38,7 @@ class TradeTab final : public ChatTab
~TradeTab();
protected:
- void handleInput(const std::string &msg) override final;
+ void handleInput(const std::string &msg) final;
};
extern TradeTab *tradeChatTab;
diff --git a/src/gui/widgets/tabs/chat/whispertab.h b/src/gui/widgets/tabs/chat/whispertab.h
index f298bf164..0513d40f3 100644
--- a/src/gui/widgets/tabs/chat/whispertab.h
+++ b/src/gui/widgets/tabs/chat/whispertab.h
@@ -37,7 +37,7 @@ class WhisperTab final : public ChatTab
{ return mNick; }
bool handleCommand(const std::string &restrict type,
- const std::string &restrict args) override final;
+ const std::string &restrict args) final;
void setWhisperTabColors();
@@ -46,10 +46,10 @@ class WhisperTab final : public ChatTab
protected:
friend class ChatWindow;
- void getAutoCompleteList(StringVect &names) const override final;
+ void getAutoCompleteList(StringVect &names) const final;
void getAutoCompleteCommands(StringVect& commands)
- const override final;
+ const final;
/**
* Constructor.
@@ -62,9 +62,9 @@ class WhisperTab final : public ChatTab
~WhisperTab();
- void handleInput(const std::string &msg) override final;
+ void handleInput(const std::string &msg) final;
- void handleCommandStr(const std::string &msg) override final;
+ void handleCommandStr(const std::string &msg) final;
private:
std::string mNick;