treeitem.h
changeset 790 133e2ed6b9c5
parent 788 78ba80b54bc4
child 791 f1006de05c54
     1.1 --- a/treeitem.h	Mon Aug 24 14:39:07 2009 +0000
     1.2 +++ b/treeitem.h	Thu Sep 03 08:52:00 2009 +0000
     1.3 @@ -6,7 +6,6 @@
     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,11 +15,13 @@
    1.12  class FloatImageObj;
    1.13  class ImageItem;
    1.14  class VymModel;
    1.15 +class XLinkItem;
    1.16 +class XLinkObj;
    1.17  
    1.18  class TreeItem:public XMLObj
    1.19  {
    1.20  public:
    1.21 -	enum Type {Undefined,MapCenter,Branch,Image,Attribute};	//FIXME-3 MapCenter still needed?
    1.22 +	enum Type {Undefined,MapCenter,Branch,Image,Attribute,XLink};	//FIXME-3 MapCenter still needed?
    1.23  	enum HideTmpMode {HideNone, HideExport};
    1.24  
    1.25      TreeItem();
    1.26 @@ -155,6 +156,9 @@
    1.27  	virtual ImageItem* getImageNum(const int &n);
    1.28  	virtual FloatImageObj* getImageObjNum(const int &n);
    1.29  
    1.30 +	virtual XLinkItem* getXLinkNum(const int &n);
    1.31 +	virtual XLinkObj* getXLinkObjNum(const int &n);
    1.32 +
    1.33  protected:
    1.34  	bool hideExport;							//! Hide this item in export
    1.35  public:
    1.36 @@ -185,6 +189,9 @@
    1.37  	int attributeOffset;
    1.38  	int attributeCounter;
    1.39  
    1.40 +	int xlinkOffset;
    1.41 +	int xlinkCounter;
    1.42 +
    1.43  	bool hidden;	//! Hidden in export if true
    1.44  };
    1.45