** 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.
**
/**
* 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