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