/***************************************************************************
- * Copyright (C) 2005-07 by The Quassel Team *
+ * Copyright (C) 2005-07 by the Quassel IRC Team *
* 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 *
class AbstractUiMsg;
class IrcChannel;
+class NickModel;
struct BufferState;
* \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);
bool _active;
Type _type;
BufferState *state;
- IrcChannel *_ircChannel;
+ QPointer<IrcChannel> _ircChannel;
+ QPointer<NickModel> _nickModel;
QList<Message> layoutQueue;
QList<AbstractUiMsg *> layoutedMsgs;