From ecd8811f15034a6c895a81c0153a4b154dbc1061 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 31 May 2013 00:55:36 +0300 Subject: Improve chattab class. --- src/gui/widgets/chattab.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/gui/widgets/chattab.h') 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 &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; } -- cgit v1.2.3-60-g2f50