diff -r 7b4e73ac247e -r 1fb50e79661c treeitem.h --- a/treeitem.h Mon Jun 29 10:28:28 2009 +0000 +++ b/treeitem.h Tue Jul 07 09:34:24 2009 +0000 @@ -6,7 +6,7 @@ #include #include "flagrow.h" -#include "mapitem.h" +//#include "mapitem.h" #include "noteobj.h" #include "xmlobj.h" @@ -17,7 +17,7 @@ class ImageItem; class VymModel; -class TreeItem:public MapItem +class TreeItem:public XMLObj { public: enum Type {Undefined,MapCenter,Branch,Image}; //FIXME-3 MapCenter still needed? @@ -157,6 +157,7 @@ virtual ImageItem* getImageNum(const int &n); virtual FloatImageObj* getImageObjNum(const int &n); + protected: bool hideExport; //! Hide this item in export public: @@ -165,8 +166,8 @@ virtual void setHideInExport(bool); // set export of object (and children) virtual bool hideInExport(); virtual bool isHidden (); - virtual QString getAttr(); //! Get attributes for saving as XML + virtual QString getGeneralAttr(); protected: VymModel *model;