diff -r 7a96bd401351 -r b8c547f0fc58 floatobj.h --- a/floatobj.h Sun Jan 30 12:58:47 2005 +0000 +++ b/floatobj.h Thu Jul 27 14:07:11 2006 +0000 @@ -1,43 +1,37 @@ #ifndef FLOATOBJ_H #define FLOATOBJ_H -#include "linkablemapobj.h" +#include "ornamentedobj.h" ///////////////////////////////////////////////////////////////////////////// -class FloatObj:public LinkableMapObj { +class FloatObj:public OrnamentedObj { public: FloatObj (); - FloatObj (QCanvas*); - FloatObj (QCanvas*, LinkableMapObj* parent); + FloatObj (Q3Canvas*); + FloatObj (Q3Canvas*, LinkableMapObj* parent); ~FloatObj (); virtual void init (); virtual void copy (FloatObj*); virtual bool load (const QString&)=0; - virtual void setRelPos(); // set relPos to current parentPos - virtual void setRelPos(const QPoint&); virtual void setZ(const int&); // set zPlane virtual int z(); - virtual void setUseOrientation (const bool &); virtual void setFloatExport (const bool &); virtual bool getFloatExport (); virtual void move (double,double); virtual void move (QPoint); - + virtual void setDockPos(); virtual void reposition(); virtual QRect getTotalBBox(); // return BBox including childs virtual QRect getBBoxSizeWithChilds(); // return size of BBox including childs - virtual QString saveToDir(const QString &,const QString&)=0; virtual void resetSaveCounter()=0; virtual void select(); virtual void unselect(); protected: - QPoint relPos; - bool useOrientation; bool floatExport; int zPlane; };