#include "graphicview.h"
#include "selection.h"
-ActionSelectLayer::ActionSelectLayer(RS_EntityContainer & container, GraphicView & graphicView):
+ActionSelectLayer::ActionSelectLayer(EntityContainer & container, GraphicView & graphicView):
ActionInterface("Select Layers", container, graphicView)
{
en = NULL;
{
if (en)
{
- RS_Selection s(*container, graphicView);
+ Selection s(*container, graphicView);
s.selectLayer(en);
- if (RS_DIALOGFACTORY)
- RS_DIALOGFACTORY->updateSelectionWidget(container->countSelected());
+ if (DIALOGFACTORY)
+ DIALOGFACTORY->updateSelectionWidget(container->countSelected());
}
else
- RS_DEBUG->print("ActionSelectLayer::trigger: Entity is NULL\n");
+ DEBUG->print("ActionSelectLayer::trigger: Entity is NULL\n");
}
void ActionSelectLayer::mouseReleaseEvent(QMouseEvent * e)