]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PartSet/PartSet_Module.cpp
Salome HOME
Auto-formatting according to the defined code standard.
[modules/shaper.git] / src / PartSet / PartSet_Module.cpp
index 6b02152ce4c8165150cc921eed4e97dac89784d8..908587d524a0d1f91005591bf53c07760bab7158 100644 (file)
@@ -16,13 +16,11 @@ extern "C" PARTSET_EXPORT XGUI_Module* createModule(XGUI_Workshop* theWshop)
   return new PartSet_Module(theWshop);
 }
 
-
 PartSet_Module::PartSet_Module(XGUI_Workshop* theWshop)
 {
-    myWorkshop = theWshop;
+  myWorkshop = theWshop;
 }
 
-
 PartSet_Module::~PartSet_Module()
 {
 }
@@ -38,7 +36,7 @@ void PartSet_Module::createFeatures()
 void PartSet_Module::featureCreated(XGUI_Command* theFeature)
 {
   QString aFtId = theFeature->getId();
-  if(aFtId == "new_point") {
+  if (aFtId == "new_point") {
     theFeature->connectTo(this, SLOT(onCommandTriggered()));
   }
 }
@@ -50,7 +48,6 @@ void PartSet_Module::onCommandTriggered()
   std::string aPluginName = aModuleReader.pluginsList().front();
   Config_FeatureReader* aReader = new Config_FeatureReader(aPluginName);
   XGUI_Command* aCmd = dynamic_cast<XGUI_Command*>(sender());
-  std::string aXMLWidgetCfg =
-    aReader->featureWidgetCfg(aCmd->getId().toStdString());
+  std::string aXMLWidgetCfg = aReader->featureWidgetCfg(aCmd->getId().toStdString());
   delete aReader;
 }