summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/chattab.h')
-rw-r--r--src/gui/widgets/chattab.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/chattab.h b/src/gui/widgets/chattab.h
index 7cec0c18d..f45f78668 100644
--- a/src/gui/widgets/chattab.h
+++ b/src/gui/widgets/chattab.h
@@ -141,7 +141,7 @@ class ChatTab : public Tab
*/
virtual int getType() const A_WARN_UNUSED;
- virtual void saveToLogFile(std::string &msg);
+ virtual void saveToLogFile(const std::string &msg);
std::list<std::string> &getRows() const A_WARN_UNUSED
{ return mTextOutput->getRows(); }
@@ -149,7 +149,7 @@ class ChatTab : public Tab
bool hasRows() const A_WARN_UNUSED
{ return mTextOutput->hasRows(); }
- void loadFromLogFile(std::string name);
+ void loadFromLogFile(const std::string &name);
bool getAllowHighlight() const A_WARN_UNUSED
{ return mAllowHightlight; }
@@ -174,7 +174,7 @@ class ChatTab : public Tab
void showOnline(const std::string &nick,
const bool isOnline);
- virtual void playNewMessageSound();
+ virtual void playNewMessageSound() const;
const std::string &getChannelName() const
{ return mChannelName; }