1.1 --- a/floatobj.cpp Thu Oct 01 11:28:50 2009 +0000
1.2 +++ b/floatobj.cpp Fri Jul 23 16:43:49 2010 +0000
1.3 @@ -1,7 +1,5 @@
1.4 #include "floatobj.h"
1.5 -
1.6 -#include <iostream>
1.7 -using namespace std;
1.8 +#include "mapitem.h"
1.9
1.10 /////////////////////////////////////////////////////////////////
1.11 // FloatObj
1.12 @@ -19,13 +17,11 @@
1.13 // cout << "Destr FloatObj\n";
1.14 }
1.15
1.16 -#include <iostream>
1.17 -using namespace std;
1.18 void FloatObj::init ()
1.19 {
1.20 zPlane=Z_ICON;
1.21 setLinkStyle (LinkableMapObj::Parabel);
1.22 - //FIXME-2 setHideLinkUnselected(true);
1.23 + ((MapItem*)treeItem)->setHideLinkUnselected(true);
1.24 }
1.25
1.26 void FloatObj::copy (FloatObj* other)
1.27 @@ -66,11 +62,6 @@
1.28 updateLinkGeometry();
1.29 }
1.30
1.31 -QRectF FloatObj::getTotalBBox()
1.32 -{
1.33 - return bbox;
1.34 -}
1.35 -
1.36 QRectF FloatObj::getBBoxSizeWithChildren()
1.37 {
1.38 return bboxTotal;