X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlinebisector.h;h=e1fc776b0b6b24dc9a2be0918ed4e1b0b2d339be;hb=f62cebc26c7c3af447f0e4e4c43331f8589dce22;hp=b0b9b0496ee4d961b689a89b36cf7bb03405fe49;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actiondrawlinebisector.h b/src/actions/actiondrawlinebisector.h index b0b9b04..e1fc776 100644 --- a/src/actions/actiondrawlinebisector.h +++ b/src/actions/actiondrawlinebisector.h @@ -1,11 +1,11 @@ #ifndef __ACTIONDRAWLINEBISECTOR_H__ #define __ACTIONDRAWLINEBISECTOR_H__ -#include "rs_line.h" +#include "line.h" #include "actioninterface.h" #include "vector.h" -class RS_Line; +class Line; /** * This action class can handle user events to draw bisectors. @@ -24,14 +24,14 @@ class ActionDrawLineBisector: public ActionInterface }; public: - ActionDrawLineBisector(RS_EntityContainer & container, GraphicView & graphicView); + ActionDrawLineBisector(EntityContainer & container, GraphicView & graphicView); ~ActionDrawLineBisector(); virtual RS2::ActionType rtti(); virtual void trigger(); virtual void mouseMoveEvent(QMouseEvent * e); virtual void mouseReleaseEvent(QMouseEvent * e); - virtual void commandEvent(RS_CommandEvent * e); + virtual void commandEvent(CommandEvent * e); virtual QStringList getAvailableCommands(); virtual void hideOptions(); virtual void showOptions(); @@ -45,13 +45,13 @@ class ActionDrawLineBisector: public ActionInterface private: /** Closest bisector. */ - RS_Line * bisector; + Line * bisector; /** First chosen entity */ - RS_Line * line1; + Line * line1; /** Second chosen entity */ - RS_Line * line2; + Line * line2; /** Data of new bisector */ - RS_LineData data; + LineData data; /** Length of the bisector. */ double length; /** Number of bisectors to create. */