mapeditor.h
changeset 847 43268373032d
parent 841 46553c106c52
     1.1 --- a/mapeditor.h	Fri Apr 09 14:24:04 2010 +0000
     1.2 +++ b/mapeditor.h	Wed Jun 09 13:14:08 2010 +0000
     1.3 @@ -7,6 +7,7 @@
     1.4  #include <QPropertyAnimation>	
     1.5  
     1.6  #include "attribute.h"
     1.7 +#include "xlink.h"
     1.8  #include "ornamentedobj.h"
     1.9  #include "settings.h"
    1.10  #include "vymmodel.h"
    1.11 @@ -93,6 +94,8 @@
    1.12      virtual void mouseMoveEvent(QMouseEvent*);
    1.13      virtual void mouseReleaseEvent(QMouseEvent*);
    1.14      virtual void mouseDoubleClickEvent(QMouseEvent*);
    1.15 +    virtual void wheelEvent(QWheelEvent*);
    1.16 +
    1.17      virtual void resizeEvent( QResizeEvent * );
    1.18  
    1.19  	void dragEnterEvent (QDragEnterEvent *);
    1.20 @@ -116,7 +119,7 @@
    1.21  	bool drawingLink;			// true while creating a link
    1.22  	bool copyingObj;			// true while modModeCopy
    1.23  	bool objectMoved;			// true if object was not clicked, but moved with mouse
    1.24 -	XLinkItem* tmpXLink;
    1.25 +	Link* tmpLink;
    1.26  
    1.27  	MapObj* movingObj;				// moving a MapObj
    1.28      QPointF movingObj_orgPos;		// org. pos of mouse before move