diff -r 3d43b46a8564 -r 6dc0a20031f7 treeitem.h --- a/treeitem.h Wed Feb 04 11:52:52 2009 +0000 +++ b/treeitem.h Wed Feb 04 16:33:16 2009 +0000 @@ -23,6 +23,7 @@ int row() const; int column() const; + int depth() ; TreeItem *parent(); // Accessing data