Consistent variable names in UndoCommands class

Implements a uniform variable naming scheme in the undocommands
class.

Signed-off-by: Grace Karanja <gracie.karanja89@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Grace Karanja 2015-03-17 07:48:45 +03:00 committed by Dirk Hohndel
parent d2b8fb31eb
commit 8fe738bf64
2 changed files with 21 additions and 22 deletions

View file

@ -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;
};