xml-base.h
changeset 646 371945eb6d31
parent 574 56fa27b2be3e
child 775 6e4b586aa88a
     1.1 --- a/xml-base.h	Mon Jan 14 16:26:59 2008 +0000
     1.2 +++ b/xml-base.h	Mon Jan 14 16:26:59 2008 +0000
     1.3 @@ -8,6 +8,7 @@
     1.4  #include "file.h"
     1.5  #include "mapcenterobj.h"
     1.6  #include "mapeditor.h"
     1.7 +#include "vymmodel.h"
     1.8  
     1.9  
    1.10  /*! \brief Base class for parsing maps from XML documents */
    1.11 @@ -26,7 +27,7 @@
    1.12  
    1.13  	virtual QString errorString()=0;
    1.14  	bool fatalError( const QXmlParseException&);
    1.15 -	void setMapEditor (MapEditor*);
    1.16 +	void setModel (VymModel *);
    1.17  	void setTmpDir (QString);
    1.18  	void setInputFile (QString);
    1.19  	void setLoadMode (const LoadMode &);
    1.20 @@ -42,8 +43,7 @@
    1.21  //	QString htmldata;
    1.22  	int branchDepth; 
    1.23  //	NoteObj no;
    1.24 -	MapCenterObj* mc;
    1.25 -	MapEditor* me; 
    1.26 +	VymModel *model;
    1.27  	QString tmpDir; 
    1.28  	QString inputFile;
    1.29  };