Salome HOME
Issue #2131 See preview button does not work
[modules/shaper.git] / src / PartSet / PartSet_WidgetFileSelector.h
index 9c503090976d6df0a4d6461e6d169cf2658f2b3e..adda54eacb4d899d99bec952225389785c7e9dc8 100644 (file)
@@ -29,20 +29,18 @@ public:
   /// \param theParent the parent object
   /// \param theWorkshop instance of workshop interface
   /// \param theData the widget configuration. The attribute of the model widget is obtained from
-  /// \param theParentId is Id of a parent of the current attribute
   PartSet_WidgetFileSelector(QWidget* theParent,
                              ModuleBase_IWorkshop* theWorkshop,
-                             const Config_WidgetAPI* theData,
-                             const std::string& theParentId);
+                             const Config_WidgetAPI* theData);
 
   virtual ~PartSet_WidgetFileSelector() {}
 
-  /// Reimplemented from ModuleBase_WidgetFileSelector::restoreValue()
-  virtual bool restoreValue();
-
 protected:
   /// Reimplemented from ModuleBase_WidgetFileSelector::storeValueCustom()
-  virtual bool storeValueCustom() const;
+  virtual bool storeValueCustom();
+
+  /// Reimplemented from ModuleBase_WidgetFileSelector::restoreValue()
+  virtual bool restoreValueCustom();
 
   /// Returns a full format string for the short format
   QString shortFormatToFullFormat( const QString & theShortFormat ) const;