X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Factionselect.cpp;h=e09cf28c2f92a40e0d8bacc7e3950c2ffae668a9;hb=5adb444f3e523d3fd028617ced72d1ea6661db21;hp=ab19e14a0d8afac296242135c95c24fc75bc6962;hpb=d774c2655ba2c3657a565f325411144452392277;p=architektonas diff --git a/src/actions/actionselect.cpp b/src/actions/actionselect.cpp index ab19e14..e09cf28 100644 --- a/src/actions/actionselect.cpp +++ b/src/actions/actionselect.cpp @@ -3,7 +3,9 @@ // Part of the Architektonas Project // Originally part of QCad Community Edition by Andrew Mustun // Extensively rewritten and refactored by James L. Hammons -// (C) 2010 Underground Software +// Portions copyright (C) 2001-2003 RibbonSoft +// Copyright (C) 2010 Underground Software +// See the README and GPLv2 files for licensing and warranty information // // JLH = James L. Hammons // @@ -15,10 +17,10 @@ #include "actionselect.h" #include "actionselectsingle.h" -#include "rs_dialogfactory.h" +#include "dialogfactory.h" #include "graphicview.h" -ActionSelect::ActionSelect(RS_EntityContainer & container, GraphicView & graphicView, +ActionSelect::ActionSelect(EntityContainer & container, GraphicView & graphicView, RS2::ActionType nextAction): ActionInterface("Select Entities", container, graphicView) { @@ -43,11 +45,11 @@ void ActionSelect::mouseReleaseEvent(QMouseEvent * e) void ActionSelect::updateToolBar() { - if (RS_DIALOGFACTORY) + if (DIALOGFACTORY) { if (!isFinished()) - RS_DIALOGFACTORY->requestToolBarSelect(this, nextAction); + DIALOGFACTORY->requestToolBarSelect(this, nextAction); else - RS_DIALOGFACTORY->requestToolBar(RS2::ToolBarMain); + DIALOGFACTORY->requestToolBar(RS2::ToolBarMain); } }