1 #ifndef __ACTIONEDITCOPY_H__
2 #define __ACTIONEDITCOPY_H__
4 #include "actioninterface.h"
8 * This action class can handle user events for copying or cutting entities
11 * @author James Hammons
12 * @author Andrew Mustun
14 class ActionEditCopy: public ActionInterface
21 SetReferencePoint /**< Setting the reference point. */
25 ActionEditCopy(bool copy, EntityContainer & container, GraphicView & graphicView);
28 virtual void init(int status = 0);
29 virtual void trigger();
30 virtual void mouseMoveEvent(QMouseEvent * e);
31 virtual void mouseReleaseEvent(QMouseEvent * e);
32 virtual void coordinateEvent(Vector * e);
33 virtual void updateMouseButtonHints();
34 virtual void updateMouseCursor();
35 virtual void updateToolBar();
38 /** Copy (true) or cut (false) */
41 Vector referencePoint;
44 #endif // __ACTIONEDITCOPY_H__