]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondimleader.h
In the middle of major refactoring...
[architektonas] / src / actions / actiondimleader.h
similarity index 69%
rename from src/actions/rs_actiondimleader.h
rename to src/actions/actiondimleader.h
index 91f5e3e1926f18eef837ff1079c2e3aeda9a0ef0..d014628fd2236f9df287802580ce31e89bc57236 100644 (file)
@@ -1,19 +1,19 @@
-#ifndef RS_ACTIONDIMLEADER_H
-#define RS_ACTIONDIMLEADER_H
+#ifndef __ACTIONDIMLEADER_H__
+#define __ACTIONDIMLEADER_H__
 
 #include <QtCore>
+#include "actioninterface.h"
 #include "rs_leader.h"
-#include "rs_previewactioninterface.h"
 
 class Vector;
 
 /**
- * This action class can handle user events to draw
- * leaders (arrows).
+ * This action class can handle user events to draw leaders (arrows).
  *
+ * @author James Hammons
  * @author Andrew Mustun
  */
-class RS_ActionDimLeader: public RS_PreviewActionInterface
+class ActionDimLeader: public ActionInterface
 {
        public:
                /**
@@ -25,10 +25,8 @@ class RS_ActionDimLeader: public RS_PreviewActionInterface
                };
 
        public:
-               RS_ActionDimLeader(RS_EntityContainer & container, GraphicView & graphicView);
-               ~RS_ActionDimLeader();
-
-               //static QAction * createGUIAction(RS2::ActionType /*type*/, QObject * /*parent*/);
+               ActionDimLeader(RS_EntityContainer & container, GraphicView & graphicView);
+               ~ActionDimLeader();
 
                virtual RS2::ActionType rtti();
                void reset();
@@ -58,4 +56,4 @@ class RS_ActionDimLeader: public RS_PreviewActionInterface
                QList<Vector *> points;
 };
 
-#endif
+#endif // __ACTIONDIMLEADER_H__