12 enum Type {Undefined,MapCenter,Branch};
13 TreeItem(const QList<QVariant> &data, TreeItem *parent = 0);
16 // General housekeeping
17 void appendChild (TreeItem *child);
18 void removeChild (int row);
20 TreeItem *child(int row);
21 int childCount() const;
22 int columnCount() const;
29 QVariant data(int column) const;
30 void setHeading (const QString s);
32 void setType (const Type t);
34 QString getTypeName ();
36 // Relation to map objects in graphicsscene
37 LinkableMapObj* getLMO();
38 void setLMO (LinkableMapObj*);
41 QList<TreeItem*> childItems;
42 QList<QVariant> itemData;