X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Ftreemodel.h;h=6dd6ed8b6a99445239fe3e4e95110a54a146ba03;hp=599956e2709d293d8c804a11a7997ad61e49619c;hb=e8a5c49548759045b49c208c250c6f61c7fdfcd5;hpb=9850247cc7533d35d71d202e32d9734197bb6f08 diff --git a/src/client/treemodel.h b/src/client/treemodel.h index 599956e2..6dd6ed8b 100644 --- a/src/client/treemodel.h +++ b/src/client/treemodel.h @@ -49,10 +49,12 @@ public: virtual quint64 id() const; + bool reParent(AbstractTreeItem *newParent); + AbstractTreeItem *child(int row) const; AbstractTreeItem *childById(const quint64 &id) const; - int childCount() const; + int childCount(int column = 0) const; virtual int columnCount() const = 0; @@ -188,6 +190,7 @@ private slots: void debug_rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end); void debug_rowsInserted(const QModelIndex &parent, int start, int end); void debug_rowsRemoved(const QModelIndex &parent, int start, int end); + void debug_dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight); }; #endif