1.1 --- a/treeitem.h Mon Oct 06 11:10:20 2008 +0000
1.2 +++ b/treeitem.h Tue Nov 04 12:09:10 2008 +0000
1.3 @@ -13,11 +13,19 @@
1.4 TreeItem(const QList<QVariant> &data, TreeItem *parent = 0);
1.5 ~TreeItem();
1.6
1.7 - void appendChild(TreeItem *child);
1.8 + // General housekeeping
1.9 + void appendChild (TreeItem *child);
1.10 + void removeChild (int row);
1.11
1.12 TreeItem *child(int row);
1.13 int childCount() const;
1.14 int columnCount() const;
1.15 +
1.16 + int row() const;
1.17 + int column() const;
1.18 + TreeItem *parent();
1.19 +
1.20 + // Accessing data
1.21 QVariant data(int column) const;
1.22 void setHeading (const QString s);
1.23 QString getHeading();
1.24 @@ -25,10 +33,6 @@
1.25 Type getType ();
1.26 QString getTypeName ();
1.27
1.28 - int row() const;
1.29 - int column() const;
1.30 - TreeItem *parent();
1.31 -
1.32 // Relation to map objects in graphicsscene
1.33 LinkableMapObj* getLMO();
1.34 void setLMO (LinkableMapObj*);