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;
/// 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.