Fixes #510 - Network item shows wrong buffer
[quassel.git] / src / client / networkmodel.h
index 251ba77..868de0b 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-08 by the Quassel Project                          *
+ *   Copyright (C) 2005-09 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -28,6 +28,7 @@
 #include "treemodel.h"
 
 class BufferItem;
+class StatusBufferItem;
 
 /*****************************************
  *  Network Items
@@ -67,8 +68,12 @@ public slots:
 signals:
   void networkDataChanged(int column = -1);
 
+private slots:
+  void onBeginRemoveChilds(int start, int end);
+  
 private:
   NetworkId _networkId;
+  StatusBufferItem *_statusBufferItem;
 
   QPointer<Network> _network;
 };