summaryrefslogtreecommitdiff
path: root/src/gui/widgets/channeltab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/channeltab.h')
-rw-r--r--src/gui/widgets/channeltab.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/gui/widgets/channeltab.h b/src/gui/widgets/channeltab.h
index 149eb5ec..91b4f7c6 100644
--- a/src/gui/widgets/channeltab.h
+++ b/src/gui/widgets/channeltab.h
@@ -32,6 +32,12 @@ class Channel;
class ChannelTab : public ChatTab
{
public:
+
+ Channel *getChannel() { return mChannel; }
+
+ protected:
+ friend class Channel;
+
/**
* Constructor.
*/
@@ -42,9 +48,6 @@ class ChannelTab : public ChatTab
*/
~ChannelTab();
- Channel *getChannel() { return mChannel; }
-
- protected:
void sendChat(std::string &msg);
private: