X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Ftreemodel.h;h=f979d11346786f48e7cf15a961b7cb7eb6db7ee2;hp=a4039843b40004e89d1612b5dcc90fc0c85bf04f;hb=e104b220388a276a4483a45567243a8473ca5fa6;hpb=13b2affbdccd1d52479e49affdb81a77258392a6 diff --git a/src/client/treemodel.h b/src/client/treemodel.h index a4039843..f979d113 100644 --- a/src/client/treemodel.h +++ b/src/client/treemodel.h @@ -21,7 +21,9 @@ #ifndef _TREEMODEL_H_ #define _TREEMODEL_H_ -#include +#include +#include +#include /***************************************** * general item used in the Tree Model @@ -71,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; };