summaryrefslogtreecommitdiffstats
path: root/qt-ui/undocommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/undocommands.h')
-rw-r--r--qt-ui/undocommands.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/qt-ui/undocommands.h b/qt-ui/undocommands.h
index 9a7803f9e..addef8138 100644
--- a/qt-ui/undocommands.h
+++ b/qt-ui/undocommands.h
@@ -14,4 +14,15 @@ private:
QList<struct dive*> dives;
};
+class UndoShiftTime : public QUndoCommand {
+public:
+ UndoShiftTime(QList<int> diveList, int amount);
+ virtual void undo();
+ virtual void redo();
+
+private:
+ QList<int> dives;
+ int timeChanged;
+};
+
#endif // UNDOCOMMANDS_H