]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actiondrawline.h
Bugfixes related to removing Snapper class.
[architektonas] / src / actions / actiondrawline.h
index fde8b4f448cf1a0854ef36d3acf2b29235bc2acd..ce3582a5d167beabcddfafd864df9919e8c2f4f9 100644 (file)
@@ -3,7 +3,7 @@
 
 #include <QtCore>
 #include "actioninterface.h"
-#include "rs_line.h"
+#include "line.h"
 
 /**
  * This action class can handle user events to draw
@@ -25,7 +25,7 @@ class ActionDrawLine: public ActionInterface
                };
 
        public:
-               ActionDrawLine(RS_EntityContainer & container, GraphicView & graphicView);
+               ActionDrawLine(EntityContainer & container, GraphicView & graphicView);
                virtual ~ActionDrawLine();
 
                virtual RS2::ActionType rtti();
@@ -35,7 +35,7 @@ class ActionDrawLine: public ActionInterface
                virtual void mouseMoveEvent(QMouseEvent * e);
                virtual void mouseReleaseEvent(QMouseEvent * e);
                virtual void coordinateEvent(Vector * e);
-               virtual void commandEvent(RS_CommandEvent * e);
+               virtual void commandEvent(CommandEvent * e);
                virtual QStringList getAvailableCommands();
                virtual void showOptions();
                virtual void hideOptions();
@@ -52,7 +52,7 @@ class ActionDrawLine: public ActionInterface
                /**
                 * Line data defined so far.
                 */
-               RS_LineData data;
+               LineData data;
                /**
                 * Start point of the series of lines. Used for close function.
                 */