diff -r 954221e01e4e -r 2abfdb7e85f4 mapobj.h --- a/mapobj.h Mon Jan 14 16:26:59 2008 +0000 +++ b/mapobj.h Mon Jan 14 16:26:59 2008 +0000 @@ -3,12 +3,9 @@ #include #include -#include #include "xmlobj.h" -using namespace std; - #define Z_BBOX 0 #define Z_XLINK 10 #define Z_LINK 20 @@ -39,9 +36,8 @@ virtual void move (double x,double y); // move to absolute Position virtual void move (QPointF p); virtual void moveBy (double x,double y); // move to relative Position - virtual bool inBox(const QPointF&); // Check if Point is within clickbox virtual QRectF getBBox(); // returns bounding box - virtual QRectF addBBox(QRectF,QRectF); // returns bbox which includes both boxes + virtual QRectF getClickBox(); // returns box to click virtual QSizeF getSize(); // returns size of bounding box virtual bool isVisibleObj(); virtual void setVisibility(bool);