]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawlinerelangle.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actiondrawlinerelangle.h
index 8f8f27a72e634d1666f7adc7e7ee44d83e4440b9..3aed2bc3285099b98eadd715a3e60b42f5f461a3 100644 (file)
@@ -5,7 +5,7 @@
 #include "actioninterface.h"
 #include "vector.h"
 
-class RS_Entity;
+class Entity;
 
 /**
  * This action class can handle user events to draw lines with a given angle
@@ -25,7 +25,7 @@ class ActionDrawLineRelAngle: public ActionInterface
                };
 
        public:
-               ActionDrawLineRelAngle(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
+               ActionDrawLineRelAngle(EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
                ~ActionDrawLineRelAngle();
 
                virtual RS2::ActionType rtti();
@@ -33,7 +33,7 @@ class ActionDrawLineRelAngle: public ActionInterface
                virtual void mouseMoveEvent(QMouseEvent * e);
                virtual void mouseReleaseEvent(QMouseEvent * e);
                virtual void coordinateEvent(Vector * e);
-               virtual void commandEvent(RS_CommandEvent * e);
+               virtual void commandEvent(CommandEvent * e);
                virtual QStringList getAvailableCommands();
                virtual void hideOptions();
                virtual void showOptions();
@@ -48,11 +48,11 @@ class ActionDrawLineRelAngle: public ActionInterface
 
        private:
                /** Chosen entity */
-               RS_Entity * entity;
+               Entity * entity;
                /** Chosen position */
                Vector pos;
                /** Data of new line */
-               RS_LineData data;
+               LineData data;
                /**
                 * Line angle.
                 */