summaryrefslogtreecommitdiff
path: root/muse2/muse/song.h
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2013-09-01 11:55:38 +0200
committerFlorian Jung <flo@windfisch.org>2013-09-01 13:29:11 +0200
commit2f26bcd6a94124721d8c946f55d3f360147f1f58 (patch)
tree5b218108bbe1c8676e433fb3a27f2f5ee97e7bd0 /muse2/muse/song.h
parentc5e6fd0f6dfbf18847b601668ba8c657d776da31 (diff)
applyOperationGroup is no more a hack :)
Diffstat (limited to 'muse2/muse/song.h')
-rw-r--r--muse2/muse/song.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/muse2/muse/song.h b/muse2/muse/song.h
index bc1aa9a1..c62f1c08 100644
--- a/muse2/muse/song.h
+++ b/muse2/muse/song.h
@@ -356,7 +356,7 @@ class Song : public QObject {
void updateSoloStates();
//-----------------------------------------
- // undo, redo
+ // undo, redo, operation groups
//-----------------------------------------
void startUndo();
@@ -364,12 +364,12 @@ class Song : public QObject {
void undoOp(UndoOp::UndoType type, const char* changedFile, const char* changeData, int startframe, int endframe);
- bool doUndo1();
- void doUndo2();
- void doUndo3();
- bool doRedo1();
- void doRedo2();
- void doRedo3();
+ void executeOperationGroup1(Undo& operations);
+ void executeOperationGroup2(Undo& operations);
+ void executeOperationGroup3(Undo& operations);
+ void revertOperationGroup1(Undo& operations);
+ void revertOperationGroup2(Undo& operations);
+ void revertOperationGroup3(Undo& operations);
void addUndo(UndoOp i);
void setUndoRedoText();