X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Ftreemodel.h;h=2b7928c53a3c3e1624c56c69ab08a03f26272060;hp=f979d11346786f48e7cf15a961b7cb7eb6db7ee2;hb=44b22c4419f478a20f6324f9f3a700a2dec56302;hpb=cdb2f3cd9df153ea76c0e27e9a7edb24d1dbdd30 diff --git a/src/client/treemodel.h b/src/client/treemodel.h index f979d113..2b7928c5 100644 --- a/src/client/treemodel.h +++ b/src/client/treemodel.h @@ -71,11 +71,12 @@ public: int rowCount(const QModelIndex &parent = QModelIndex()) const; int columnCount(const QModelIndex &parent = QModelIndex()) const; + void clear(); + protected: bool removeRow(int row, const QModelIndex &parent = QModelIndex()); bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); - void clear(); - + TreeItem *rootItem; };