1.1 --- a/floatobj.h Sun Jan 30 12:58:47 2005 +0000
1.2 +++ b/floatobj.h Tue Aug 15 12:01:14 2006 +0000
1.3 @@ -1,43 +1,37 @@
1.4 #ifndef FLOATOBJ_H
1.5 #define FLOATOBJ_H
1.6
1.7 -#include "linkablemapobj.h"
1.8 +#include "ornamentedobj.h"
1.9
1.10 /////////////////////////////////////////////////////////////////////////////
1.11 -class FloatObj:public LinkableMapObj {
1.12 +class FloatObj:public OrnamentedObj {
1.13 public:
1.14 FloatObj ();
1.15 - FloatObj (QCanvas*);
1.16 - FloatObj (QCanvas*, LinkableMapObj* parent);
1.17 + FloatObj (Q3Canvas*);
1.18 + FloatObj (Q3Canvas*, LinkableMapObj* parent);
1.19 ~FloatObj ();
1.20 virtual void init ();
1.21 virtual void copy (FloatObj*);
1.22 virtual bool load (const QString&)=0;
1.23 - virtual void setRelPos(); // set relPos to current parentPos
1.24 - virtual void setRelPos(const QPoint&);
1.25 virtual void setZ(const int&); // set zPlane
1.26 virtual int z();
1.27 - virtual void setUseOrientation (const bool &);
1.28 virtual void setFloatExport (const bool &);
1.29 virtual bool getFloatExport ();
1.30
1.31 virtual void move (double,double);
1.32 virtual void move (QPoint);
1.33 -
1.34 + virtual void setDockPos();
1.35 virtual void reposition();
1.36
1.37 virtual QRect getTotalBBox(); // return BBox including childs
1.38 virtual QRect getBBoxSizeWithChilds(); // return size of BBox including childs
1.39
1.40 - virtual QString saveToDir(const QString &,const QString&)=0;
1.41 virtual void resetSaveCounter()=0;
1.42
1.43 virtual void select();
1.44 virtual void unselect();
1.45
1.46 protected:
1.47 - QPoint relPos;
1.48 - bool useOrientation;
1.49 bool floatExport;
1.50 int zPlane;
1.51 };