]> Shamusworld >> Repos - architektonas/blobdiff - src/actions/actionselectbase.cpp
In the middle of major refactoring...
[architektonas] / src / actions / actionselectbase.cpp
similarity index 65%
rename from src/actions/rs_actionselectbase.cpp
rename to src/actions/actionselectbase.cpp
index d1bfb1e53693a060868f07dbbd513097cf6c5177..cefd57ef05c52d1c463c5eb7c5d1957860e85305 100644 (file)
@@ -1,4 +1,4 @@
-// rs_actionselectbase.cpp
+// actionselectbase.cpp
 //
 // Part of the Architektonas Project
 // Originally part of QCad Community Edition by Andrew Mustun
 // JLH  06/04/2010  Added this text. :-)
 //
 
-#include "rs_actionselectbase.h"
+#include "actionselectbase.h"
 
 #include "graphicview.h"
 
-RS_ActionSelectBase::RS_ActionSelectBase(const char * name,
+ActionSelectBase::ActionSelectBase(const char * name,
        RS_EntityContainer & container, GraphicView & graphicView):
-       RS_ActionInterface(name, container, graphicView)
+       ActionInterface(name, container, graphicView)
 {
 }
 
-RS_ActionSelectBase::~RS_ActionSelectBase()
+ActionSelectBase::~ActionSelectBase()
 {
 }
 
@@ -30,13 +30,13 @@ RS_ActionSelectBase::~RS_ActionSelectBase()
  * Default behaviour of this method is triggering the predecesing
  * action and finishing this one when the enter key is pressed.
  */
-void RS_ActionSelectBase::keyReleaseEvent(QKeyEvent * e)
+void ActionSelectBase::keyReleaseEvent(QKeyEvent * e)
 {
-       if (e->key() == Qt::Key_Return && predecessor != NULL)
+       if (e->key() == Qt::Key_Return && predecessor)
                finish();
 }
 
-void RS_ActionSelectBase::updateMouseCursor()
+void ActionSelectBase::updateMouseCursor()
 {
        graphicView->setMouseCursor(RS2::SelectCursor);
 }