diff -r 4a3c06183639 -r 626fd85b1f69 xlinkobj.cpp --- a/xlinkobj.cpp Thu Jun 01 14:51:57 2006 +0000 +++ b/xlinkobj.cpp Tue Sep 05 15:05:18 2006 +0000 @@ -1,6 +1,8 @@ #include "xlinkobj.h" #include "branchobj.h" #include "mapeditor.h" +//Added by qt3to4: +#include ///////////////////////////////////////////////////////////////// @@ -15,7 +17,7 @@ init(); } -XLinkObj::XLinkObj (QCanvas* c):MapObj(c) +XLinkObj::XLinkObj (Q3Canvas* c):MapObj(c) { // cout << "Const XLinkObj (c) called from MapCenterObj (c)\n"; init(); @@ -40,12 +42,12 @@ xLinkState=undefinedXLink; color=QColor (180,180,180); - line=new QCanvasLine (canvas); + line=new Q3CanvasLine (canvas); width=1; line->setPen (QPen(color, width)); line->setZ (Z_XLINK); - poly=new QCanvasPolygon (canvas); + poly=new Q3CanvasPolygon (canvas); poly->setBrush( color ); poly->setZ (Z_XLINK); @@ -159,7 +161,7 @@ void XLinkObj::updateXLink() { QPoint a,b; - QPointArray pa (3); + Q3PointArray pa (3); if (visBranch) { // Only one of the linked branches is visible