diff -r cf60b90369a4 -r 14a1306dc144 selection.h --- a/selection.h Thu May 17 20:19:04 2007 +0000 +++ b/selection.h Tue May 06 10:24:27 2008 +0000 @@ -6,13 +6,11 @@ #include -class MapEditor; class BranchObj; class FloatImageObj; class MapCenterObj; class LinkableMapObj; - - +class VymModel; class Selection @@ -23,7 +21,7 @@ ~Selection(); void copy(const Selection&); void clear(); - void setMapEditor (MapEditor *); + void setModel (VymModel *); void update(); void setColor (QColor c); QColor getColor (); @@ -46,8 +44,7 @@ QList selectList; QList lastSelectList; QList selboxList; - MapEditor *mapEditor; - MapCenterObj *mapCenter; + VymModel *model; QGraphicsScene *scene; QColor color;