X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Factions%2Frs_actionblocksexplode.cpp;h=a86808349a47b1dd6c8a876f2c3c7c1baf1b5320;hb=be33e866f2121c48db93e06d743c5ae3826c1948;hp=969e0973a43fae2522a83d814bf5efcaab95b784;hpb=16ce54abf01ca3032e42a5bb11a4afcf9014dcca;p=architektonas diff --git a/src/actions/rs_actionblocksexplode.cpp b/src/actions/rs_actionblocksexplode.cpp index 969e097..a868083 100644 --- a/src/actions/rs_actionblocksexplode.cpp +++ b/src/actions/rs_actionblocksexplode.cpp @@ -10,7 +10,7 @@ ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** -** Licensees holding valid qcadlib Professional Edition licenses may use +** Licensees holding valid qcadlib Professional Edition licenses may use ** this file in accordance with the qcadlib Commercial License ** Agreement provided with the Software. ** @@ -31,42 +31,39 @@ /** * Constructor. */ -RS_ActionBlocksExplode::RS_ActionBlocksExplode(RS_EntityContainer& container, - RS_GraphicView& graphicView) - :RS_PreviewActionInterface("Blocks Explode", - container, graphicView) { +RS_ActionBlocksExplode::RS_ActionBlocksExplode(RS_EntityContainer & container, GraphicView & graphicView): + RS_PreviewActionInterface("Blocks Explode", + container, graphicView) +{ } +RS_ActionBlocksExplode::~RS_ActionBlocksExplode() +{ +} - -RS_ActionBlocksExplode::~RS_ActionBlocksExplode() {} - - -QAction* RS_ActionBlocksExplode::createGUIAction(RS2::ActionType /*type*/, QObject* /*parent*/) +QAction * RS_ActionBlocksExplode::createGUIAction(RS2::ActionType /*type*/, QObject * /*parent*/) { - QAction * action = new QAction(tr("&Explode"), 0); + QAction * action = new QAction(tr("&Explode"), 0); // QAction* action = new QAction(tr("Explode"), // tr("&Explode"), // QKeySequence(), NULL); - action->setStatusTip(tr("Explode Blocks and other Entity Groups")); + action->setStatusTip(tr("Explode Blocks and other Entity Groups")); - return action; + return action; } +void RS_ActionBlocksExplode::init(int status) +{ + RS_PreviewActionInterface::init(status); -void RS_ActionBlocksExplode::init(int status) { - RS_PreviewActionInterface::init(status); - - trigger(); - finish(); + trigger(); + finish(); } - - -void RS_ActionBlocksExplode::trigger() { - RS_Modification m(*container, graphicView); - m.explode(); +void RS_ActionBlocksExplode::trigger() +{ + RS_Modification m(*container, graphicView); + m.explode(); } - // EOF