]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawlinerectangle.h
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actiondrawlinerectangle.h
index 829ea2e579b648a206f67e62ae9329ca1f6295ed..ad687cc3711839f885ba13e41b3dbf92efc2bdae 100644 (file)
@@ -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,24 +34,18 @@ 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();
                virtual void updateToolBar();
 
        protected:
-               /**
-                * Line data for the 4 lines.
-                */
-               RS_LineData data[4];
-               /**
-                * 1st corner.
-                */
+               /** Line data for the 4 lines. */
+               LineData data[4];
+               /** 1st corner. */
                Vector corner1;
-               /**
-                * 2nd corner.
-                */
+               /** 2nd corner. */
                Vector corner2;
 };