summaryrefslogtreecommitdiff
path: root/src/gui/widgets/whispertab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/whispertab.h')
-rw-r--r--src/gui/widgets/whispertab.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/gui/widgets/whispertab.h b/src/gui/widgets/whispertab.h
index 66ec2720..059346fa 100644
--- a/src/gui/widgets/whispertab.h
+++ b/src/gui/widgets/whispertab.h
@@ -32,6 +32,11 @@ class Channel;
class WhisperTab : public ChatTab
{
public:
+ std::string getNick() { return mNick; }
+
+ protected:
+ friend class ChatWindow;
+
/**
* Constructor.
*/
@@ -42,9 +47,6 @@ class WhisperTab : public ChatTab
*/
~WhisperTab();
- std::string getNick() { return mNick; }
-
- protected:
void sendChat(std::string &msg);
private: