X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlineparallel.h;h=fe63d890e2b33de71491cde81b874e9f6dd7d0b8;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=cabe41f161a6c3ca2ae8a645a45d4cca1cb855b8;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actiondrawlineparallel.h b/src/actions/actiondrawlineparallel.h index cabe41f..fe63d89 100644 --- a/src/actions/actiondrawlineparallel.h +++ b/src/actions/actiondrawlineparallel.h @@ -1,11 +1,11 @@ #ifndef __ACTIONDRAWLINEPARALLEL_H__ #define __ACTIONDRAWLINEPARALLEL_H__ -#include "rs_line.h" +#include "line.h" #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__