Salome HOME
Fix for issue #1174
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetLabel.h
index 17add93100032497e6b12d1b59a5ac6c395011a8..9fb8ddd76f2caad71ddfa3e8308ebf3d3eccb630 100644 (file)
@@ -33,7 +33,7 @@ Q_OBJECT
   /// It returns false because this is an info widget
   virtual bool canSetValue() const { return false; };
 
-  virtual bool restoreValue()
+  virtual bool restoreValueCustom()
   {
     return true;
   }
@@ -46,12 +46,11 @@ Q_OBJECT
 protected:
   /// Saves the internal parameters to the given feature
   /// \return True in success
-  virtual bool storeValue() const
+  virtual bool storeValueCustom() const
   {
     return true;
   }
 
-private:
   /// A label control
   QLabel* myLabel;
 };