]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actioninfoangle.cpp
In the middle of major refactoring...
[architektonas] / src / actions / actioninfoangle.cpp
similarity index 76%
rename from src/actions/rs_actioninfoangle.cpp
rename to src/actions/actioninfoangle.cpp
index 31aa8fbff8560fe4fbc1c71fd59209b31e6d4b5b..d2bf0e6ec27d9d80dac820233815cd77ef60d0e9 100644 (file)
@@ -1,4 +1,4 @@
-// rs_actioninfoangle.cpp
+// actioninfoangle.cpp
 //
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // JLH  06/04/2010  Added this text. :-)
 //
 
-#include "rs_actioninfoangle.h"
+#include "actioninfoangle.h"
 
 #include "rs_dialogfactory.h"
 #include "graphicview.h"
 #include "rs_information.h"
 
-RS_ActionInfoAngle::RS_ActionInfoAngle(RS_EntityContainer & container, GraphicView & graphicView): RS_PreviewActionInterface("Info Angle",
+ActionInfoAngle::ActionInfoAngle(RS_EntityContainer & container, GraphicView & graphicView): ActionInterface("Info Angle",
                container, graphicView)
 {
 }
 
-RS_ActionInfoAngle::~RS_ActionInfoAngle()
+ActionInfoAngle::~ActionInfoAngle()
 {
 }
 
-void RS_ActionInfoAngle::init(int status)
+void ActionInfoAngle::init(int status)
 {
-       RS_ActionInterface::init(status);
+       ActionInterface::init(status);
 }
 
-void RS_ActionInfoAngle::trigger()
+void ActionInfoAngle::trigger()
 {
-       RS_DEBUG->print("RS_ActionInfoAngle::trigger()");
+       RS_DEBUG->print("ActionInfoAngle::trigger()");
        deleteSnapper();
 
        if (entity1 != NULL && entity2 != NULL)
@@ -61,9 +61,9 @@ void RS_ActionInfoAngle::trigger()
        }
 }
 
-void RS_ActionInfoAngle::mouseMoveEvent(QMouseEvent * /*e*/)
+void ActionInfoAngle::mouseMoveEvent(QMouseEvent * /*e*/)
 {
-       RS_DEBUG->print("RS_ActionInfoAngle::mouseMoveEvent begin");
+       RS_DEBUG->print("ActionInfoAngle::mouseMoveEvent begin");
 
        switch (getStatus())
        {
@@ -77,10 +77,10 @@ void RS_ActionInfoAngle::mouseMoveEvent(QMouseEvent * /*e*/)
                break;
        }
 
-       RS_DEBUG->print("RS_ActionInfoAngle::mouseMoveEvent end");
+       RS_DEBUG->print("ActionInfoAngle::mouseMoveEvent end");
 }
 
-void RS_ActionInfoAngle::mouseReleaseEvent(QMouseEvent * e)
+void ActionInfoAngle::mouseReleaseEvent(QMouseEvent * e)
 {
        if (e->button() == Qt::LeftButton)
        {
@@ -123,7 +123,7 @@ void RS_ActionInfoAngle::mouseReleaseEvent(QMouseEvent * e)
        }
 }
 
-void RS_ActionInfoAngle::updateMouseButtonHints()
+void ActionInfoAngle::updateMouseButtonHints()
 {
        switch (getStatus())
        {
@@ -143,12 +143,12 @@ void RS_ActionInfoAngle::updateMouseButtonHints()
        }
 }
 
-void RS_ActionInfoAngle::updateMouseCursor()
+void ActionInfoAngle::updateMouseCursor()
 {
        graphicView->setMouseCursor(RS2::CadCursor);
 }
 
-void RS_ActionInfoAngle::updateToolBar()
+void ActionInfoAngle::updateToolBar()
 {
        switch (getStatus())
        {
@@ -162,4 +162,3 @@ void RS_ActionInfoAngle::updateToolBar()
                break;
        }
 }
-