1.1 --- a/treeitem.h Wed May 20 15:40:14 2009 +0000
1.2 +++ b/treeitem.h Tue May 26 11:24:51 2009 +0000
1.3 @@ -25,10 +25,6 @@
1.4 ~TreeItem();
1.5 void init();
1.6
1.7 - virtual QString saveToDir (const QString &tmpdir=QString(),const
1.8 - QString &prefix=QString(), const QPointF& offset=QPointF());
1.9 -
1.10 -
1.11 // General housekeeping
1.12 virtual void setModel (VymModel *m);
1.13 virtual VymModel* getModel();
1.14 @@ -166,6 +162,10 @@
1.15 QList<TreeItem*> childItems;
1.16 QList<QVariant> itemData;
1.17 TreeItem *parentItem;
1.18 +
1.19 + /*! Set rootItem (does not change, needed for quick check
1.20 + if some branch is mapCenter */
1.21 + TreeItem *rootItem;
1.22
1.23 int branchOffset;
1.24 int branchCounter;