diff -r cf14046909cd -r 7ea31701156e vymmodel.cpp --- a/vymmodel.cpp Mon Aug 04 13:35:54 2008 +0000 +++ b/vymmodel.cpp Tue Aug 05 07:36:53 2008 +0000 @@ -118,6 +118,9 @@ itFind=NULL; EOFind=false; + // TreeModel + treeModel=new TreeModel; + // animations animationUse=settings.readBoolEntry("/animation/use",false); animationTicks=settings.readNumEntry("/animation/ticks",10); @@ -161,6 +164,11 @@ return mapEditor; } +TreeModel* VymModel::getTreeModel() +{ + return treeModel; +} + bool VymModel::isRepositionBlocked() { return blockReposition; @@ -1486,6 +1494,7 @@ } } +/* FIXME delete this QString VymModel::getHeading(bool &ok, QPoint &p) { BranchObj *bo=selection.getBranch(); @@ -1498,7 +1507,7 @@ ok=false; return QString(); } - +*/ void VymModel::setHeadingInt(const QString &s) {