#include "actioninterface.h"
#include "vector.h"
-class RS_Entity;
+class Entity;
/**
* This action class can handle user events to draw lines with a given angle
};
public:
- ActionDrawLineRelAngle(RS_EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
+ ActionDrawLineRelAngle(EntityContainer & container, GraphicView & graphicView, double angle = 0.0, bool fixedAngle = false);
~ActionDrawLineRelAngle();
virtual RS2::ActionType rtti();
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 hideOptions();
virtual void showOptions();
private:
/** Chosen entity */
- RS_Entity * entity;
+ Entity * entity;
/** Chosen position */
Vector pos;
/** Data of new line */
- RS_LineData data;
+ LineData data;
/**
* Line angle.
*/