Salome HOME
Issue #2063 crash during trim: it was corrected with #2065 issue, TestTrimLine02...
[modules/shaper.git] / src / ModuleBase / ModuleBase_Operation.h
index 0fffbc0fdae9bea6f8bfd4fbf3e9678e2b79f2f1..fb47d268b9b122286682f8149b9c2081f24e6cb4 100644 (file)
@@ -64,7 +64,7 @@ Q_OBJECT
   void setGrantedOperationIds(const QStringList& theList);
 
   /// Must return true if this operation can be launched as nested for any current operation
-  /// and it is not necessary to check this operation on validity. By default 
+  /// and it is not necessary to check this operation on validity. By default
   /// the operation is not granted.
   /// The method has to be redefined for granted operations.
   virtual bool isGranted(QString theId) const;
@@ -148,6 +148,10 @@ signals:
   /// Changes the modified flag of the operation
   void onValuesChanged();
 
+  /// Changes the modified flag of the operation if the current state of the widget is modified
+  /// \param thePreviousState the previous vlaue state of the widget
+  void onValueStateChanged(int thePreviousState);
+
  protected:
   /// Virtual method called when operation started (see start() method for more description)
   /// Default impl calls corresponding slot and commits immediately.