summaryrefslogtreecommitdiffstats
path: root/qt-ui/undocommands.h
diff options
context:
space:
mode:
authorGravatar Grace Karanja <gracie.karanja89@gmail.com>2015-03-17 07:48:45 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-03-17 09:53:47 -0700
commit8fe738bf6447a16184df95956afd5123e6c0770d (patch)
treed23c6535898c7f1e18695bc610a3f200d2dba5ad /qt-ui/undocommands.h
parentd2b8fb31eb43b63731e2844fbc7a4339904fe068 (diff)
downloadsubsurface-8fe738bf6447a16184df95956afd5123e6c0770d.tar.gz
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>
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;
};