]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModuleBase/ModuleBase_Operation.h
Salome HOME
Issue #591 - Highlight of the first argument of constraints
[modules/shaper.git] / src / ModuleBase / ModuleBase_Operation.h
index c20391185f3ca203baf9b33025696a415dcabcef..9d304e715b2fedd09c42c2d6edeb7eeb63063289 100644 (file)
@@ -76,6 +76,9 @@ Q_OBJECT
   /// Returns True if data of its feature was modified during operation
   virtual bool isModified() const { return myIsModified; }
 
+  /// Change the modified state of the operation
+  void setIsModified(const bool theIsModified) { myIsModified = theIsModified;  }
+
   /// Returns True id the current operation is launched in editing mode
   bool isEditOperation() const { return myIsEditing; }
 
@@ -191,6 +194,9 @@ signals:
   /// \param theState th flag to abort, if it is true, do nothing, overwise abort
   void setRunning(bool theState);
 
+  /// Changes the modified flag of the operation
+  void onValuesChanged();
+
  protected:
   /// Virtual method called when operation started (see start() method for more description)
   /// Default impl calls corresponding slot and commits immediately.