X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondimlinear.h;h=755b0e6b8f261af6c842a85daac2093652311879;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=bc0ae783be36b90cd864d8f10c801848b023c3be;hpb=97d3cdae07ec9788cf80e7905abfdb5d67a7747c;p=architektonas diff --git a/src/actions/actiondimlinear.h b/src/actions/actiondimlinear.h index bc0ae78..755b0e6 100644 --- a/src/actions/actiondimlinear.h +++ b/src/actions/actiondimlinear.h @@ -2,7 +2,7 @@ #define __ACTIONDIMLINEAR_H__ #include "actiondimension.h" -#include "rs_dimlinear.h" +#include "dimlinear.h" /** * This action class can handle user events to draw aligned dimensions. @@ -34,7 +34,7 @@ class ActionDimLinear: public ActionDimension }; public: - ActionDimLinear(RS_EntityContainer & container, GraphicView & graphicView, + ActionDimLinear(EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false); ~ActionDimLinear(); @@ -45,7 +45,7 @@ class ActionDimLinear: public ActionDimension 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(); @@ -58,7 +58,7 @@ class ActionDimLinear: public ActionDimension /** * Aligned dimension data. */ - RS_DimLinearData edata; + DimLinearData edata; /** * Is the angle fixed? */