diff -r e95081c21da2 -r bc23a0157a39 ornamentedobj.h --- a/ornamentedobj.h Tue Sep 05 09:47:14 2006 +0000 +++ b/ornamentedobj.h Fri Dec 29 13:52:17 2006 +0000 @@ -6,7 +6,7 @@ class OrnamentedObj:public LinkableMapObj { public: OrnamentedObj (); - OrnamentedObj (Q3Canvas*); + OrnamentedObj (QGraphicsScene*); OrnamentedObj (OrnamentedObj*); ~OrnamentedObj (); virtual void init (); @@ -18,10 +18,10 @@ QColor getColor (); // get color of heading virtual void positionContents(); virtual void move (double,double); - virtual void move (QPoint); + virtual void move (QPointF); virtual void moveBy (double,double); - virtual void moveBy (QPoint); - virtual void move2RelPos (QPoint); // move relativly to parent^ + virtual void moveBy (QPointF); + virtual void move2RelPos (QPointF); // move relativly to parent^ virtual void move2RelPos (double,double); virtual void setNote(QString); // set note virtual void setNote(NoteObj); // set note @@ -37,7 +37,7 @@ virtual void activateStandardFlag(QString); virtual void deactivateStandardFlag(QString); virtual bool isSetStandardFlag(QString); - virtual QString getSystemFlagName (const QPoint &p); + virtual QString getSystemFlagName (const QPointF &p); virtual bool isActiveFlag(const QString&); // check if flag is set virtual void updateNoteFlag(); virtual void updateFlagsToolbar(); @@ -51,7 +51,7 @@ NoteObj note; // Notes FlagRowObj *systemFlags; // System Flags FlagRowObj *standardFlags; // Standard Flags - QRect ornamentsBBox; // bbox of flags and heading + QRectF ornamentsBBox; // bbox of flags and heading QString url; // url to external doc QString vymLink; // path to another map bool hideExport; // hide in exports if set