X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fclient%2Ftreemodel.h;h=6f2575c08f86e637fb626fb1977f29784eb2f868;hp=5ff823ac41bcb3d88ddd8acdd3b6ece0a1e46774;hb=4604f6d6f0daa7980e36753b2a417ab709d9ce6a;hpb=9d4fbba1e7390f7cbc60aed962bf9d36ac111263 diff --git a/src/client/treemodel.h b/src/client/treemodel.h index 5ff823ac..6f2575c0 100644 --- a/src/client/treemodel.h +++ b/src/client/treemodel.h @@ -74,6 +74,8 @@ public: int row() const; AbstractTreeItem *parent() const; + void dumpChildList(); + signals: void dataChanged(int column = -1); @@ -125,6 +127,7 @@ public: virtual QVariant data(int column, int role) const; virtual bool setData(int column, const QVariant &value, int role); + virtual QString toolTip(int column) const { Q_UNUSED(column) return QString(); } virtual int columnCount() const; void appendProperty(const QString &property); @@ -185,8 +188,12 @@ private: }; ChildStatus _childStatus; int _aboutToRemoveOrInsert; - // QLinkedList _childStatus; +private slots: + void debug_rowsAboutToBeInserted(const QModelIndex &parent, int start, int end); + 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); }; #endif