]> Shamusworld >> Repos - architektonas/blob - src/actions/actionmodifydeletequick.h
Last checkin before major refactor...
[architektonas] / src / actions / actionmodifydeletequick.h
1 #ifndef __ACTIONMODIFYDELETEQUICK_H__
2 #define __ACTIONMODIFYDELETEQUICK_H__
3
4 #include "actioninterface.h"
5
6 class RS_Entity;
7
8 /**
9  * This action class can handle user events to delete entities
10  * directly (every click removes an entity).
11  *
12  * @author James Hammons
13  * @author Andrew Mustun
14  */
15 class ActionModifyDeleteQuick: public ActionInterface
16 {
17         public:
18                 ActionModifyDeleteQuick(RS_EntityContainer & container, GraphicView & graphicView);
19                 ~ActionModifyDeleteQuick();
20
21                 virtual void trigger();
22                 virtual void mouseReleaseEvent(QMouseEvent * e);
23                 virtual void updateMouseButtonHints();
24                 virtual void updateMouseCursor();
25
26         private:
27                 RS_Entity * en;
28 };
29
30 #endif  // __ACTIONMODIFYDELETEQUICK_H__