summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/tabs/chat/chattab.cpp4
-rw-r--r--src/gui/widgets/tabs/chat/chattab.h2
-rw-r--r--src/gui/widgets/tabs/chat/gmtab.cpp2
-rw-r--r--src/gui/widgets/tabs/chat/gmtab.h2
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.cpp4
-rw-r--r--src/gui/widgets/tabs/chat/whispertab.h2
6 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/widgets/tabs/chat/chattab.cpp b/src/gui/widgets/tabs/chat/chattab.cpp
index 35e9f5d7f..727d12de2 100644
--- a/src/gui/widgets/tabs/chat/chattab.cpp
+++ b/src/gui/widgets/tabs/chat/chattab.cpp
@@ -407,7 +407,7 @@ void ChatTab::chatInput(const std::string &message)
switch (msg[0])
{
case '/':
- handleCommand(std::string(msg, 1));
+ handleCommandStr(std::string(msg, 1));
break;
case '?':
if (msg.size() > 1)
@@ -441,7 +441,7 @@ void ChatTab::handleInput(const std::string &msg)
mChannelName);
}
-void ChatTab::handleCommand(const std::string &msg)
+void ChatTab::handleCommandStr(const std::string &msg)
{
const size_t pos = msg.find(' ');
const std::string type(msg, 0, pos);
diff --git a/src/gui/widgets/tabs/chat/chattab.h b/src/gui/widgets/tabs/chat/chattab.h
index 1c735de24..762158e8a 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
virtual void handleInput(const std::string &msg);
- virtual void handleCommand(const std::string &msg);
+ virtual void handleCommandStr(const std::string &msg);
virtual void handleHelp(const std::string &msg);
diff --git a/src/gui/widgets/tabs/chat/gmtab.cpp b/src/gui/widgets/tabs/chat/gmtab.cpp
index 4db496e76..caa475309 100644
--- a/src/gui/widgets/tabs/chat/gmtab.cpp
+++ b/src/gui/widgets/tabs/chat/gmtab.cpp
@@ -47,7 +47,7 @@ void GmTab::handleInput(const std::string &msg)
chatHandler->channelMessage(mChannelName, ChatWindow::doReplace(msg));
}
-void GmTab::handleCommand(const std::string &msg A_UNUSED)
+void GmTab::handleCommandStr(const std::string &msg A_UNUSED)
{
}
diff --git a/src/gui/widgets/tabs/chat/gmtab.h b/src/gui/widgets/tabs/chat/gmtab.h
index de016e61f..a120eb745 100644
--- a/src/gui/widgets/tabs/chat/gmtab.h
+++ b/src/gui/widgets/tabs/chat/gmtab.h
@@ -40,7 +40,7 @@ class GmTab final : public ChatTab
void handleInput(const std::string &msg) override final;
- void handleCommand(const std::string &msg) override final;
+ void handleCommandStr(const std::string &msg) override final;
};
extern GmTab *gmChatTab;
diff --git a/src/gui/widgets/tabs/chat/whispertab.cpp b/src/gui/widgets/tabs/chat/whispertab.cpp
index 61daac084..87de80724 100644
--- a/src/gui/widgets/tabs/chat/whispertab.cpp
+++ b/src/gui/widgets/tabs/chat/whispertab.cpp
@@ -61,7 +61,7 @@ void WhisperTab::handleInput(const std::string &msg)
chatLog("?", newMsg);
}
-void WhisperTab::handleCommand(const std::string &msg)
+void WhisperTab::handleCommandStr(const std::string &msg)
{
if (msg == "close")
{
@@ -85,7 +85,7 @@ void WhisperTab::handleCommand(const std::string &msg)
}
else
{
- ChatTab::handleCommand(msg);
+ ChatTab::handleCommandStr(msg);
}
}
diff --git a/src/gui/widgets/tabs/chat/whispertab.h b/src/gui/widgets/tabs/chat/whispertab.h
index 2dc956389..514b1badb 100644
--- a/src/gui/widgets/tabs/chat/whispertab.h
+++ b/src/gui/widgets/tabs/chat/whispertab.h
@@ -64,7 +64,7 @@ class WhisperTab final : public ChatTab
void handleInput(const std::string &msg) override final;
- void handleCommand(const std::string &msg) override final;
+ void handleCommandStr(const std::string &msg) override final;
private:
std::string mNick;