ornamentedobj.h
changeset 414 bc23a0157a39
parent 366 e95081c21da2
child 417 1cc7bbf75f0b
     1.1 --- a/ornamentedobj.h	Tue Sep 05 09:47:14 2006 +0000
     1.2 +++ b/ornamentedobj.h	Fri Dec 29 13:52:17 2006 +0000
     1.3 @@ -6,7 +6,7 @@
     1.4  class OrnamentedObj:public LinkableMapObj {
     1.5  public:	
     1.6      OrnamentedObj ();
     1.7 -    OrnamentedObj (Q3Canvas*);
     1.8 +    OrnamentedObj (QGraphicsScene*);
     1.9      OrnamentedObj (OrnamentedObj*);
    1.10      ~OrnamentedObj ();
    1.11      virtual void init ();
    1.12 @@ -18,10 +18,10 @@
    1.13  	QColor getColor ();						// get color of heading
    1.14      virtual void positionContents();
    1.15      virtual void move   (double,double);
    1.16 -    virtual void move   (QPoint);
    1.17 +    virtual void move   (QPointF);
    1.18      virtual void moveBy (double,double);
    1.19 -    virtual void moveBy (QPoint);
    1.20 -    virtual void move2RelPos (QPoint);		// move relativly to parent^
    1.21 +    virtual void moveBy (QPointF);
    1.22 +    virtual void move2RelPos (QPointF);		// move relativly to parent^
    1.23      virtual void move2RelPos (double,double);
    1.24      virtual void setNote(QString);			// set note
    1.25      virtual void setNote(NoteObj);			// set note
    1.26 @@ -37,7 +37,7 @@
    1.27  	virtual void activateStandardFlag(QString);
    1.28  	virtual void deactivateStandardFlag(QString);
    1.29  	virtual bool isSetStandardFlag(QString);
    1.30 -	virtual QString getSystemFlagName (const QPoint &p);
    1.31 +	virtual QString getSystemFlagName (const QPointF &p);
    1.32  	virtual bool isActiveFlag(const QString&);	// check if flag is set
    1.33  	virtual void updateNoteFlag();
    1.34  	virtual void updateFlagsToolbar();
    1.35 @@ -51,7 +51,7 @@
    1.36  	NoteObj note;					// Notes
    1.37  	FlagRowObj *systemFlags;		// System Flags
    1.38  	FlagRowObj *standardFlags;		// Standard Flags
    1.39 -	QRect ornamentsBBox;			// bbox of flags and heading
    1.40 +	QRectF ornamentsBBox;			// bbox of flags and heading
    1.41  	QString url;					// url to external doc
    1.42  	QString vymLink;				// path to another map
    1.43  	bool hideExport;				// hide in exports if set