X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlinerelangle.h;h=3aed2bc3285099b98eadd715a3e60b42f5f461a3;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=6120006f461eadfb1429f43b50006e52b9ce298e;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actiondrawlinerelangle.h b/src/actions/actiondrawlinerelangle.h index 6120006..3aed2bc 100644 --- a/src/actions/actiondrawlinerelangle.h +++ b/src/actions/actiondrawlinerelangle.h @@ -1,11 +1,11 @@ #ifndef __ACTIONDRAWLINERELANGLE_H__ #define __ACTIONDRAWLINERELANGLE_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 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. */