X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModuleBase%2FModuleBase_WidgetFileSelector.h;h=2f6612413951aabad827ffcb0c8e4be4c285c170;hb=857f94a96eb62e69746221f2b919335140b117c6;hp=ba6a4e019f8506ab16a7ad734e30ffb142ae478f;hpb=3b6472899555f2186d09f45f4f1fde38b3af969a;p=modules%2Fshaper.git diff --git a/src/ModuleBase/ModuleBase_WidgetFileSelector.h b/src/ModuleBase/ModuleBase_WidgetFileSelector.h index ba6a4e019..2f6612413 100644 --- a/src/ModuleBase/ModuleBase_WidgetFileSelector.h +++ b/src/ModuleBase/ModuleBase_WidgetFileSelector.h @@ -44,10 +44,8 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFileSelector : public ModuleBase_ModelW /// Constructor /// \param theParent the parent object /// \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 ModuleBase_WidgetFileSelector(QWidget* theParent, - const Config_WidgetAPI* theData, - const std::string& theParentId); + const Config_WidgetAPI* theData); virtual ~ModuleBase_WidgetFileSelector(); virtual QList getControls() const; @@ -66,7 +64,7 @@ class MODULEBASE_EXPORT ModuleBase_WidgetFileSelector : public ModuleBase_ModelW protected: /// Saves the internal parameters to the given feature /// \return True in success - virtual bool storeValueCustom() const; + virtual bool storeValueCustom(); virtual bool restoreValueCustom(); @@ -103,7 +101,10 @@ protected: QString mySelectedFilter; /// A title of open file dialog box - enum { WFS_OPEN, WFS_SAVE } myType; + enum { + WFS_OPEN, ///< open file + WFS_SAVE ///< save file + } myType; ///< type of dialog /// Default path QString myDefaultPath;