diff -r d85834ad8c54 -r 133e2ed6b9c5 mapeditor.h --- a/mapeditor.h Mon Aug 24 14:39:07 2009 +0000 +++ b/mapeditor.h Thu Sep 03 08:52:00 2009 +0000 @@ -10,9 +10,10 @@ #include "ornamentedobj.h" #include "settings.h" #include "vymmodel.h" -#include "xlinkobj.h" +class XLinkItem; + /*! \brief Main widget in vym to display and edit a map */ @@ -112,10 +113,9 @@ bool pickingColor; bool drawingLink; // true while creating a link bool copyingObj; // true while creating a link - XLinkObj* tmpXLink; + XLinkItem* tmpXLink; MapObj* movingObj; // moving a MapObj - MapObj* linkingObj_src; // part of a link QPointF movingObj_orgPos; // org. pos of mouse before move QPointF movingObj_orgRelPos; // org. relative pos of mouse before move QPointF movingObj_start; // rel. pos of mouse to absPos