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;