Salome HOME
debug of DTM object
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_StricklerTableOp.h
index a6ed378205e1560d09e7d183b6a2651dc5502480..3e2fc546c37d7b53f2571c21ffcd0eeda92042b5 100644 (file)
@@ -28,22 +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 Q_SLOTS:
+    void                             onFileSelected();
+
+private:
+    bool                             isEdit() const;
+    bool                             isImport() const;
+    bool                             isExport() const;
 
 private:
-  bool                             myIsEdit;
-  Handle(HYDROData_StricklerTable) myEditedObject;
+    int                              myType;
+    Handle(HYDROData_StricklerTable) myObject;
 };
 
 #endif