X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondimlinear.h;h=755b0e6b8f261af6c842a85daac2093652311879;hb=e1d1cacbb43055988d0d9db632fdf05c0bea9543;hp=60113664c4defd1f917b714933ef95c98263fbb7;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actiondimlinear.h b/src/actions/actiondimlinear.h index 6011366..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,8 @@ class ActionDimLinear: public ActionDimension }; public: - ActionDimLinear(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false); + ActionDimLinear(EntityContainer & container, GraphicView & graphicView, + double angle = 0.0, bool fixedAngle = false); ~ActionDimLinear(); virtual RS2::ActionType rtti(); @@ -44,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(); @@ -57,12 +58,11 @@ class ActionDimLinear: public ActionDimension /** * Aligned dimension data. */ - RS_DimLinearData edata; + DimLinearData edata; /** * Is the angle fixed? */ bool fixedAngle; - /** Last status before entering text or angle. */ Status lastStatus; };