diff -r 11f9124c1cca -r 7ea31701156e vymmodel.h --- a/vymmodel.h Mon Aug 04 10:43:06 2008 +0000 +++ b/vymmodel.h Tue Aug 05 07:36:53 2008 +0000 @@ -9,6 +9,7 @@ #include "mapeditor.h" #include "parser.h" #include "selection.h" +#include "treemodel.h" #include "xmlobj.h" @@ -38,6 +39,11 @@ MapEditor* getMapEditor(); // FIXME not necessary +private: + TreeModel* treeModel; +public: + TreeModel* getTreeModel(); + bool isRepositionBlocked(); //!< While load or undo there is no need to update graphicsview void updateActions(); //!< Update buttons in mainwindow @@ -238,7 +244,7 @@ public: void setHeading(const QString &); //!< Set heading of branch - QString getHeading (bool &ok,QPoint &p); //!< Get heading, ok if selection is branch +// QString getHeading (bool &ok,QPoint &p); //!< Get heading, ok if selection is branch private: void setHeadingInt(const QString &);