diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-16 19:20:30 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-16 19:20:30 +0200 |
commit | 69258182848b2781b0081d82453d33f42dd81679 (patch) | |
tree | 38d64cf8b1884727b941aecb95562f4390ad482b /src/gui/widgets/channeltab.h | |
parent | 736795a624ae5f04b11fa284cb8a4b14579c1766 (diff) | |
download | mana-client-69258182848b2781b0081d82453d33f42dd81679.tar.gz mana-client-69258182848b2781b0081d82453d33f42dd81679.tar.bz2 mana-client-69258182848b2781b0081d82453d33f42dd81679.tar.xz mana-client-69258182848b2781b0081d82453d33f42dd81679.zip |
Some cleanups
* std::string arguments to 'const std::string &'
* findMember2 renamed to findOrCreateMember
* Made some functions const
Diffstat (limited to 'src/gui/widgets/channeltab.h')
-rw-r--r-- | src/gui/widgets/channeltab.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/widgets/channeltab.h b/src/gui/widgets/channeltab.h index 886ae28e..2f668b89 100644 --- a/src/gui/widgets/channeltab.h +++ b/src/gui/widgets/channeltab.h @@ -33,11 +33,12 @@ class ChannelTab : public ChatTab { public: - Channel *getChannel() { return mChannel; } + Channel *getChannel() const { return mChannel; } void showHelp(); - bool handleCommand(std::string type, std::string args); + bool handleCommand(const std::string &type, + const std::string &args); protected: friend class Channel; |