-// 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()
{
}
* 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);
}