X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlineparallelthrough.h;h=80ac09cb38bd501e836dc6d935596cf9389009d6;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=ddf54923573dc4b1def4322622c71f43a655c79f;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actiondrawlineparallelthrough.h b/src/actions/actiondrawlineparallelthrough.h index ddf5492..80ac09c 100644 --- a/src/actions/actiondrawlineparallelthrough.h +++ b/src/actions/actiondrawlineparallelthrough.h @@ -1,11 +1,11 @@ #ifndef __ACTIONDRAWLINEPARALLELTHROUGH_H__ #define __ACTIONDRAWLINEPARALLELTHROUGH_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 @@ -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; };