]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawline.h
In the middle of major refactoring...
[architektonas] / src / actions / actiondrawline.h
similarity index 80%
rename from src/actions/rs_actiondrawline.h
rename to src/actions/actiondrawline.h
index b059d6e583a87c33bcd804236bedb5155dbf454b..fde8b4f448cf1a0854ef36d3acf2b29235bc2acd 100644 (file)
@@ -1,17 +1,18 @@
-#ifndef RS_ACTIONDRAWLINE_H
-#define RS_ACTIONDRAWLINE_H
+#ifndef __ACTIONDRAWLINE_H__
+#define __ACTIONDRAWLINE_H__
 
 #include <QtCore>
-#include "rs_previewactioninterface.h"
+#include "actioninterface.h"
 #include "rs_line.h"
 
 /**
  * This action class can handle user events to draw
  * simple lines with the start- and endpoint given.
  *
+ * @author James Hammons
  * @author Andrew Mustun
  */
-class RS_ActionDrawLine: public RS_PreviewActionInterface
+class ActionDrawLine: public ActionInterface
 {
        public:
                /**
@@ -24,8 +25,8 @@ class RS_ActionDrawLine: public RS_PreviewActionInterface
                };
 
        public:
-               RS_ActionDrawLine(RS_EntityContainer & container, GraphicView & graphicView);
-               virtual ~RS_ActionDrawLine();
+               ActionDrawLine(RS_EntityContainer & container, GraphicView & graphicView);
+               virtual ~ActionDrawLine();
 
                virtual RS2::ActionType rtti();
                void reset();
@@ -62,4 +63,4 @@ class RS_ActionDrawLine: public RS_PreviewActionInterface
                QList<Vector *> history;
 };
 
-#endif
+#endif // __ACTIONDRAWLINE_H__