mapitem.h
changeset 777 8acac4fade1b
parent 776 25e634a7e1dc
child 779 1fb50e79661c
     1.1 --- a/mapitem.h	Mon Jun 08 11:36:56 2009 +0000
     1.2 +++ b/mapitem.h	Mon Jun 29 10:27:42 2009 +0000
     1.3 @@ -3,11 +3,9 @@
     1.4  
     1.5  #include <QPointF>
     1.6  
     1.7 -#include "treeitem.h"
     1.8  #include "xmlobj.h"
     1.9  
    1.10  class LinkableMapObj;
    1.11 -class TreeItem;
    1.12  
    1.13  /*! /brief MapItem is used to store information of MapObj and inherited
    1.14     classes.
    1.15 @@ -17,7 +15,7 @@
    1.16  	but just a treeview instead.
    1.17  */
    1.18  
    1.19 -class MapItem:public TreeItem, public XMLObj
    1.20 +class MapItem:public XMLObj
    1.21  {
    1.22  public:
    1.23  	enum PositionMode {Unused,Absolute,Relative};
    1.24 @@ -27,7 +25,6 @@
    1.25  
    1.26  public:
    1.27  	MapItem();
    1.28 -	MapItem (const QList<QVariant> &data, TreeItem *parent = 0);
    1.29  	void init();
    1.30  
    1.31  	/*! Used to save relative position while map is not in QGraphicsView */
    1.32 @@ -52,8 +49,6 @@
    1.33  	/*! Initialize LinkableMapObj with data in MapItem */
    1.34  	virtual void initLMO();
    1.35  
    1.36 -	/*! Return data as attributes for saving in XML */
    1.37 -	virtual QString getAttr();
    1.38  };
    1.39  
    1.40