From a3abcd23180c6aa74c96ec3067d065028dba3fee Mon Sep 17 00:00:00 2001 From: ouv Date: Tue, 6 Aug 2013 11:53:19 +0000 Subject: [PATCH] Minor changes. --- src/HYDROGUI/HYDROGUI_DataModel.h | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) 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: /** -- 2.39.2