Salome HOME
refs #567: add "POLYLINES" partition and modified icon for Land Cover object.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_StricklerTableOp.h
index a3b40e2fdbedba0aca77d293746b92cdb0fe7c28..3e2fc546c37d7b53f2571c21ffcd0eeda92042b5 100644 (file)
@@ -28,25 +28,30 @@ class HYDROGUI_StricklerTableOp : public HYDROGUI_Operation
     Q_OBJECT
 
 public:
-       HYDROGUI_StricklerTableOp( HYDROGUI_Module* theModule, bool isEdit );
-       virtual ~HYDROGUI_StricklerTableOp();
+    HYDROGUI_StricklerTableOp( HYDROGUI_Module*, int );
+    virtual ~HYDROGUI_StricklerTableOp();
 
 protected:
-  virtual void                 startOperation();
-  virtual void                 abortOperation();
-  virtual void                 commitOperation();
+    virtual void                     startOperation();
+    virtual void                     abortOperation();
+    virtual void                     commitOperation();
 
-  virtual HYDROGUI_InputPanel* createInputPanel() const;
+    virtual HYDROGUI_InputPanel*     createInputPanel() const;
 
-  virtual bool                 processApply( int& theUpdateFlags, QString& theErrorMsg,
-                                             QStringList& theBrowseObjectsEntries );
+    virtual bool                     processApply( int& theUpdateFlags, QString& theErrorMsg,
+                                                   QStringList& theBrowseObjectsEntries );
 
-protected slots:
-  void                         onFileSelected();
+protected Q_SLOTS:
+    void                             onFileSelected();
 
 private:
-  bool                             myIsEdit;
-  Handle(HYDROData_StricklerTable) myEditedObject;
+    bool                             isEdit() const;
+    bool                             isImport() const;
+    bool                             isExport() const;
+
+private:
+    int                              myType;
+    Handle(HYDROData_StricklerTable) myObject;
 };
 
 #endif