]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawlineparallelthrough.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actiondrawlineparallelthrough.h
index a3205d711da0448c228d21191edb94d5277da5b4..80ac09cb38bd501e836dc6d935596cf9389009d6 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 parallel lines, arcs and
@@ -24,7 +24,7 @@ class ActionDrawLineParallelThrough: public ActionInterface
                };
 
        public:
-               ActionDrawLineParallelThrough(RS_EntityContainer & container, GraphicView & graphicView);
+               ActionDrawLineParallelThrough(EntityContainer & container, GraphicView & graphicView);
                ~ActionDrawLineParallelThrough();
 
                virtual RS2::ActionType rtti();
@@ -33,7 +33,7 @@ class ActionDrawLineParallelThrough: public ActionInterface
                virtual void mouseReleaseEvent(QMouseEvent * e);
                virtual void updateMouseButtonHints();
                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();
@@ -44,15 +44,15 @@ class ActionDrawLineParallelThrough: public ActionInterface
 
        private:
                /** Closest parallel. */
-               RS_Entity * parallel;
+               Entity * parallel;
                /** Data of new line */
-               RS_LineData data;
+               LineData data;
                /** Number of parallels. */
                int number;
                /** Coordinate of the mouse. */
                Vector coord;
                /** Original entity. */
-               RS_Entity * entity;
+               Entity * entity;
                /** Last status before entering length or number. */
                Status lastStatus;
 };