Salome HOME
Code documentation and formating for initialization plugin
[modules/shaper.git] / src / ModuleBase / ModuleBase_WidgetLineEdit.h
index a5955f84c3ee86f606bccdd267f29c6d6bfd683d..965049db6cc8d0ed5cb69559b4e2e079ca06705e 100644 (file)
@@ -38,24 +38,22 @@ class MODULEBASE_EXPORT ModuleBase_WidgetLineEdit : public ModuleBase_ModelWidge
                                 const std::string& theParentId);
   virtual ~ModuleBase_WidgetLineEdit();
 
-  virtual bool storeValue() const;
-
   virtual bool restoreValue();
 
-  QWidget* getControl() const;
-
   virtual QList<QWidget*> getControls() const;
 
  public slots:
    /// A slot for processing text changed event
   void onTextChanged();
 
- private:
+protected:
+  /// Saves the internal parameters to the given feature
+  /// \return True in success
+  virtual bool storeValueCustom() const;
+
+private:
    /// A line edit control
   QLineEdit* myLineEdit;
-
-  /// A container widget
-  QWidget* myMainWidget;
 };
 
 #endif /* MODULEBASE_WIDGETFILESELECTOR_H_ */