summaryrefslogtreecommitdiffstats
path: root/qt-models/diveplannermodel.h
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2016-07-19 18:47:32 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-07-23 10:54:51 +0900
commitb78e6525eb589c6bd654f1a9f01674fea94a9985 (patch)
treece8dae1590e077afe84b457ed3021840256b48bc /qt-models/diveplannermodel.h
parent8b35defa48514e2695d1fc8a26aee0a30d2dd1b9 (diff)
downloadsubsurface-b78e6525eb589c6bd654f1a9f01674fea94a9985.tar.gz
Remove unnecessary DivePlannerPointsModel functions and variables
Commit b1ed04a means that DivePlannerPointsModel::rememberTanks() and related functions and variables are no longer required Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-models/diveplannermodel.h')
-rw-r--r--qt-models/diveplannermodel.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/qt-models/diveplannermodel.h b/qt-models/diveplannermodel.h
index 2525e7695..8e76d9bba 100644
--- a/qt-models/diveplannermodel.h
+++ b/qt-models/diveplannermodel.h
@@ -40,8 +40,6 @@ public:
Mode currentMode() const;
bool setRecalc(bool recalc);
bool recalcQ();
- void tanksUpdated();
- void rememberTanks();
bool tankInUse(int cylinderid);
void setupCylinders();
bool updateMaxDepth();
@@ -53,7 +51,6 @@ public:
int size();
struct diveplan &getDiveplan();
QStringList &getGasList();
- QVector<QPair<int, int> > collectGases(dive *d);
int lastEnteredPoint();
void removeDeco();
static bool addingDeco;
@@ -105,14 +102,12 @@ signals:
private:
explicit DivePlannerPointsModel(QObject *parent = 0);
- bool addGas(struct gasmix mix);
void createPlan(bool replanCopy);
struct diveplan diveplan;
Mode mode;
bool recalc;
QVector<divedatapoint> divepoints;
QVector<sample> backupSamples; // For editing added dives.
- QVector<QPair<int, int> > oldGases;
QDateTime startTime;
int tempGFHigh;
int tempGFLow;