1.1 --- a/treeitem.h Mon Jun 08 11:36:56 2009 +0000
1.2 +++ b/treeitem.h Mon Jun 29 10:27:42 2009 +0000
1.3 @@ -6,6 +6,7 @@
1.4 #include <QVariant>
1.5
1.6 #include "flagrow.h"
1.7 +#include "mapitem.h"
1.8 #include "noteobj.h"
1.9 #include "xmlobj.h"
1.10
1.11 @@ -16,10 +17,10 @@
1.12 class ImageItem;
1.13 class VymModel;
1.14
1.15 -class TreeItem
1.16 +class TreeItem:public MapItem
1.17 {
1.18 public:
1.19 - enum Type {Undefined,MapCenter,Branch,Image};
1.20 + enum Type {Undefined,MapCenter,Branch,Image}; //FIXME-3 MapCenter still needed?
1.21 enum HideTmpMode {HideNone, HideExport};
1.22
1.23 TreeItem();
1.24 @@ -164,6 +165,7 @@
1.25 virtual void setHideInExport(bool); // set export of object (and children)
1.26 virtual bool hideInExport();
1.27 virtual bool isHidden ();
1.28 + virtual QString getAttr(); //! Get attributes for saving as XML
1.29
1.30
1.31 protected: