treemodels can now be cleared
[quassel.git] / src / client / treemodel.h
index 1941602..f979d11 100644 (file)
@@ -73,6 +73,8 @@ public:
 
 protected:
   bool removeRow(int row, const QModelIndex &parent = QModelIndex());
+  bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
+  void clear();
   
   TreeItem *rootItem;
 };