vymmodel.h
changeset 725 7ea31701156e
parent 723 11f9124c1cca
child 726 7f43b93242aa
     1.1 --- a/vymmodel.h	Mon Aug 04 13:35:54 2008 +0000
     1.2 +++ b/vymmodel.h	Tue Aug 05 07:36:53 2008 +0000
     1.3 @@ -9,6 +9,7 @@
     1.4  #include "mapeditor.h"
     1.5  #include "parser.h"
     1.6  #include "selection.h"
     1.7 +#include "treemodel.h"
     1.8  #include "xmlobj.h"
     1.9  
    1.10  
    1.11 @@ -38,6 +39,11 @@
    1.12  
    1.13  	MapEditor* getMapEditor();			// FIXME not necessary
    1.14  
    1.15 +private:
    1.16 +	TreeModel* treeModel;
    1.17 +public:	
    1.18 +	TreeModel* getTreeModel();
    1.19 +
    1.20  	bool isRepositionBlocked();		//!< While load or undo there is no need to update graphicsview
    1.21  
    1.22  	void updateActions();			//!< Update buttons in mainwindow
    1.23 @@ -238,7 +244,7 @@
    1.24  
    1.25  public:	
    1.26  	void setHeading(const QString &);		//!< Set heading of branch	
    1.27 -	QString getHeading (bool &ok,QPoint &p); //!< Get heading, ok if selection is branch
    1.28 +//	QString getHeading (bool &ok,QPoint &p); //!< Get heading, ok if selection is branch
    1.29  private:
    1.30  	void setHeadingInt(const QString &);
    1.31