]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawlineparallel.h
Removed unnecessary RS_ prefix from classes and whatnot.
[architektonas] / src / actions / actiondrawlineparallel.h
index a3252c36248bbcbdf1831ba6a52fd4b8cbe09063..fe63d890e2b33de71491cde81b874e9f6dd7d0b8 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
@@ -25,7 +25,7 @@ class ActionDrawLineParallel: public ActionInterface
                };
 
        public:
-               ActionDrawLineParallel(RS_EntityContainer & container, GraphicView & graphicView);
+               ActionDrawLineParallel(EntityContainer & container, GraphicView & graphicView);
                ~ActionDrawLineParallel();
 
                virtual RS2::ActionType rtti();
@@ -33,7 +33,7 @@ class ActionDrawLineParallel: public ActionInterface
                virtual void mouseMoveEvent(QMouseEvent * e);
                virtual void mouseReleaseEvent(QMouseEvent * e);
                virtual void updateMouseButtonHints();
-               virtual void commandEvent(RS_CommandEvent * e);
+               virtual void commandEvent(CommandEvent * e);
                virtual QStringList getAvailableCommands();
                virtual void hideOptions();
                virtual void showOptions();
@@ -46,9 +46,9 @@ class ActionDrawLineParallel: public ActionInterface
 
        private:
                /** Closest parallel. */
-               RS_Entity * parallel;
+               Entity * parallel;
                /** Data of new line */
-               RS_LineData data;
+               LineData data;
                /** Distance of the parallel. */
                double distance;
                /** Number of parallels. */
@@ -56,7 +56,7 @@ class ActionDrawLineParallel: public ActionInterface
                /** Coordinate of the mouse. */
                Vector coord;
                /** Original entity. */
-               RS_Entity * entity;
+               Entity * entity;
 };
 
 #endif // __ACTIONDRAWLINEPARALLEL_H__