1.1 --- a/branchitem.h Mon Jun 29 10:28:28 2009 +0000
1.2 +++ b/branchitem.h Tue Jul 07 09:34:24 2009 +0000
1.3 @@ -1,23 +1,24 @@
1.4 #ifndef BRANCHITEM_H
1.5 #define BRANCHITEM_H
1.6
1.7 -#include "treeitem.h"
1.8 +//#include "treeitem.h"
1.9 +#include "mapitem.h"
1.10
1.11
1.12 class QString;
1.13 class BranchObj;
1.14 class QGraphicsScene;
1.15
1.16 -class BranchItem:public TreeItem
1.17 +class BranchItem:public MapItem
1.18 {
1.19 public:
1.20 BranchItem(const QList<QVariant> &data, TreeItem *parent = 0);
1.21 virtual ~BranchItem();
1.22 - void copy (BranchItem *item);
1.23 + virtual void copy (BranchItem *item);
1.24
1.25 - void insertBranch (int pos,BranchItem *branch);
1.26 + virtual void insertBranch (int pos,BranchItem *branch);
1.27
1.28 - QString saveToDir (const QString &tmpdir,const QString &prefix, const QPointF& offset);
1.29 + virtual QString saveToDir (const QString &tmpdir,const QString &prefix, const QPointF& offset);
1.30
1.31 virtual void updateVisibility();
1.32