]> Shamusworld >> Repos - architektonas/blobdiff - src/base/rs_eventhandler.cpp
Refactoring: Moved RS_GraphicView to GraphicView.
[architektonas] / src / base / rs_eventhandler.cpp
index 260998a133aeefc59de93e64d784a2fb5c472f17..20e748461fc9e5a390f05125c7754145011c0bc7 100644 (file)
 #include "rs_commandevent.h"
 #include "rs_debug.h"
 #include "rs_dialogfactory.h"
-#include "rs_graphicview.h"
+#include "graphicview.h"
 #include "rs_math.h"
 
 /**
  * Constructor.
  */
-RS_EventHandler::RS_EventHandler(RS_GraphicView * graphicView)
+RS_EventHandler::RS_EventHandler(GraphicView * graphicView)
 {
        this->graphicView = graphicView;
        actionIndex = -1;
@@ -91,7 +91,7 @@ void RS_EventHandler::enter()
 }
 
 /**
- * Called by RS_GraphicView
+ * Called by GraphicView
  */
 void RS_EventHandler::mousePressEvent(QMouseEvent * e)
 {
@@ -116,7 +116,7 @@ void RS_EventHandler::mousePressEvent(QMouseEvent * e)
 }
 
 /**
- * Called by RS_GraphicView
+ * Called by GraphicView
  */
 void RS_EventHandler::mouseReleaseEvent(QMouseEvent * e)
 {
@@ -140,7 +140,7 @@ void RS_EventHandler::mouseReleaseEvent(QMouseEvent * e)
 }
 
 /**
- * Called by RS_GraphicView
+ * Called by GraphicView
  */
 void RS_EventHandler::mouseMoveEvent(QMouseEvent * e)
 {
@@ -164,7 +164,7 @@ void RS_EventHandler::mouseMoveEvent(QMouseEvent * e)
 }
 
 /**
- * Called by RS_GraphicView
+ * Called by GraphicView
  */
 void RS_EventHandler::mouseLeaveEvent()
 {
@@ -182,7 +182,7 @@ void RS_EventHandler::mouseLeaveEvent()
 }
 
 /**
- * Called by RS_GraphicView
+ * Called by GraphicView
  */
 void RS_EventHandler::mouseEnterEvent()
 {
@@ -199,7 +199,7 @@ void RS_EventHandler::mouseEnterEvent()
 }
 
 /**
- * Called by RS_GraphicView
+ * Called by GraphicView
  */
 void RS_EventHandler::keyPressEvent(QKeyEvent * e)
 {
@@ -220,7 +220,7 @@ void RS_EventHandler::keyPressEvent(QKeyEvent * e)
 }
 
 /**
- * Called by RS_GraphicView
+ * Called by GraphicView
  */
 void RS_EventHandler::keyReleaseEvent(QKeyEvent * e)
 {
@@ -527,7 +527,7 @@ void RS_EventHandler::setCurrentAction(RS_ActionInterface * action)
 
        RS_DEBUG->print("RS_EventHandler::setCurrentAction: debugging actions");
        debugActions();
-       RS_DEBUG->print("RS_GraphicView::setCurrentAction: OK");
+       RS_DEBUG->print("GraphicView::setCurrentAction: OK");
 }
 
 /**