From: ouv Date: Tue, 6 Aug 2013 11:53:19 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v_0_1~131 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a3abcd23180c6aa74c96ec3067d065028dba3fee;p=modules%2Fhydro.git Minor changes. --- diff --git a/src/HYDROGUI/HYDROGUI_DataModel.h b/src/HYDROGUI/HYDROGUI_DataModel.h index 07cca59b..9b08ac8d 100644 --- a/src/HYDROGUI/HYDROGUI_DataModel.h +++ b/src/HYDROGUI/HYDROGUI_DataModel.h @@ -146,20 +146,41 @@ public: * Check if it is possible to perform 'undo' operation */ bool canUndo() const; + + /** + * Check if it is possible to perform 'redo' operation + */ bool canRedo() const; /** * Returns the list of names of available 'undo' actions */ QStringList undoNames() const; + + /** + * Returns the list of names of available 'redo' actions + */ QStringList redoNames() const; + /** + * Clear the list of stored 'undo' actions + */ void clearUndos(); + + /** + * Clear the list of stored 'redo' actions + */ void clearRedos(); + /** + * Perform the 'undo' operation + */ bool undo(); - bool redo(); + /** + * Perform the 'redo' operation + */ + bool redo(); protected: /**