]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawlinerectangle.h
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actiondrawlinerectangle.h
index 7e7fa92fc2e19ebe6449ac44ded50a6430549ec5..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,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. */