Only a few small things: made the nicklist at least sorted again and fixed the Nick...
[quassel.git] / src / client / treemodel.h
index 0d23405..ee776c0 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -64,10 +64,12 @@ public:
 
   int column() const;
   int row() const;
-  AbstractTreeItem *parent();
+  AbstractTreeItem *parent() const;
 
 signals:
-  void dataChanged(int column);
+  void dataChanged(int column = -1);
+  void newChild(AbstractTreeItem *);
+  void childDestroyed(int row);
                                       
 private slots:
   void childDestroyed();
@@ -146,7 +148,9 @@ public:
   virtual void clear();
 
 private slots:
-  void itemDataChanged(int column);
+  void itemDataChanged(int column = -1);
+  void newChild(AbstractTreeItem *child);
+  void childDestroyed(int row);
 
 protected:
   void appendChild(AbstractTreeItem *parent, AbstractTreeItem *child);