diff -r 608f976aa7bb -r 910ba9fab728 frameobj.h --- a/frameobj.h Tue Jun 06 14:58:11 2006 +0000 +++ b/frameobj.h Thu Dec 14 17:01:44 2006 +0000 @@ -8,7 +8,7 @@ class FrameObj:public MapObj { public: FrameObj(); - FrameObj(Q3Canvas*); + FrameObj(QGraphicsScene*); ~FrameObj(); void init(); void clear(); @@ -16,7 +16,7 @@ void moveBy (double x,double y); // move to relative Position void positionBBox(); void calcBBoxSize(); - void setRect (const QRect &); // set dimensions + void setRect (const QRectF &); // set dimensions int getBorder(); FrameType getFrameType (); QString getFrameTypeName (); @@ -26,7 +26,7 @@ protected: FrameType type; - Q3CanvasRectangle* rectFrame; + QGraphicsRectItem * rectFrame; int border; // distance text - frame }; #endif