summaryrefslogtreecommitdiff
path: root/src/gui/widgets/chattab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-31 00:55:36 +0300
committerAndrei Karas <akaras@inbox.ru>2013-05-31 00:55:36 +0300
commitecd8811f15034a6c895a81c0153a4b154dbc1061 (patch)
treec451e027766b6e455033eca468e383de95a81fb0 /src/gui/widgets/chattab.h
parentd4f7f4f688c3660440e0ac0d752ec9db036cdf59 (diff)
downloadplus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.gz
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.bz2
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.tar.xz
plus-ecd8811f15034a6c895a81c0153a4b154dbc1061.zip
Improve chattab class.
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; }