X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Fbuffer.h;h=3cd6f6a7f6f2c1b10c30ecb06dabe995b08ff789;hp=fcf280508530c7f0e12d6895599da99a7d35b29c;hb=21d8d7f0a79eeeb541664aa80ce481fdbfc41f09;hpb=7795adca52f35204f8c354da6fcc5d8e8ee35531 diff --git a/src/client/buffer.h b/src/client/buffer.h index fcf28050..3cd6f6a7 100644 --- a/src/client/buffer.h +++ b/src/client/buffer.h @@ -1,11 +1,11 @@ /*************************************************************************** - * Copyright (C) 2005-07 by The Quassel Team * + * Copyright (C) 2005-08 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * - * (at your option) any later version. * + * (at your option) version 3. * * * * This program is distributed in the hope that it will be useful, * * but WITHOUT ANY WARRANTY; without even the implied warranty of * @@ -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;