X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlinebisector.h;h=e1fc776b0b6b24dc9a2be0918ed4e1b0b2d339be;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=992ae0300aed910f903e85c46f01cb646751bb72;hpb=3239ef39dcee08fa6e8cd68cdf2727fc68cc7a8c;p=architektonas diff --git a/src/actions/actiondrawlinebisector.h b/src/actions/actiondrawlinebisector.h index 992ae03..e1fc776 100644 --- a/src/actions/actiondrawlinebisector.h +++ b/src/actions/actiondrawlinebisector.h @@ -5,7 +5,7 @@ #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. */