oops... that were 2 files too much...
[quassel.git] / src / client / treemodel.h
index 5ff823a..6f2575c 100644 (file)
@@ -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> _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