X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlineangle.h;h=3b87567ed4ff2e53d8f3c5fce62427337a9b8a16;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=3d49a6a4251946720d80edbcd697b21a6707eabe;hpb=1f0d096a7fc370ff02477f3860beae2669bf8903;p=architektonas diff --git a/src/actions/actiondrawlineangle.h b/src/actions/actiondrawlineangle.h index 3d49a6a..3b87567 100644 --- a/src/actions/actiondrawlineangle.h +++ b/src/actions/actiondrawlineangle.h @@ -1,7 +1,7 @@ #ifndef __ACTIONDRAWLINEANGLE_H__ #define __ACTIONDRAWLINEANGLE_H__ -#include "rs_line.h" +#include "line.h" #include "actioninterface.h" #include "vector.h" @@ -24,7 +24,7 @@ class ActionDrawLineAngle: public ActionInterface SetLength /**< Setting length in the command line. */ }; - ActionDrawLineAngle(RS_EntityContainer & container, GraphicView & graphicView, + ActionDrawLineAngle(EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false); ~ActionDrawLineAngle(); @@ -36,7 +36,7 @@ class ActionDrawLineAngle: public ActionInterface virtual void mouseReleaseEvent(QMouseEvent * e); void preparePreview(); 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(); @@ -53,7 +53,7 @@ class ActionDrawLineAngle: public ActionInterface protected: /** Line data defined so far. */ - RS_LineData data; + LineData data; /** Position. */ Vector pos; /** Line angle. */