mapobj.h
changeset 645 2abfdb7e85f4
parent 616 16d63fc9ae42
child 692 c5e3cb54b9db
     1.1 --- a/mapobj.h	Mon Jan 14 16:26:59 2008 +0000
     1.2 +++ b/mapobj.h	Mon Jan 14 16:26:59 2008 +0000
     1.3 @@ -3,12 +3,9 @@
     1.4  
     1.5  #include <QGraphicsScene>
     1.6  #include <QGraphicsItem>
     1.7 -#include <iostream>
     1.8  
     1.9  #include "xmlobj.h"
    1.10  
    1.11 -using namespace std;
    1.12 -
    1.13  #define Z_BBOX      0
    1.14  #define Z_XLINK    10
    1.15  #define Z_LINK     20
    1.16 @@ -39,9 +36,8 @@
    1.17      virtual void move (double x,double y);      // move to absolute Position
    1.18      virtual void move (QPointF p);
    1.19      virtual void moveBy (double x,double y);    // move to relative Position
    1.20 -    virtual bool inBox(const QPointF&);			// Check if Point is within clickbox
    1.21      virtual QRectF getBBox();					// returns bounding box
    1.22 -    virtual QRectF addBBox(QRectF,QRectF);			// returns bbox which includes both boxes
    1.23 +    virtual QRectF getClickBox();				// returns box to click
    1.24      virtual QSizeF getSize();					// returns size of bounding box
    1.25      virtual bool isVisibleObj();
    1.26      virtual void setVisibility(bool);