Salome HOME
Merge branch 'master' of newgeom:newgeom
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetValueFeature.h
index 2de332108f08e3186498abd6d2cab38e70a46d50..a40cbd06df2e58c8c47f6a87ced01969c6eedc3b 100644 (file)
@@ -20,7 +20,7 @@ class GeomAPI_Pnt2d;
  */
 class MODULEBASE_EXPORT ModuleBase_WidgetValueFeature : public ModuleBase_WidgetValue
 {
-public:
+ public:
   /// Constructor
   ModuleBase_WidgetValueFeature();
   /// Destructor
@@ -28,11 +28,11 @@ public:
 
   /// Fill the widget values by given point
   /// \param thePoint the point
-  void setResult(const ResultPtr& theFeature);
+  void setObject(const ObjectPtr& theFeature);
 
   /// Returns the widget values by given point
   /// \return theFeature the current feature
-  const ResultPtr& result() const;
+  const ObjectPtr& object() const;
 
   /// Fill the widget values by given point
   /// \param thePoint the point
@@ -42,8 +42,8 @@ public:
   /// \return the current point
   const boost::shared_ptr<GeomAPI_Pnt2d>& point() const;
 
-private:
-  ResultPtr myResult;
+ private:
+  ObjectPtr myResult;
   boost::shared_ptr<GeomAPI_Pnt2d> myPoint;
 };