aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/undocommands.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/undocommands.h')
-rw-r--r--qt-ui/undocommands.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/qt-ui/undocommands.h b/qt-ui/undocommands.h
index 36c789fee..e4f2da8e1 100644
--- a/qt-ui/undocommands.h
+++ b/qt-ui/undocommands.h
@@ -7,22 +7,22 @@
class UndoDeleteDive : public QUndoCommand {
public:
- UndoDeleteDive(QList<struct dive*> diveList);
+ UndoDeleteDive(QList<struct dive*> deletedDives);
virtual void undo();
virtual void redo();
private:
- QList<struct dive*> dives;
+ QList<struct dive*> diveList;
};
class UndoShiftTime : public QUndoCommand {
public:
- UndoShiftTime(QList<int> diveList, int amount);
+ UndoShiftTime(QList<int> changedDives, int amount);
virtual void undo();
virtual void redo();
private:
- QList<int> dives;
+ QList<int> diveList;
int timeChanged;
};