diff -r 1cc73bd7ee1f -r e95081c21da2 xlinkobj.cpp --- a/xlinkobj.cpp Tue Sep 05 09:47:13 2006 +0000 +++ b/xlinkobj.cpp Tue Sep 05 09:47:14 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