diff -r 25e634a7e1dc -r 8acac4fade1b mapitem.h --- a/mapitem.h Mon Jun 08 11:36:56 2009 +0000 +++ b/mapitem.h Mon Jun 29 10:27:42 2009 +0000 @@ -3,11 +3,9 @@ #include -#include "treeitem.h" #include "xmlobj.h" class LinkableMapObj; -class TreeItem; /*! /brief MapItem is used to store information of MapObj and inherited classes. @@ -17,7 +15,7 @@ but just a treeview instead. */ -class MapItem:public TreeItem, public XMLObj +class MapItem:public XMLObj { public: enum PositionMode {Unused,Absolute,Relative}; @@ -27,7 +25,6 @@ public: MapItem(); - MapItem (const QList &data, TreeItem *parent = 0); void init(); /*! Used to save relative position while map is not in QGraphicsView */ @@ -52,8 +49,6 @@ /*! Initialize LinkableMapObj with data in MapItem */ virtual void initLMO(); - /*! Return data as attributes for saving in XML */ - virtual QString getAttr(); };