linkablemapobj.h
changeset 388 3a58c9ef4a18
parent 377 5391ab620c95
child 406 1c8ff1928b97
     1.1 --- a/linkablemapobj.h	Thu Sep 14 11:38:17 2006 +0000
     1.2 +++ b/linkablemapobj.h	Thu Sep 14 11:38:18 2006 +0000
     1.3 @@ -63,13 +63,14 @@
     1.4  	virtual void setFrameType (const FrameType &);
     1.5  	virtual void setFrameType (const QString &);
     1.6  	virtual void setVisibility (bool);
     1.7 +	virtual void setOrientation();
     1.8      virtual void updateLink();				// update parPos and childPos
     1.9  											// depending on pos
    1.10  											// redraw link with given style
    1.11      LinkableMapObj* getChildObj();			// returns pointer to fromObj
    1.12      LinkableMapObj* getParObj();			// returns pointer to toObj
    1.13      virtual LinkableMapObj* findObjBySelect(QString s);	// find obj by selectstring
    1.14 -	virtual void setDockPos();				// sets childPos and parPos
    1.15 +	virtual void setDockPos()=0;				// sets childPos and parPos
    1.16      QPoint getChildPos();					// returns pos where childs dock
    1.17      QPoint getParPos();						// returns pos where parents dock
    1.18      LinkOrient getOrientation();			// get orientation
    1.19 @@ -78,7 +79,7 @@
    1.20  	virtual MapEditor* getMapEditor();		// get MapEditor (usually from parent);
    1.21  	virtual QPoint getRandPos();			// make randomised position
    1.22  
    1.23 -    virtual void alignRelativeTo(const QPoint );
    1.24 +    //virtual void alignRelativeTo(const QPoint );
    1.25  	virtual void reposition();
    1.26  	virtual void requestReposition();		// do reposition after next user event
    1.27  	virtual void forceReposition();			// to force a reposition now (outside