X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fbase%2Frs_eventhandler.cpp;h=20e748461fc9e5a390f05125c7754145011c0bc7;hb=27d4a138d23453e93a833e9347444b828a971cb4;hp=2961ff733d4e2e8b4e902e62462d67c8cc1ab732;hpb=ee048ce722e7beb53e702825bb3285cd5cacd8bb;p=architektonas diff --git a/src/base/rs_eventhandler.cpp b/src/base/rs_eventhandler.cpp index 2961ff7..20e7484 100644 --- a/src/base/rs_eventhandler.cpp +++ b/src/base/rs_eventhandler.cpp @@ -19,13 +19,13 @@ #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) { @@ -326,7 +326,6 @@ void RS_EventHandler::commandEvent(RS_CommandEvent * e) if (actionIndex >= 0 && currentActions[actionIndex] != NULL && !currentActions[actionIndex]->isFinished()) { -// int commaPos = cmd.find('<'); int commaPos = cmd.indexOf('<'); bool ok1, ok2; double r = RS_Math::eval(cmd.left(commaPos), &ok1); @@ -528,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"); } /**