X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factiondrawlinerectangle.h;h=ad687cc3711839f885ba13e41b3dbf92efc2bdae;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=7e7fa92fc2e19ebe6449ac44ded50a6430549ec5;hpb=1f0d096a7fc370ff02477f3860beae2669bf8903;p=architektonas diff --git a/src/actions/actiondrawlinerectangle.h b/src/actions/actiondrawlinerectangle.h index 7e7fa92..ad687cc 100644 --- a/src/actions/actiondrawlinerectangle.h +++ b/src/actions/actiondrawlinerectangle.h @@ -1,7 +1,7 @@ #ifndef __ACTIONDRAWLINERECTANGLE_H__ #define __ACTIONDRAWLINERECTANGLE_H__ -#include "rs_line.h" +#include "line.h" #include "actioninterface.h" #include "vector.h" @@ -24,7 +24,7 @@ class ActionDrawLineRectangle: public ActionInterface }; public: - ActionDrawLineRectangle(RS_EntityContainer & container, GraphicView & graphicView); + ActionDrawLineRectangle(EntityContainer & container, GraphicView & graphicView); ~ActionDrawLineRectangle(); void reset(); @@ -34,7 +34,7 @@ class ActionDrawLineRectangle: 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 updateMouseButtonHints(); virtual void updateMouseCursor(); @@ -42,7 +42,7 @@ class ActionDrawLineRectangle: public ActionInterface protected: /** Line data for the 4 lines. */ - RS_LineData data[4]; + LineData data[4]; /** 1st corner. */ Vector corner1; /** 2nd corner. */