Salome HOME
Issie #204: Size of Fixed constraint depends on object size
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetValueFeature.cpp
index 51b39e181a98424f1023333158ab51980c40083a..e6a4f818c71b465c2842b37a7f5ced7566376e98 100644 (file)
@@ -14,14 +14,14 @@ ModuleBase_WidgetValueFeature::~ModuleBase_WidgetValueFeature()
 {
 }
 
-void ModuleBase_WidgetValueFeature::setFeature(const FeaturePtr& theFeature)
+void ModuleBase_WidgetValueFeature::setObject(const ObjectPtr& theFeature)
 {
-  myFeature = theFeature;
+  myResult = theFeature;
 }
 
-const FeaturePtr& ModuleBase_WidgetValueFeature::feature() const
+const ObjectPtr& ModuleBase_WidgetValueFeature::object() const
 {
-  return myFeature;
+  return myResult;
 }
 
 void ModuleBase_WidgetValueFeature::setPoint(const boost::shared_ptr<GeomAPI_Pnt2d>& thePoint)