X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fbuffer.h;h=746ba3dad10808fa25a2142e7515a88df4d51292;hp=fcf280508530c7f0e12d6895599da99a7d35b29c;hb=e671e9da1edaab37ec403f575979f9a92a766e9a;hpb=b173301cf898a31c19835f0512883b3ac15cdf55 diff --git a/src/client/buffer.h b/src/client/buffer.h index fcf28050..746ba3da 100644 --- a/src/client/buffer.h +++ b/src/client/buffer.h @@ -23,6 +23,7 @@ class AbstractUiMsg; class IrcChannel; +class NickModel; struct BufferState; @@ -80,6 +81,7 @@ public: * \returns A pointer to the associated IrcChannel object, if the buffer is a channel and online; 0 else. */ IrcChannel *ircChannel() const; + NickModel *nickModel() const; signals: void userInput(const BufferInfo &, QString); @@ -115,7 +117,8 @@ private: bool _active; Type _type; BufferState *state; - IrcChannel *_ircChannel; + QPointer _ircChannel; + QPointer _nickModel; QList layoutQueue; QList layoutedMsgs;