mapobj.h
changeset 393 053b8645e3e9
parent 315 866f79dfa6d7
child 408 c2a05fa925a1
     1.1 --- a/mapobj.h	Mon May 08 13:25:46 2006 +0000
     1.2 +++ b/mapobj.h	Wed Oct 18 10:45:00 2006 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  #ifndef MAPOBJ_H
     1.5  #define MAPOBJ_H
     1.6  
     1.7 -#include <qcanvas.h>
     1.8 +#include <q3canvas.h>
     1.9  #include <iostream>
    1.10  
    1.11  #include "misc.h"
    1.12 @@ -20,12 +20,12 @@
    1.13  class MapObj:public xmlObj {
    1.14  public:
    1.15      MapObj ();
    1.16 -    MapObj (QCanvas*);
    1.17 +    MapObj (Q3Canvas*);
    1.18      MapObj (MapObj*);
    1.19      virtual ~MapObj ();
    1.20      virtual void init ();
    1.21      virtual void copy (MapObj*);
    1.22 -	virtual QCanvas* getCanvas();
    1.23 +	virtual Q3Canvas* getCanvas();
    1.24      virtual int x();
    1.25      virtual int y();
    1.26  	virtual int width();
    1.27 @@ -43,7 +43,7 @@
    1.28      virtual void positionBBox()=0;       
    1.29  	virtual void calcBBoxSize()=0;
    1.30  protected:  
    1.31 -    QCanvas* canvas;
    1.32 +    Q3Canvas* canvas;
    1.33      QRect bbox;									// bounding box of MO itself
    1.34  	QRect clickBox;								// area where mouseclicks are found
    1.35      QPoint absPos;							    // Position on canvas